[pkg-wpa-devel] A challenge: wpa_supplicant + wlan button + zeroconf

Kel Modderman kelrin at tpg.com.au
Mon Jul 3 12:11:09 UTC 2006


Felix Homann wrote:
> On Monday 03 July 2006 12:45, Reinhard Tartler wrote:
>   
>> On Mon, Jul 03, 2006 at 12:20:21PM +0200, Felix Homann wrote:
>>     
>>> I would prefer the interface to be "essentially" ifdowned a few seconds
>>> after a disconnect. (That's the way ifplugd handles it.)
>>>       
>> I added a test to wpa_action, which flushes all ip adresses from the
>> interface on disconnect, if the package iproute is installed. I didn't
>> find an ifconfig equivalent for "/sbin/ip addr flush $IFACE".
>>     
>
>
> Hi Reinhard,
>
> thanks for implementing my suggestions so quickly!
>
> I've just taken a quick look into the SVN version. Could you please add a 
> small timeout (5 seconds maybe) before flushing the addresses? 
>   

This is just not that simple. Please think hard before making and 
testing changes in this regard. (and I am still not convinced flushing 
of ip is an absolute critical requirement)

Action event timing is critical, I will try to continue my explanation 
in the coming days.

> (If the connection is a bit unstable wpa_supplicant would sometimes disconnect 
> just for a moment. So a timeout would help to distinguish important from 
> accidental/momentary disconnects.)
>
> Please, also let the wpasupplicant package suggest iproute.
>   

Reinhard already did that.

Kel.



More information about the Pkg-wpa-devel mailing list