You are not logged in.
I am trying to connect to a WPA protected wifi network using wpa_supplicant. Authentication and Association occur without any problems. But after association, wpa_supplicant gives an error
wlp1s0: WPA: Failed to set PTK to the driver (alg=3 keylen=16 bssid=90:f6:52:f7:f0:4a)
Total output of `wpa_supplicant -i wlp1s0 -c <(wpa_passphrase "SSID" "password")`
Successfully initialized wpa_supplicant
wlp1s0: SME: Trying to authenticate with 90:f6:52:f7:f0:4a (SSID='TP-LINK_F7F04A' freq=2412 MHz)
wlp1s0: Trying to associate with 90:f6:52:f7:f0:4a (SSID='TP-LINK_F7F04A' freq=2412 MHz)
wlp1s0: Associated with 90:f6:52:f7:f0:4a
wlp1s0: WPA: Failed to set PTK to the driver (alg=3 keylen=16 bssid=90:f6:52:f7:f0:4a)
wlp1s0: CTRL-EVENT-DISCONNECTED bssid=90:f6:52:f7:f0:4a reason=1 locally_generated=1
wlp1s0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlp1s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="TP-LINK_F7F04A" auth_failures=1 duration=10 reason=WRONG_KEY
Following is the relevant portion of `dmesg`
[64486.221499] wlp1s0: authenticate with 90:f6:52:f7:f0:4a
[64486.243153] wlp1s0: send auth to 90:f6:52:f7:f0:4a (try 1/3)
[64486.245571] wlp1s0: authenticated
[64486.245773] wlp1s0: associating with AP with corrupt beacon
[64486.247523] wlp1s0: associate with 90:f6:52:f7:f0:4a (try 1/3)
[64486.251810] wlp1s0: RX AssocResp from 90:f6:52:f7:f0:4a (capab=0x431 status=0 aid=4)
[64486.251913] wlp1s0: associated
[64486.251951] IPv6: ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready
[64486.252029] cfg80211: Calling CRDA to update world regulatory domain
[64486.263800] wlp1s0: deauthenticating from 90:f6:52:f7:f0:4a by local choice (Reason: 1=UNSPECIFIED)
What might be the cause(s) for these errors?
UPDATE1 : With `-d` option to `wpa_supplicant`, I get this error
nl80211: set_key failed; err=-2 No such file or directory
What file or directory is missing? I am running these commands as a super user.
Last edited by nitishch (2015-08-10 11:33:12)
Offline