new questions, about wifi :
a1/ usually I connect by :
/sbin/ifconfig iwn0 nwid Essid wpakey keyyyyyy
/sbin/dhclient iwn0
then I launch the ovpn script
unfortunately, when I lid/suspend the laptop, I have to always relaunch the wifi script, to get connected again, so I have to.. login in root. Isnt it possible to do otherwise?
b2/ and another very specific one, on my linuxes ones, there are several profiles whom I guess debian tries everytimes by scanning wifi ssid, then connecting if it fits. would it be possible to do the same with openbsd, to scan each time internet is gone, for new available wifi and automatically connect to the known one, and maybe -you'll not appreciate that one-, to connect to a nearby opened network, as if I go to a public place or in an hotel, automatically connect to the opened network, to avoid do so by connecting in root? a bit like if I do it with a phone/linux, it doesnt asks for a passcode for each new wifi network
thank you vm for those questions, as linux works well with wifi without being root.. a such exception would be possible on openbsd?