wpa_supplicant 2.9 returns CONN_FAILED when entering wrong password
Dembianny, Sven (GED-SDD1)
Sven.Dembianny at bshg.com
Mon Jun 22 11:43:07 EDT 2020
Hi all,
when entering a wrong password wpa_supplicant 2.9 returns string
"CONN_FAILED" (DBus "connect-failed") instead of "WRONG_KEY"
(DBus "invalid-key") as returned from wpa_supplicant 2.5:
wpa_supplicant v2.9:
<3>CTRL-EVENT-ASSOC-REJECT bssid=5a:ef:68:b9:81:c5 status_code=16
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>Trying to associate with SSID 'TEST_LEDE'
<3>CTRL-EVENT-ASSOC-REJECT bssid=5a:ef:68:b9:81:c5 status_code=16
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>Trying to associate with SSID 'TEST_LEDE'
<3>CTRL-EVENT-ASSOC-REJECT bssid=5a:ef:68:b9:81:c5 status_code=16
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>Trying to associate with SSID 'TEST_LEDE'
<3>CTRL-EVENT-ASSOC-REJECT bssid=5a:ef:68:b9:81:c5 status_code=16
<3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="TEST_LEDE" auth_failures=1 duration=10 reason=CONN_FAILED
wpa_supplicant v2.5:
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>Trying to associate with SSID 'TEST_LEDE'
<3>Associated with 5a:ef:68:b9:81:c5
<3>CTRL-EVENT-DISCONNECTED bssid=5a:ef:68:b9:81:c5 reason=2
<3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect
<3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="TEST_LEDE" auth_failures=1 duration=10 reason=WRONG_KEY
<3>CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>CTRL-EVENT-SSID-REENABLED id=0 ssid="TEST_LEDE"
<3>Trying to associate with SSID 'TEST_LEDE'
<3>Associated with 5a:ef:68:b9:81:c5
<3>CTRL-EVENT-DISCONNECTED bssid=5a:ef:68:b9:81:c5 reason=2
<3>WPA: 4-Way Handshake failed - pre-shared key may be incorrect
<3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="TEST_LEDE" auth_failures=2 duration=23 reason=WRONG_KEY
Detailled logs:
2.9:
https://pastebin.com/raw/Y6QtZNvw
2.5:
https://pastebin.com/raw/tErmeDHZ
Thanks,
Sven
More information about the Hostap
mailing list