Bugzilla – Bug 117494
wpa_supplicant connection error
Last modified: 2006-04-25 12:27:20 UTC
With Suse9.3, the following works: wpa_supplicant -i ath0 -D madwifi -c ./wpa_supplicant.conf With Suse10.0 RC1, I get the following errors (with same config-file on the same laptop, 5 minutes later): ------------------------------------------------------------------------ wpa_supplicant -i ath0 -D madwifi -c ./wpa_supplicant.conf Trying to associate with 00:a0:c5:80:d8:ac (SSID='****' freq=2437 MHz) Associated with 00:a0:c5:80:d8:ac CTRL-EVENT-EAP-STARTED EAP authentication started CTRL-EVENT-EAP-METHOD EAP method 25 (PEAP) selected EAP-MSCHAPV2: Authentication succeeded EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully Michael MIC failure detected WPA: Sending EAPOL-Key Request (error=1 pairwise=1 ptk_set=1 len=113) Michael MIC failure detected WPA: Sending EAPOL-Key Request (error=1 pairwise=1 ptk_set=1 len=113) TKIP countermeasures started CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys ------------------------------------------------------------------------ In /var/log/messages are no related messages If there are other log- or config-files I should attach, let me know. If additional tests are required, I can do it in about 1 week, when I'm back in the office. wpa_supplicant.conf -------------------- ctrl_interface=/var/run/wpa_supplicant network={ ssid="****" scan_ssid=1 key_mgmt=WPA-EAP eap=PEAP pairwise=TKIP group=TKIP identity="domain\user" password="password" phase1="peapver=0" phase2="auth=MSCHAPV2" }
Could be also a driver problem. Could you attach the output of 'grep ath0: /var/log/messages'?
Sorry for the delay, I was not in the office for a long time. With suse9.3, i get the following: console: ltmnb2:~ # wpa_supplicant -i ath0 -D madwifi -c /etc/sysconfig/network/wpa_supplicant.conf Trying to associate with 00:a0:c5:82:7c:af (SSID='****' freq=2437 MHz) Associated with 00:a0:c5:82:7c:af Disconnect event - remove keys Associated with 00:a0:c5:82:7c:af Disconnect event - remove keys Trying to associate with 00:a0:c5:82:7c:af (SSID='****' freq=2437 MHz) Associated with 00:a0:c5:82:7c:af EAP-MSCHAPV2: Authentication succeeded EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed WPA: Key negotiation completed with 00:a0:c5:82:7c:af [PTK=TKIP GTK=TKIP] And the connection works :-) With suse10.0 I get the following: wpa_supplicant -i ath0 -D madwifi -c /etc/sysconfig/network/wpa_supplicant.conf Trying to associate with 00:a0:c5:82:7c:af (SSID='****' freq=2437 MHz) Associated with 00:a0:c5:82:7c:af CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Trying to associate with 00:a0:c5:82:7c:af (SSID='****' freq=2437 MHz) Associated with 00:a0:c5:82:7c:af CTRL-EVENT-EAP-STARTED EAP authentication started CTRL-EVENT-EAP-METHOD EAP method 25 (PEAP) selected CTRL-EVENT-EAP-STARTED EAP authentication started CTRL-EVENT-EAP-STARTED EAP authentication started Authentication with 00:a0:c5:82:7c:af timed out. CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Next try, a slightly different Output: Trying to associate with 00:a0:c5:82:7c:af (SSID='****' freq=2437 MHz) Associated with 00:a0:c5:82:7c:af CTRL-EVENT-EAP-STARTED EAP authentication started CTRL-EVENT-EAP-METHOD EAP method 25 (PEAP) selected EAP-MSCHAPV2: Authentication succeeded EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully Michael MIC failure detected WPA: Sending EAPOL-Key Request (error=1 pairwise=1 ptk_set=1 len=113) Michael MIC failure detected WPA: Sending EAPOL-Key Request (error=1 pairwise=1 ptk_set=1 len=113) TKIP countermeasures started Michael MIC failure detected WPA: Sending EAPOL-Key Request (error=1 pairwise=1 ptk_set=1 len=113) TKIP countermeasures started CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys The only things I can find in /var/log/messages are: Nov 10 16:34:23 ltmnb2 kernel: NET: Registered protocol family 17 Nov 10 16:34:34 ltmnb2 kernel: ath0: no IPv6 routers present With WEP it works also on Suse10 but not with wpa-eap Then I rebooted with Suse9.3 and I was able to connect with wpa-eap
Could you try it with an updated wpa_supplicant? ftp://ftp.suse.com/pub/people/jg/10.0-i386/wpa_supplicant-0.4.6-2.1.i586.rpm
Tried with the new package, still does not work (reboot with suse93, still works; the .conf file is the same, so "authentication failed" in suse10 could not be a wrong login information) # wpa_supplicant -i ath0 -D madwifi -c /etc/sysconfig/network/wpa_supplicant.conf Trying to associate with 00:a0:c5:82:7c:af (SSID='xxxx' freq=2437 MHz) Associated with 00:a0:c5:82:7c:af CTRL-EVENT-EAP-STARTED EAP authentication started CTRL-EVENT-EAP-STARTED EAP authentication started CTRL-EVENT-EAP-METHOD EAP method 25 (PEAP) selected CTRL-EVENT-EAP-FAILURE EAP authentication failed CTRL-EVENT-EAP-STARTED EAP authentication started CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Authentication with 00:00:00:00:00:00 timed out. Trying to associate with 00:a0:c5:82:7c:af (SSID='xxxx' freq=2437 MHz) Associated with 00:a0:c5:82:7c:af CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Authentication with 00:00:00:00:00:00 timed out. Trying to associate with 00:a0:c5:82:7c:af (SSID='xxxx' freq=2437 MHz) Associated with 00:a0:c5:82:7c:af CTRL-EVENT-EAP-STARTED EAP authentication started CTRL-EVENT-EAP-STARTED EAP authentication started CTRL-EVENT-EAP-STARTED EAP authentication started Authentication with 00:a0:c5:82:7c:af timed out. CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Sorry for the delay, is this issue still present? If yes, could you run wpa_supplicant with debug option ('-d')?
I installed now 10.1 RC1 and this time it didn't work because the ath_pci was missing :-( I downloaded the source of madwifi-ng and compiled/installed the module. Then, it was possible to connect with wpa_supplicant.
Ok, thanks. I'm closing this as WONTFIX as I do not have the possibility to reproduce the bug myself and it was the only report about this anyway.