I usually just use a small script that lives in ~/bin cat ~/bin/wifi
#!/bin/sh if [[ $1 == "home" ]]; then doas ifconfig run0 nwid foonet wpa wpakey ultrasecret doas dhclient run0 fi
I usually just use a small script that lives in ~/bin cat ~/bin/wifi
#!/bin/sh if [[ $1 == "home" ]]; then doas ifconfig run0 nwid foonet wpa wpakey ultrasecret doas dhclient run0 fi