WiFi

From MOD Wiki
Revision as of 22:17, 14 August 2020 by FalkTX (talk | contribs)
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.

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.

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"

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"

}