NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 4.0: wpa_supplicant not starting up at boot time (+ proposed fix)

* Ryu Fan <> [2008-04-22 20:17]:
> At boot time, wpa_supplicant does not start. After a period of
> troubleshooting, I determined that this is because 1) wpa_supplicant
> lives in /usr/sbin; 2) the /etc/rc.d/wpa_supplicant script runs before
> both the /etc/rc.d/mountcritremote script (which mounts /usr) and the
> /etc/rc.d/mountall script. This arrangement means that the
> wpa_supplicant binary is not available when the
> /etc/rc.d/wpa_supplicant script runs.

Indeed.  I sent a PR some time ago (bin/36325).

> ---------------------------------------
> critical_filesystems_local="/var /usr"
> critical_filesystems_remote=""
> ---------------------------------------
> I tested, and this fixes the problem.
> Question:
> Is this the appropriate solution?

That's the workaround I use, too.  IMHO wpa_supplicant(8) should be
moved to /sbin.


Home | Main Index | Thread Index | Old Index