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

Running DHCP once wpa_supplicant associates with an AP?

I think I've asked this before... either that or I searched and read a million other threads where they said "That can't be done, yet".

So, I'm trying to find out if it can be done.... *yet*.

All I want to do is have wpa_supplicant trigger a dhclient (or other dhcp client) for an interface when it associates with an AP. I've tried just putting the "iface eth1 inet dhcp" in /etc/network/interfaces, but that doesn't do it... and, last time I additionally put "auto eth1" in there, dhclient would try to run at boot time, before wpa_supplicant ran... and there'd be a long pause during the boot process while dhclient timed-out.

It seems like something that so many people would want to do. I just can't figure out how.

Any help?

- Joe

Reply to: