WiFi

From MOD Wiki
Revision as of 22:16, 14 August 2020 by FalkTX (talk | contribs) (Created page with "Starting from v1.10, it is possible to connect a MOD unit to a wireless network. We can achieve this by using a WiFi USB dongle, connected on the back of the unit. Please not...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Starting from v1.10, it is possible to connect a MOD unit to a wireless network. We can achieve this by using a WiFi USB dongle, connected on the back of the unit.

Please note this is an advanced and experimental feature, currently requiring knowledge of command-line.

    1. Step 0: Connect MOD unit via USB

We need to setup a few things on the unit, so it must be connected over USB first so we can SSH into it.

    1. Step 1: Enabling custom firmware

Download any custom firmware that might be needed for your USB device. The linux-firmware repo https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git is a good starting point.

Then, create /data/firmware directory, and copy the firmware files inside. Something like...

ssh root@192.168.51.1 "mkdir /data/firmware" scp rt2870.bin root@192.168.51.1:/data/firmware/

The SSH password is "mod"

    1. Step 2: Create WPA config

Create the file with the following contents: (adjust as needed for your network)

ctrl_interface=/run/wpa_supplicant update_config=1

network={

       ssid="MyWiFiSSID"
       psk="password-goes-here"

}