dhcpcd-discuss

Re: dhcpcd and flaky wireless connections

Roy Marples

Sat Jan 16 17:48:37 2010

On 15/01/2010 18:47, Jemimah Ruhala wrote:
I'm building a wpa_supplicant frontend for Puppy Linux which uses dhcpcd
with a wpa roaming setup, and for the most part it works flawlessly.
However, some wireless connections will disconnect/reconnect frequently
and wpa_supplicant tells dhcpcd the interface is down every time a
disconnect happens.  Of course it comes right back up and then dhcpcd
starts a dhcp discovery leaving you without a connection for several
seconds.  Using the 'nolink' parameter successfully stops the madness,
but then dhcpcd will never know when the network has actually disconnected.


Is there a better solution?  Could a parameter be added to dhcpcd to
tell it to wait a second to see if the connection comes back before
deconfiguring the interface?  Any ideas would be appreciated.

A better solution would be to build some resilience into wpa_supplicant so that it does not bring the link down so quickly.

Of course, a small delay could also be added to dhcpcd via the event loop model we have.

Thanks

Roy

References:
dhcpcd and flaky wireless connectionsJemimah Ruhala
Archive administrator: postmaster@marples.name