NetBSD-Users archive

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

Re: wpa_supplicant and dhcp

On Jan 23, 2010, at 6:49 AM, Sad Clouds wrote:

> What is the recommended way to run wpa_supplicant with dhcp?
> I have a laptop, which needs to connect to a wireless home network. The 
> problem I'm having is that dhcp client runs before wpa_supplicant, so it 
> can't 
> acquire a proper IP address. There is a thread about it on current-users 
> list, 
> but I can't see anything that resolves the issue...

Are you sure about that order?  When I look at /etc/rc.d/wpa_supplicant, it says

        # PROVIDE: wpa_supplicant 
        # REQUIRE: network mountcritlocal 
        # BEFORE: NETWORKING dhclient 

What does your machine say?

                --Steve Bellovin,

Home | Main Index | Thread Index | Old Index