[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hostap
Subject:    Unnoticed lost association with iwl3945
From:       gustavodn () gmail ! com
Date:       2008-10-20 5:01:41
Message-ID: 20081020050141.GL4553 () mandriva ! com
[Download RAW message or body]

Hello.

I'm having this problem: https://qa.mandriva.com/show_bug.cgi?id=43441

Specifically, quoting my own comment #13:

I did some tests here, and found out this happens as follows:
- wpa_supplicant associates
- ifplugd starts dhclient with the previous leases file as argument (e.g.
...
-lf /var/lib/dhcp/dhclient-wlan0.leases ...)
- dhclient tries to request a previous IP from the leases file
- if that IP is available all is well
- if that IP isn't available, dhclient sets the environment and runs
/sbin/dhclient-script, which does 'ifconfig down' on the interface to
  "delete
routes and clear arp cache"

Once put down, the interface loses association, at least in the case of
iwl3945. But wpa_supplicant doesn't notice that and believes it is still
associated, and never retries to reassociate that interface again on its
own.

I'm not sure who is at fault here. Don't know if the interface should lose
association when put down (but I think that makes sense, since when down it
could do something to save power etc. and possibly not be expected to be
working...). But I think wpa_supplicant should notice the interface
disassociation in some way, instead of just believing its own state
keeping...

Any thoughts?
_______________________________________________
HostAP mailing list
HostAP@lists.shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic