Difference between revisions of "WiFi"
Line 14: | Line 14: | ||
The linux-firmware repo https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git is a good starting point. | 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. | + | Then, create '''/data/firmware''' directory, and copy the firmware files inside. |
Something like... | Something like... | ||
Revision as of 22:23, 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.
Contents
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 /data/wpa_supplicant.conf 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"
}
Useful resources:
- https://wiki.archlinux.org/index.php/Wpa_supplicant
- https://wiki.archlinux.org/index.php/Network_configuration/Wireless#iw
Step 3: Enjoy
That's it!
You can now (re)plug your WiFi USB dongle, and changes should apply automatically.