Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2008 10:31:34 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Roland van Laar <roland@micite.net>
Cc:        freebsd-hackers@freebsd.org, Sam Leffler <sam@freebsd.org>
Subject:   Re: WPA && associating with unknown SSID
Message-ID:  <20080904083134.GA3606@rebelion.Sisis.de>
In-Reply-To: <20080903203306.GE33677@yttrium.micite.net>
References:  <20080903113131.GA8697@rebelion.Sisis.de> <48BEA791.6030406@freebsd.org> <20080903190032.GA2372@rebelion.Sisis.de> <48BEE778.4000503@freebsd.org> <20080903203306.GE33677@yttrium.micite.net>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Wednesday, September 03, 2008 a las 10:33:06PM +0200, Roland van Laar escribió:

> I encountered the same problem last week. I had a contrab which did an
> ifconfig ath0 down; ifconfig ath0 up
> This worked fine with WEP but wpa_supplicant exits when ath0 goes done.
> ath0 connects to the first open AP after it gets up again; not reconnecting
> to my WPA AP.

In my case wpa_supplicant always was running; it is launched by
/etc/rc.conf as:

ifconfig_iwi0="WPA"

at home where I have this problem the association is WEP based;
>From time to time my AP seems to get stuck and in this case
wpa_supplicant seems picking up the wrong foreign AP; it triggers even
on LINK_UP via the devd(8) my script which I have to assign IP or do
DHCP according the AP-location, which of course does not know this
foreign AP and does nothing, but I see it in the log:

Wed Sep 3 07:07:49 CEST 2008: /usr/local/etc/devd/iwi.sh iwi0 LINK_UP
AP [00:19:cb:86:b3:84] not known in /usr/local/etc/devd/iwi.sh

I will try to collect a debug-log of wpa_supplicant for such a situation;

	matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz@oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
We should all learn from the peoples of The Netherlands, France and Ireland.
Aprendamos todos de los pueblos de Holanda, Francia e Irlanda.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080904083134.GA3606>