Skip to content

Wireless Networking Driver

There is nothing libretouch-specific about using Wi-Fi here: the device runs wpa_supplicant and systemd-networkd, and behaves like any other Linux system. Two things are worth knowing before you start.

The radio is 2.4 GHz only. The WL1835 is single-band, so 5 GHz networks do not appear in a scan at all.

Set the regulatory domain first. It controls which channels and transmit powers the device may use. Check the current setting, then replace US with the applicable two-letter ISO country code:

iw reg get
iw reg set US

Connecting

Find the interface name with ip link, then associate:

wpa_passphrase MYSSID MYPASSPHRASE >> /etc/wpa_supplicant.conf
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf

Only the wired interface ships a network configuration, so add one for the wireless interface to get an address:

# /etc/systemd/network/25-wireless.network
[Match]
Name=wlan0

[Network]
DHCP=yes
systemctl restart systemd-networkd

Neither step survives a reboot on a USB or RNDIS setup, where the root filesystem is rewritten from the image each time you re-flash it.