Current-Users archive

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

Re: wpa_supplicant before dhcpcd

On Fri, Aug 15, 2008 at 04:38:31PM +1000, Daniel Carosone wrote:
> A perfectly viable alternative would be to put "nowait" in
> dhcpcd.conf, so it doesn't matter what order things start in.

It does matter. NetBSD will try to connect to the first open network
after UP. Whether or not that is a security issue, is a separate
question. I'd recomment to use dhcpcd_flags=-b in rc.conf, but that has
essentially the same effect.

> For some other circumstances, what might then be handy is a later rc.d
> script, something like have_dhcp_lease, that could wait later for the
> lease to be granted in case there are other services that shouldn't
> start without one. 

Those services should be started from hook then.


Home | Main Index | Thread Index | Old Index