Current-Users archive

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

Re: wpa_supplicant before dhcpcd

On Thu, Aug 14, 2008 at 09:15:58PM -0400, matthew sporleder wrote:
> How do I convince wpa_supplicant to start before dhcpcd?  

You can't, in the normal rcorder way, because dhcpcd doesn't get run
by it's own rc.d script  (unlike dhclient, whose rc.d script has
BEFORE: wpa_supplicant to deal with exactly this case).  I think
that's wrong, but it's that way to support the  ifconfig_foo="dhcp"
configuration style you're using.

A perfectly viable alternative would be to put "nowait" in
dhcpcd.conf, so it doesn't matter what order things start in.

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. 


Attachment: pgpBKI97AWwGn.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index