WPA Supplicant, AP authentication failed notification for user application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I would like to know how we can send the notification to the user
application when the user entered WRONG_KEY to pair with any of the
access points.

Is there any chance to get the authentication status using command line tools?

Please find below,

Apr  5 23:09:27 iot-ThinkPad-E450 kernel: [ 1037.522235] wlp4s0:
authenticate with 58:d5:6e:c4:1a:29
Apr  5 23:09:27 iot-ThinkPad-E450 kernel: [ 1037.528010] wlp4s0: send
auth to 58:d5:6e:c4:1a:29 (try 1/3)
Apr  5 23:09:27 iot-ThinkPad-E450 NetworkManager[1068]: <info>
[1554485967.8534] device (wlp4s0): supplicant interface state:
scanning -> authenticating
Apr  5 23:09:27 iot-ThinkPad-E450 wpa_supplicant[1239]: wlp4s0: Trying
to associate with 58:d5:6e:c4:1a:29 (SSID='anil' freq=2472 MHz)
Apr  5 23:09:27 iot-ThinkPad-E450 kernel: [ 1037.540170] wlp4s0: authenticated
Apr  5 23:09:27 iot-ThinkPad-E450 kernel: [ 1037.541946] wlp4s0:
associate with 58:d5:6e:c4:1a:29 (try 1/3)
Apr  5 23:09:27 iot-ThinkPad-E450 NetworkManager[1068]: <info>
[1554485967.8695] device (wlp4s0): supplicant interface state:
authenticating -> associating
Apr  5 23:09:27 iot-ThinkPad-E450 kernel: [ 1037.549371] wlp4s0: RX
AssocResp from 58:d5:6e:c4:1a:29 (capab=0x411 status=0 aid=2)
Apr  5 23:09:27 iot-ThinkPad-E450 wpa_supplicant[1239]: wlp4s0:
Associated with 58:d5:6e:c4:1a:29
Apr  5 23:09:27 iot-ThinkPad-E450 kernel: [ 1037.550668] wlp4s0: associated
Apr  5 23:09:27 iot-ThinkPad-E450 NetworkManager[1068]: <info>
[1554485967.8801] device (wlp4s0): supplicant interface state:
associating -> associated
Apr  5 23:09:28 iot-ThinkPad-E450 NetworkManager[1068]: <info>
[1554485968.8760] device (wlp4s0): supplicant interface state:
associated -> 4-way handshake
Apr  5 23:09:38 iot-ThinkPad-E450 wpa_supplicant[1239]: wlp4s0:
Authentication with 58:d5:6e:c4:1a:29 timed out.
Apr  5 23:09:38 iot-ThinkPad-E450 kernel: [ 1048.547366] wlp4s0:
deauthenticating from 58:d5:6e:c4:1a:29 by local choice (Reason:
3=DEAUTH_LEAVING)
Apr  5 23:09:38 iot-ThinkPad-E450 wpa_supplicant[1239]: wlp4s0:
CTRL-EVENT-DISCONNECTED bssid=58:d5:6e:c4:1a:29 reason=3
locally_generated=1
Apr  5 23:09:38 iot-ThinkPad-E450 wpa_supplicant[1239]: wlp4s0: WPA:
4-Way Handshake failed - pre-shared key may be incorrect
Apr  5 23:09:38 iot-ThinkPad-E450 wpa_supplicant[1239]: wlp4s0:
CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="anil" auth_failures=1
duration=10 reason=WRONG_KEY
Apr  5 23:09:38 iot-ThinkPad-E450 NetworkManager[1068]: <warn>
[1554485978.8810] sup-iface[0xaeca20,wlp4s0]: connection disconnected
(reason -3)
Apr  5 23:09:38 iot-ThinkPad-E450 NetworkManager[1068]: <info>
[1554485978.8861] device (wlp4s0): supplicant interface state: 4-way
handshake -> disconnected
Apr  5 23:09:38 iot-ThinkPad-E450 NetworkManager[1068]: <info>
[1554485978.8881] device (wlp4s0): Activation: (wifi) disconnected
during association, asking for new key
Apr  5 23:09:38 iot-ThinkPad-E450 NetworkManager[1068]: <info>
[1554485978.8883] device (wlp4s0): state change: config -> need-auth
(reason 'supplicant-disconnect') [50 60 8]



-- 
Thanks & Regards
Janardhanachari Kella

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux