wpa_supplicant and dhclient.

Jouni Malinen j
Tue Mar 15 07:37:10 PDT 2011

On Tue, Mar 01, 2011 at 12:40:46PM +0000, Martinsson Patrik wrote:
> - Since dhclient already is started by NM with dbussupport, why cant wpa_supplicant/gui talk to dhclient and request an ip when a successful connection is made, should I manually have to start dhclient whenever I've connected through wpa_supplicant, or am I missing something ?

I'm not aware of any standard mechanism to indicate to various DHCP
client implementations that it would be a good idea to renew a lease.
You can implement this using wpa_cli in "action" mode to run a shell
script whenever a connection is formed by wpa_supplicant. See "Using
wpa_cli to run external program on connect/disconnect" in

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list