[pkg-wpa-devel] Bug#428304: Bug#428304: should reassociate when ifup fails
Kel Modderman
kel at otaku42.de
Mon Jun 11 02:27:43 UTC 2007
Hi Elmar,
On Mon, 11 Jun 2007 02:31:44 am Elmar Hoffmann wrote:
> When ifup of the wireless interface after association fails,
> wpa-supplicant happily stays connected (which is useless with an
> unusable interface) instead of reassociating (having more luck next
> time or eventually choosing a different AP).
>
> The attached patch fixes this.
Could the patch use the return value of ifup rather than grep'ing the ifstate
file?
Also, this patch has the potential to bing back the "re-association storm"
phenomenon that the wpa_hysteresis_{event,check} functions were designed to
prevent. This could lead to an uncontrollable loop of failed re-association
and failed ifup events.
>
> The interesting case of ifup failure is when using the old dhcp-client
> or a dhcp3-client with #420784 fixed, that properly fail when unable
> to acquire a lease.
> I've been successfully using the latter with this patch for a while
> now.
Thanks, Kel.
More information about the Pkg-wpa-devel
mailing list