From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 4 08:31:38 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E241B106567B; Thu, 4 Sep 2008 08:31:38 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 70CBA8FC2F; Thu, 4 Sep 2008 08:31:37 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Thu, 4 Sep 2008 10:31:36 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m848VYI3003900; Thu, 4 Sep 2008 10:31:34 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Thu, 4 Sep 2008 10:31:34 +0200 From: Matthias Apitz To: Roland van Laar Message-ID: <20080904083134.GA3606@rebelion.Sisis.de> References: <20080903113131.GA8697@rebelion.Sisis.de> <48BEA791.6030406@freebsd.org> <20080903190032.GA2372@rebelion.Sisis.de> <48BEE778.4000503@freebsd.org> <20080903203306.GE33677@yttrium.micite.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080903203306.GE33677@yttrium.micite.net> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 04 Sep 2008 08:31:36.0332 (UTC) FILETIME=[A4EF8CC0:01C90E68] Cc: freebsd-hackers@freebsd.org, Sam Leffler Subject: Re: WPA && associating with unknown SSID X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2008 08:31:39 -0000 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 - 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.