From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 1 16:13:15 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65BD11065702 for ; Sun, 1 Mar 2009 16:13:15 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: from hunter.Sisis.de (mail.oclc.de [193.31.11.194]) by mx1.freebsd.org (Postfix) with ESMTP id BE0798FC16 for ; Sun, 1 Mar 2009 16:13:14 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id IAA29535 for ; Sun, 1 Mar 2009 08:54:02 +0100 (CET) (envelope-from matthias.apitz@oclc.org) Received: from ppp-93-104-125-7.dynamic.mnet-online.de(93.104.125.7) by hunter.Sisis.de via smap (V2.1) id xma029516; Sun, 1 Mar 09 08:53:45 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n2183A2w003449 for freebsd-mobile@freebsd.org; Sun, 1 Mar 2009 09:03:10 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Sun, 1 Mar 2009 09:03:10 +0100 From: Matthias Apitz To: freebsd-mobile@freebsd.org Message-ID: <20090301080310.GA3186@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) Subject: wpa_supplicant && associates to unknown AP X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 16:13:16 -0000 Hello, This lonely Sunday morning I've switched on my laptop at home and while it was booting I went to breakfast; coming back I found that I could not connect to Internet because it associated to a unknown foreign AP in my area (ssid ALICE-WLAN). I'm running wpa_supplicant and of course this is not in my /etc/wpa_supplicant.conf file. My AP is ssid tarara and the entry in wpa_supplicant.conf is: network={ ssid="tarara" scan_ssid=0 key_mgmt=NONE wep_tx_keyidx=0 wep_key0=xxxxxxxxxxxxxxxxxxx } I killed the wpa_supplicant and restarted it, see below the ifconfig output, and it then associated fine to my AP. How is this possible? And what can I do to prevent this? Thx # 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 status: associated ssid ALICE-WLAN channel 11 (2462 Mhz 11g) bssid 00:1b:9e:ff:61:0b 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 (killing wpa_supplicant) # 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/2Mbps) status: associated ssid tarara channel 7 (2442 Mhz 11g) bssid 00:13:f7:0d:08:48 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 ALICE-WLAN 00:1b:9e:ff:61:0b 11 54M 18:0 100 EP tarara 00:13:f7:0d:08:48 7 54M 39:0 100 EPS -- 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/