wpa_supplicant && associates to unknown AP

Matthias Apitz guru at unixarea.de
Sun Mar 1 08:13:16 PST 2009


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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <matthias.apitz at oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/


More information about the freebsd-mobile mailing list