2 ms·
$ vim /etc/network/interfaces auto wlan0 iface wlan0 inet dhcp wpa-ssid <myssid> wpa-psk <passphrase hash> You can also have multiple virt
by icebraining 11y ago
$ vim /etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
wpa-ssid <myssid>
wpa-psk <passphrase hash>
You can also have multiple virtual interfaces configured in the same file as above, and then just do "ifup wlan0=virtualif" to switch.
Much ado about nothing.
- joosters 11y agoAbsolutely. It's also more secure this way, since you aren't putting the passphrase in a readable-by-any-user command line argument.
- hhw 11y agoFYI, it's trivial to hide processes from other users on BSD with a sysctl variable.
- icebraining 11y agoI think that's just in FreeBSD, not in others like OpenBSD. Linux has copied that feature a few years ago, called it "hidepid".