What's the state of UBOS's support for connecting to a WPA-secured wireless network?
I'm trying to install UBOS on a boot stick in a spare laptop. The
laptop's Ethernet port is broken so can only connect by wireless. My
home wifi network uses WPA encryption. UBOS
networking.html says "UBOS can be run on many different hardware configurations. ... It may or may not have a
WiFi antenna ... Unlike other network management tools, UBOS network configurations manage all necessary
layers of the networking stack". But on installation, there is no obvious way to make the wireless interface connect to the access point, and no further UBOS instructions that I could find.
Using the Arch Linux instructions
https://wiki.archlinux.org/index.php/Wireless_network_configuration https://wiki.archlinux.org/index.php/WPA_supplicantI have come up with this, so far:
- know or find the name of the wireless interface; call it <interface>
(e.g. by looking at the output of "ip addr")
- know or find the name (SSID) of the wireless network; call it MYSSID
- generate a config file containing the authentication credentials:
wpa_passphrase MYSSID | grep -v "#psk=" > /etc/wpa_supplicant/wpa_supplicant-<interface>.conf
and type in the passphrase
- start the supplicant, for future boots and right now:
systemctl enable wpa_supplicant@<interface>
systemctl start wpa_supplicant@<interface>
Is this something that we should document?
Is there meant to be a better way?