3 ms·
Much easier to just: ifconfig wlan0 scan ifconfig wlan0 ssid "thingIfound" wpakey "password" up dhclient wlan0
by dijit 9y ago
Much easier to just:
ifconfig wlan0 scan
ifconfig wlan0 ssid "thingIfound" wpakey "password" up
dhclient wlan0
- floatboth 9y agoThat's easy for joining random hotspots, yeah. But for a more stable setup, wpa_supplicant is excellent. I have a config that prefers my home network (which is EAP-TLS secured, how does ifconfig on OpenBSD handle that?), then mobile hotspot, then a couple other known networks. It automatically decides the best network to use.
- dijit 9y agoThat is indeed cool, I used to rely on my bash history to find my old ifconfigs for common networks I liked. It's lower power though. Due to lack of polling. I guess there are advantages to the wpa_supplicant way of doing things too. But you have the option on openbsd too at least.