Hello,

I have in the company I'm working for problems to associate to an AP;
the entry in the /etc/wpa_supplicant.conf is:

network={
        ssid="OCLCPublic"
        psk="XXX"
        key_mgmt=WPA-PSK
}

with the correct psk given from our local admin; when it tries to
associate, in most of the times it fails; I have below some part of the
/var/log/messages with a failing assoc, but some secs later it
associates successful, but disconnects again. What could be the reason
for this and what does mean the message 'wpa_supplicant[2787]: FT:
Invalid key management type (2)'?

Thanks

        matthias


Dec 22 11:39:25 unixarea wpa_supplicant[2787]: wlan0: Trying to associate with 
00:26:0b:4b:b8:44 (SSID='OCLCPublic' freq=2412 MHz)
Dec 22 11:39:25 unixarea kernel: wlan0:  macaddr          bssid         chan  
rssi  rate flag  wep  essid
Dec 22 11:39:25 unixarea kernel: - bc:05:43:f6:da:65 bc:05:43:f6:da:65    1    
61  54M   ess  wep  "FRITZ!Box WLAN 3370"!
Dec 22 11:39:25 unixarea kernel: - 00:1b:11:e4:98:b4 00:1b:11:e4:98:b4    6    
60  54M   ess  wep  "DLINK"!
Dec 22 11:39:25 unixarea kernel: - 00:26:0b:4b:b8:44 00:26:0b:4b:b8:44    1    
62  54M   ess  wep  "OCLCPublic"!
Dec 22 11:39:25 unixarea kernel: - 00:26:0b:4b:b8:42 00:26:0b:4b:b8:42    1    
62  54M   ess  wep  0x00!
Dec 22 11:39:25 unixarea kernel: wlan0: scan_task: done, [ticks 16263443, dwell 
min 20 scanend 2163745019]
Dec 22 11:39:25 unixarea kernel: wlan0: notify scan done
Dec 22 11:39:25 unixarea wpa_supplicant[2787]: FT: Invalid key management type 
(2)
Dec 22 11:39:27 unixarea kernel: wlan0: [00:26:0b:4b:b8:44] 
ieee80211_scan_assoc_fail: reason 1
Dec 22 11:39:27 unixarea kernel: wlan0: [00:26:0b:4b:b8:44] sta_assoc_fail: 
reason 1 fails 1
Dec 22 11:39:35 unixarea wpa_supplicant[2787]: wlan0: Authentication with 
00:26:0b:4b:b8:44 timed out.
Dec 22 11:39:35 unixarea wpa_supplicant[2787]: wlan0: CTRL-EVENT-DISCONNECTED 
bssid=00:26:0b:4b:b8:44 reason=3 locally_generated=1




Dec 22 11:39:35 unixarea kernel: wlan0: ieee80211_scan_flush
Dec 22 11:39:36 unixarea kernel: wlan0: ieee80211_scanreq: flags 0x20052 
duration 0x7fffffff mindwell 0 maxdwell 0 nssid 1
Dec 22 11:39:36 unixarea kernel: wlan0: ieee80211_check_scan: active scan, 
append, nojoin, once
Dec 22 11:39:36 unixarea kernel: wlan0: sta_pick_bss: no scan candidate
Dec 22 11:39:36 unixarea kernel: wlan0: start_scan_locked: active scan, 
duration 2147483647 mindwell 0 maxdwell 0, desired mode auto, append, nojoin, 
once
Dec 22 11:39:36 unixarea kernel: wlan0: scan set 1g, 6g, 11g, 7g, 2g, 3g, 4g, 
5g, 8g, 9g, 10g dwell min 20ms max 200ms
Dec 22 11:39:36 unixarea kernel: wlan0: scan_task: chan   1g ->   1g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:36 unixarea kernel: [bc:05:43:f6:da:65] new probe_resp on chan 1 
(bss chan 1) "FRITZ!Box WLAN 3370" rssi 62
Dec 22 11:39:36 unixarea kernel: [bc:05:43:f6:da:65] caps 0x431 bintval 100 erp 
0x100 country [DE  1-13,20]
Dec 22 11:39:36 unixarea kernel: [bc:05:43:f6:da:65] new beacon on chan 1 (bss 
chan 1) "FRITZ!Box WLAN 3370" rssi 58
Dec 22 11:39:36 unixarea kernel: [bc:05:43:f6:da:65] caps 0x431 bintval 100 erp 
0x100 country [DE  1-13,20]
Dec 22 11:39:36 unixarea kernel: wlan0: ieee80211_add_scan: chan   1g min dwell 
met (16274495 > 16274484)
Dec 22 11:39:36 unixarea kernel: wlan0: scan_task: chan   1g ->   6g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:36 unixarea kernel: [00:1b:11:e4:98:b4] new probe_resp on chan 6 
(bss chan 6) "DLINK" rssi 62
Dec 22 11:39:36 unixarea kernel: [00:1b:11:e4:98:b4] caps 0x411 bintval 100 erp 
0x102
Dec 22 11:39:36 unixarea kernel: wlan0: scan_task: chan   6g ->  11g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:36 unixarea kernel: wlan0: scan_task: chan  11g ->   7g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:36 unixarea kernel: wlan0: scan_task: chan   7g ->   2g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:37 unixarea kernel: wlan0: scan_task: chan   2g ->   3g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:37 unixarea kernel: wlan0: scan_task: chan   3g ->   4g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:37 unixarea kernel: wlan0: scan_task: chan   4g ->   5g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:37 unixarea kernel: wlan0: scan_task: chan   5g ->   8g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:37 unixarea kernel: wlan0: scan_task: chan   8g ->   9g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:38 unixarea kernel: wlan0: scan_task: chan   9g ->  10g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:38 unixarea kernel: wlan0:  macaddr          bssid         chan  
rssi  rate flag  wep  essid
Dec 22 11:39:38 unixarea kernel: - bc:05:43:f6:da:65 bc:05:43:f6:da:65    1    
62  54M   ess  wep  "FRITZ!Box WLAN 3370"!
Dec 22 11:39:38 unixarea kernel: - 00:1b:11:e4:98:b4 00:1b:11:e4:98:b4    6    
62  54M   ess  wep  "DLINK"!
Dec 22 11:39:38 unixarea kernel: wlan0: scan_task: done, [ticks 16276537, dwell 
min 20 scanend 2163758109]
Dec 22 11:39:38 unixarea kernel: wlan0: notify scan done
Dec 22 11:39:43 unixarea kernel: wlan0: ieee80211_scanreq: flags 0x20052 
duration 0x7fffffff mindwell 0 maxdwell 0 nssid 1
Dec 22 11:39:43 unixarea kernel: wlan0: ieee80211_check_scan: active scan, 
append, nojoin, once
Dec 22 11:39:43 unixarea kernel: wlan0:  macaddr          bssid         chan  
rssi  rate flag  wep  essid
Dec 22 11:39:43 unixarea kernel: - bc:05:43:f6:da:65 bc:05:43:f6:da:65    1    
62  54M   ess  wep  "FRITZ!Box WLAN 3370"!
Dec 22 11:39:43 unixarea kernel: - 00:1b:11:e4:98:b4 00:1b:11:e4:98:b4    6    
62  54M   ess  wep  "DLINK"!
Dec 22 11:39:43 unixarea kernel: wlan0: start_scan_locked: active scan, 
duration 2147483647 mindwell 0 maxdwell 0, desired mode auto, append, nojoin, 
once
Dec 22 11:39:43 unixarea kernel: wlan0: scan set 1g, 6g, 11g, 7g, 2g, 3g, 4g, 
5g, 8g, 9g, 10g dwell min 20ms max 200ms
Dec 22 11:39:43 unixarea kernel: wlan0: scan_task: chan   1g ->   1g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:43 unixarea kernel: [00:26:0b:4b:b8:44] new probe_resp on chan 1 
(bss chan 1) "OCLCPublic" rssi 60
Dec 22 11:39:43 unixarea kernel: [00:26:0b:4b:b8:44] caps 0x431 bintval 100 erp 
0x100 country [NL  1-13,23]
Dec 22 11:39:43 unixarea kernel: [bc:05:43:f6:da:65] new probe_resp on chan 1 
(bss chan 1) "FRITZ!Box WLAN 3370" rssi 60
Dec 22 11:39:43 unixarea kernel: [bc:05:43:f6:da:65] caps 0x431 bintval 100 erp 
0x100 country [DE  1-13,20]
Dec 22 11:39:43 unixarea kernel: [bc:05:43:f6:da:65] new beacon on chan 1 (bss 
chan 1) "FRITZ!Box WLAN 3370" rssi 60
Dec 22 11:39:43 unixarea kernel: [bc:05:43:f6:da:65] caps 0x431 bintval 100 erp 
0x100 country [DE  1-13,20]
Dec 22 11:39:43 unixarea kernel: [00:26:0b:4b:b8:42] new beacon on chan 1 (bss 
chan 1) 0x00 rssi 64
Dec 22 11:39:43 unixarea kernel: [00:26:0b:4b:b8:42] caps 0x431 bintval 100 erp 
0x100 country [NL  1-13,23]
Dec 22 11:39:43 unixarea kernel: wlan0: ieee80211_add_scan: chan   1g min dwell 
met (16281574 > 16281565)
Dec 22 11:39:43 unixarea kernel: wlan0: scan_task: chan   1g ->   6g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:43 unixarea kernel: [00:1b:11:e4:98:b4] new beacon on chan 6 (bss 
chan 6) "DLINK" rssi 58
Dec 22 11:39:43 unixarea kernel: [00:1b:11:e4:98:b4] caps 0x411 bintval 100 erp 
0x102
Dec 22 11:39:43 unixarea kernel: wlan0: ieee80211_add_scan: chan   6g min dwell 
met (16281636 > 16281598)
Dec 22 11:39:43 unixarea kernel: wlan0: scan_task: chan   6g ->  11g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:43 unixarea kernel: wlan0: scan_task: chan  11g ->   7g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:43 unixarea kernel: wlan0: scan_task: chan   7g ->   2g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:43 unixarea kernel: wlan0: scan_task: chan   2g ->   3g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:44 unixarea kernel: wlan0: scan_task: chan   3g ->   4g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:44 unixarea kernel: wlan0: scan_task: chan   4g ->   5g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:44 unixarea kernel: wlan0: scan_task: chan   5g ->   8g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:44 unixarea kernel: wlan0: scan_task: chan   8g ->   9g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:44 unixarea kernel: wlan0: scan_task: chan   9g ->  10g [active, 
dwell min 20ms max 200ms]
Dec 22 11:39:45 unixarea wpa_supplicant[2787]: wlan0: Trying to associate with 
00:26:0b:4b:b8:44 (SSID='OCLCPublic' freq=2412 MHz)
Dec 22 11:39:45 unixarea kernel: wlan0:  macaddr          bssid         chan  
rssi  rate flag  wep  essid
Dec 22 11:39:45 unixarea kernel: - bc:05:43:f6:da:65 bc:05:43:f6:da:65    1    
61  54M   ess  wep  "FRITZ!Box WLAN 3370"!
Dec 22 11:39:45 unixarea kernel: - 00:1b:11:e4:98:b4 00:1b:11:e4:98:b4    6    
62  54M   ess  wep  "DLINK"!
Dec 22 11:39:45 unixarea kernel: - 00:26:0b:4b:b8:44 00:26:0b:4b:b8:44    1    
60  54M   ess  wep  "OCLCPublic"!
Dec 22 11:39:45 unixarea kernel: - 00:26:0b:4b:b8:42 00:26:0b:4b:b8:42    1    
64  54M   ess  wep  0x00!
Dec 22 11:39:45 unixarea kernel: wlan0: scan_task: done, [ticks 16283470, dwell 
min 20 scanend 2163765188]
Dec 22 11:39:45 unixarea kernel: wlan0: notify scan done
Dec 22 11:39:45 unixarea wpa_supplicant[2787]: FT: Invalid key management type 
(2)
Dec 22 11:39:45 unixarea wpa_supplicant[2787]: wlan0: Associated with 
00:26:0b:4b:b8:44
Dec 22 11:39:45 unixarea kernel: wlan0: [00:26:0b:4b:b8:44] 
ieee80211_scan_assoc_success
Dec 22 11:39:45 unixarea kernel: wlan0: link state changed to UP
Dec 22 11:39:45 unixarea wpa_supplicant[2787]: wlan0: WPA: Key negotiation 
completed with 00:26:0b:4b:b8:44 [PTK=CCMP GTK=CCMP]
Dec 22 11:39:45 unixarea wpa_supplicant[2787]: wlan0: CTRL-EVENT-CONNECTED - 
Connection to 00:26:0b:4b:b8:44 completed [id=2 id_str=]
Dec 22 11:40:01 unixarea kernel: wlan0: link state changed to DOWN
Dec 22 11:40:00 unixarea wpa_supplicant[2787]: wlan0: CTRL-EVENT-DISCONNECTED 
bssid=00:26:0b:4b:b8:44 reason=0
-- 
Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211
1989-2014: The Wall was torn down so that we go to war together again.
El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez.
Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen.
_______________________________________________
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to