[pkg-wpa-devel] A challenge: wpa_supplicant + wlan button +
zeroconf
Felix Homann
fexpop at onlinehome.de
Mon Jul 3 11:22:32 UTC 2006
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?
(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.
Kind regards,
Felix
More information about the Pkg-wpa-devel
mailing list