From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 3 19:04:58 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 43AEB106564A; Wed, 3 Sep 2008 19:04:58 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: from hunter.Sisis.de (hunter.sisis.de [193.31.11.194]) by mx1.freebsd.org (Postfix) with ESMTP id 5BE758FC1E; Wed, 3 Sep 2008 19:04:57 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id UAA10785; Wed, 3 Sep 2008 20:52:54 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) Received: from ppp-93-104-113-53.dynamic.mnet-online.de(93.104.113.53) by hunter.Sisis.de via smap (V2.1) id xma010748; Wed, 3 Sep 08 20:52:20 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m83J0WHt002679; Wed, 3 Sep 2008 21:00:32 +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: Wed, 3 Sep 2008 21:00:32 +0200 From: Matthias Apitz To: Sam Leffler Message-ID: <20080903190032.GA2372@rebelion.Sisis.de> References: <20080903113131.GA8697@rebelion.Sisis.de> <48BEA791.6030406@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48BEA791.6030406@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) Cc: freebsd-hackers@freebsd.org 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: Wed, 03 Sep 2008 19:04:58 -0000 El día Wednesday, September 03, 2008 a las 08:04:49AM -0700, Sam Leffler escribió: > Matthias Apitz wrote: > >Hello, > > > >I'm using WPA to connect to my various Wifi AP's (office, home, partner > >locations) and have them well configured in the wpa_supplicant.conf(5) > >file; > > > >from time to time at home I encounter that it is associating with an > >unknown AP of my neighbourhood: > > > > > ># ifconfig iwi0 > >iwi0: flags=8843 metric 0 mtu 1500 > > ether 00:13:ce:a1:e6:81 > > inet 192.168.2.3 netmask 0xffffff00 broadcast 192.168.2.255 > > media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) > > status: associated > > ssid o2DSL_kJaR channel 1 (2412 Mhz 11g) bssid 00:19:cb:86:b3:84 > > authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit bmiss 10 > > scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 > > roam:rate11g 5 protmode CTS roaming MANUAL > ># ifconfig iwi0 list scan > >SSID BSSID CHAN RATE S:N INT CAPS > >o2DSL_kJaR 00:19:cb:86:b3:84 1 54M 19:0 100 EP > >xxxxxxxxxxxx 00:14:6c:44:aa:f6 11 54M 13:0 100 EP WPA > > > >the network with SSID 'o2DSL_kJaR' is not im my > >/etc/wpa_supplicant.conf; > > > >how this is possible and how can I prevent this? > > > You must have a wildcard entry in your wpa_supplicant.conf file (i.e. > one w/o an ssid specified). Thx for the idea, but I don't have any wildcard entry; I've checked the conf file and also wpa_cli says: > list_networks network id / ssid / bssid / flags 0 santaclara any 1 tarara any [CURRENT] 2 OCLCPICAUK any 3 board_room any 4 guagua any 5 OCN-LAN any 6 ConnectionPoint any and: # fgrep network= /etc/wpa_supplicant.conf | wc -l 7 # fgrep ssid=\" /etc/wpa_supplicant.conf ssid="santaclara" ssid="tarara" ssid="OCLCPICAUK" ssid="board_room" ssid="guagua" ssid="OCN-LAN" ssid="ConnectionPoint" 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.