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

Felix Homann fexpop at onlinehome.de
Mon Jul 3 13:13:32 UTC 2006


On Monday 03 July 2006 14:11, Kel Modderman wrote:
> Felix Homann wrote:
> > 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)

Sure, IP flushing is not absolute critical, but it avoids confusion:

It just happened yesterday that I wanted to use the AP provided by a cafe in 
Dresden. I connected to the AP, checked that I had an IP and then tried to 
download my mail. Unfortunately, kmail couldn't find any server. Here's why:

1. wpa_supplicant connected to an AP.
2. It was not the one from the cafe, though ;-)
3. There was no DHCP server on that network.
4. The IP etc. I had was the one given to me 4 days ago from my home network.

That's how I actually found out that the IP was not flushed on disconnect!

If the IP is not flushed how do I tell if I got an IP from a DHCP server on 
the network I've just connected to?

If the IP is flushed it's easy: I've got an IP if and only if it was provided 
by a DHCP server (or set manually).

> Action event timing is critical, 

OK, I see. Then this actually provides a new challenge, right?

> > Please, also let the wpasupplicant package suggest iproute.
>
> Reinhard already did that.

Sorry, I missed that.

Kind regards,

Felix



More information about the Pkg-wpa-devel mailing list