On 2014-02-10, Zbigniew <zbigniew2...@gmail.com> wrote:
> Hi! I'm unable to access my WiFi router. The problem is, that every
> attempt to register by using wpa_supplicant is refused:

Various replies already, but here's a simple one for the benefit of the
list archives:

wpa_supplicant has only minimal support for wireless on OpenBSD, just
enough for connecting to WPA Enterprise networks (and it also works for wired
802.1x).

This is different to other OS, where it is used as a multi-purpose program
for connecting to WEP/WPA PSK networks, choosing credentials based on SSID,
scanning for networks, etc..

> One more question: assuming, that with a little help I'll make it
> work, I'll need it to make it run _before_ the system reads
> /etc/hostname.rum0, where there is dhclient invocation; so how can I
> execute /etc/rc.d/wpa_supplicant _earlier_ during system boot-up
> sequence?

If you need this right at boot time, you'll need to run wpa_supplicant
from the hostname.rum0 file (adding a line "!/etc/rc.d/wpa_supplicant start"
may possibly work, but this is not tested). Though dhclient will hang around
in the background if it's unable to obtain an IP address at startup.

Reply via email to