Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2009 07:08:44 GMT
From:      Igor Popov <sshutdownow@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/138331: FreeBSD 8.0-beta3  wpa_supplicant lost auth 
Message-ID:  <200908300708.n7U78itu014070@www.freebsd.org>
Resent-Message-ID: <200908300710.n7U7A1xs063695@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138331
>Category:       bin
>Synopsis:       FreeBSD 8.0-beta3  wpa_supplicant lost auth
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 30 07:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Igor Popov
>Release:        FreeBSD 8.0-BETA3
>Organization:
>Environment:
FreeBSD unix.my.net 8.0-BETA3 FreeBSD 8.0-BETA3 #0: Sat Aug 29 09:43:53 EEST 2009     toor@unix.my.net:/usr/obj/usr/src/sys/SUPERKERNEL-8.0  i386

>Description:
$ dmesg|grep ath0
ath0: <Atheros 5212> mem 0xd3000000-0xd300ffff irq 16 at device 6.0 on pci5
ath0: [ITHREAD]
ath0: AR2413 mac 7.9 RF2413 phy 4.5

in /etc/rc.conf:
# ifaces
wifi_addr="192.168.12.2"
wlans_ath0="wlan0"
ifconfig_wlan0="WPA inet ${wifi_addr} netmask 255.255.255.248"

/etc/wpa_supplicant.conf
#ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
eapol_version=1
ap_scan=1
fast_reauth=1
country=RU

network={
    ssid="micronet"
    bssid=00:17:9a:f0:b6:82
    scan_ssid=1
    key_mgmt=WPA-PSK
    proto=WPA
    pairwise=TKIP
    group=TKIP
    psk="ndGJQtUM$utbk.I7Dsk76.9f0aYaUe."
}





Periodically I see that wlan0 lost connection:

$ ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:15:e9:a4:58:9b
        inet 192.168.12.2 netmask 0xfffffff8 broadcast 192.168.12.7
        media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g
        status: associated
        ssid micronet channel 11 (2462 Mhz 11g) bssid 00:17:9a:f0:b6:82
        regdomain 32976 country DK indoor ecm authmode WPA privacy ON
        deftxkey UNDEF TKIP 4:128-bit txpower 20 bmiss 7 scanvalid 450 bgscan
        bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS
        wme burst roaming MANUAL


$ ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:15:e9:a4:58:9b
        inet 192.168.12.2 netmask 0xfffffff8 broadcast 192.168.12.7
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        ssid "" channel 6 (2437 Mhz 11g)
        regdomain 32976 country DK indoor ecm authmode WPA privacy ON
        deftxkey UNDEF txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300
        bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst
        roaming MANUAL

Logs concerned to wpa_supplicant:
Aug 30 09:57:19 unix kernel: wlan0: link state changed to DOWN
Aug 30 09:57:19 unix wpa_supplicant[11672]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Aug 30 09:57:22 unix wpa_supplicant[11674]: CTRL-EVENT-SCAN-RESULTS
Aug 30 09:57:22 unix wpa_supplicant[11672]: CTRL-EVENT-SCAN-RESULTS
Aug 30 09:57:22 unix wpa_supplicant[11672]: Trying to associate with 00:17:9a:f0:b6:82 (SSID='micronet' freq=2462 MHz)
Aug 30 09:57:22 unix wpa_supplicant[11674]: Trying to associate with 00:17:9a:f0:b6:82 (SSID='micronet' freq=2462 MHz)
Aug 30 09:57:22 unix wpa_supplicant[11674]: Associated with 00:17:9a:f0:b6:82
Aug 30 09:57:22 unix kernel: wlan0: link state changed to UP
Aug 30 09:57:22 unix wpa_supplicant[11672]: Associated with 00:17:9a:f0:b6:82
Aug 30 09:57:23 unix wpa_supplicant[11672]: WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
Aug 30 09:57:23 unix wpa_supplicant[11672]: WPA: Could not verify EAPOL-Key MIC - dropping packet
Aug 30 09:57:24 unix wpa_supplicant[11674]: WPA: Key negotiation completed with 00:17:9a:f0:b6:82 [PTK=TKIP GTK=TKIP]
Aug 30 09:57:24 unix wpa_supplicant[11672]: WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
Aug 30 09:57:24 unix wpa_supplicant[11672]: WPA: Could not verify EAPOL-Key MIC - dropping packet
Aug 30 09:57:24 unix wpa_supplicant[11674]: CTRL-EVENT-CONNECTED - Connection to 00:17:9a:f0:b6:82 completed (reauth) [id=0 id_str=]
Aug 30 09:57:33 unix wpa_supplicant[11672]: Authentication with 00:17:9a:f0:b6:82 timed out.
Aug 30 09:57:33 unix wpa_supplicant[11674]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Aug 30 09:57:33 unix kernel: wlan0: link state changed to DOWN
Aug 30 09:57:33 unix wpa_supplicant[11672]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Aug 30 09:57:35 unix wpa_supplicant[11674]: CTRL-EVENT-SCAN-RESULTS
Aug 30 09:57:35 unix wpa_supplicant[11672]: CTRL-EVENT-SCAN-RESULTS
Aug 30 09:57:35 unix wpa_supplicant[11674]: Trying to associate with 00:17:9a:f0:b6:82 (SSID='micronet' freq=2462 MHz)
Aug 30 09:57:35 unix wpa_supplicant[11672]: Trying to associate with 00:17:9a:f0:b6:82 (SSID='micronet' freq=2462 MHz)
Aug 30 09:57:35 unix wpa_supplicant[11674]: Associated with 00:17:9a:f0:b6:82
Aug 30 09:57:35 unix kernel: wlan0: link state changed to UP
Aug 30 09:57:35 unix wpa_supplicant[11672]: Associated with 00:17:9a:f0:b6:82
Aug 30 09:57:36 unix wpa_supplicant[11672]: WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
Aug 30 09:57:36 unix wpa_supplicant[11672]: WPA: Could not verify EAPOL-Key MIC - dropping packet
Aug 30 09:57:37 unix wpa_supplicant[11674]: WPA: Key negotiation completed with 00:17:9a:f0:b6:82 [PTK=TKIP GTK=TKIP]
Aug 30 09:57:37 unix wpa_supplicant[11672]: WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
Aug 30 09:57:37 unix wpa_supplicant[11672]: WPA: Could not verify EAPOL-Key MIC - dropping packet
Aug 30 09:57:37 unix wpa_supplicant[11674]: CTRL-EVENT-CONNECTED - Connection to 00:17:9a:f0:b6:82 completed (reauth) [id=0 id_str=]
Aug 30 09:57:46 unix wpa_supplicant[11672]: Authentication with 00:17:9a:f0:b6:82 timed out.
Aug 30 09:57:46 unix wpa_supplicant[11674]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Aug 30 09:57:46 unix kernel: wlan0: link state changed to DOWN
Aug 30 09:57:46 unix wpa_supplicant[11672]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Aug 30 09:57:49 unix wpa_supplicant[11674]: CTRL-EVENT-SCAN-RESULTS
Aug 30 09:57:49 unix wpa_supplicant[11672]: CTRL-EVENT-SCAN-RESULTS
Aug 30 09:57:49 unix wpa_supplicant[11672]: Trying to associate with 00:17:9a:f0:b6:82 (SSID='micronet' freq=2462 MHz)
Aug 30 09:57:49 unix wpa_supplicant[11674]: Trying to associate with 00:17:9a:f0:b6:82 (SSID='micronet' freq=2462 MHz)
Aug 30 09:57:49 unix wpa_supplicant[11674]: Associated with 00:17:9a:f0:b6:82
Aug 30 09:57:49 unix kernel: wlan0: link state changed to UP
Aug 30 09:57:49 unix wpa_supplicant[11672]: Associated with 00:17:9a:f0:b6:82




>How-To-Repeat:
For me problems occurs every few minutes. There were no problems on FreeBSD 6.x .

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908300708.n7U78itu014070>