Difference between revisions of "WiFi"
Line 4: | Line 4: | ||
Please note this is an '''advanced''' and '''experimental''' feature, currently requiring knowledge of command-line. | Please note this is an '''advanced''' and '''experimental''' feature, currently requiring knowledge of command-line. | ||
− | = Step 0: Connect MOD unit via USB = | + | === 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. | 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 = | + | === Step 1: Enabling custom firmware === |
Download any custom firmware that might be needed for your USB device. | Download any custom firmware that might be needed for your USB device. | ||
Line 16: | Line 16: | ||
Something like... | Something like... | ||
− | < | + | <source lang="bash"> |
ssh root@192.168.51.1 "mkdir /data/firmware" | ssh root@192.168.51.1 "mkdir /data/firmware" | ||
scp rt2870.bin root@192.168.51.1:/data/firmware/ | scp rt2870.bin root@192.168.51.1:/data/firmware/ | ||
− | </ | + | </source> |
The SSH password is "mod" | The SSH password is "mod" | ||
− | = Step 2: Create WPA config = | + | === Step 2: Create WPA config === |
Create the file with the following contents: (adjust as needed for your network) | Create the file with the following contents: (adjust as needed for your network) | ||
− | < | + | <source lang="bash"> |
ctrl_interface=/run/wpa_supplicant | ctrl_interface=/run/wpa_supplicant | ||
update_config=1 | update_config=1 | ||
Line 35: | Line 35: | ||
psk="password-goes-here" | psk="password-goes-here" | ||
} | } | ||
− | </ | + | </source> |
Revision as of 22:19, 14 August 2020
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"
}