iPXE discussion forum
[ath9k] cannot authociate in wireless network - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: [ath9k] cannot authociate in wireless network (/showthread.php?tid=7943)



[ath9k] cannot authociate in wireless network - DongHwan Jung - 2016-02-03 07:56

hello, iPXE contributors.
I try to connect to AP by using wireless network but it's unexpected operating.

My action phase--------------------------------------

-In Linux -------------------------------------------

make bin/ipxe.usb DEBUG=net80211,wpa_psk:3,wpa:3
sudo dd if=bin/ipxe.usb of=/dev/sdb

-In iPXE --------------------------------------------

iPXE> ifstat
net0: 1c:65:9d:7f:4eBig Grin3 using ar9285 on PCI02:00.0 (closed)
[Link:down, TX:28 TXE:0 RX:10 RXE:4]
[Link status: Unknown (http://ipxe.org/1a086101)]

iPXE> iwlist
Networks on net0:

[Sig] SSID BSSID Ch Crypt/Auth
------------------------------------------------------------------
...
[ 55] XDXDX_XedXod 00:09:9*:**:93Big Grinc 2 WPA PSK
...

iPXE> set net0/ssid XDXDX_XedXod
iPXE> set net0/key &12341234
iPXE> dhcp
Waiting for link-up on net0....
802.11 0xd67fc found network XDXDX_XedXod (00:09:9*:**:93Big Grinc)
802.11 0xd67fc authnticating with method 0
802.11 0xd67fc associating
WPA-PSK 0xdc1c8: derived PMK from passphrase '&12341234'
0016bed7 : 52 cc 15 2a 31 1d 89 5d-71 51 a7 df c1 02 10 65 : R..*1..]qQ.....e
0016bee7 : c4 79 5f 76 19 5c 48 1f-bb 46 3b 95 48 e1 22 0e : .y_v.\H..F;.H".
802.11 0xd67fc security handshaking
802.11 0xd67fc security handshaking
WPA 0xdb9d8: received 1/4, looks OK
WPA 0xdb9d8 A1 1c:65:9d:7f:4eBig Grin3, A2 1c:65:9d:7f:4eBig Grin3
WPA 0xdb9d8 Nonce1, Nonce2:
0016beb4 : 71 e4 87 a3 9e 11 d7 89-1a 60 40 08 eb 08 d6 e0 : [omitted]
0016bec4 : 79 35 5a 70 c9 8b db c1-29 c7 9c e3 ee ea 25 c3 : [omitted]
0016bed4 : 2a 39 4d bc d4 6e c0 2b-3e 2a f2 f5 41 d9 87 c7 : [omitted]
0016bee4 : 71 6a 4e 2e c7 dc 38 eb-be 4c 5e 54 28 4e e4 75 : [omitted]
WPA 0xdb9d8 PTK :
[omitted]
WPA 0xdb9d8:sending 2/4
802.11 0xd67fc security handshaking
802.11 0xd67fc security handshaking
802.11 0xd67fc disassociated: reason 14
....

----------------------------------------------------------------------------------

if you worder about more detail, refer to youtube video(https://www.youtube.com/watch?v=4pgzQaxqViQ)

I wanna settle this problem myself...
many times printing log, again and again fixing and operating ....
but, I can't solve this problem.

I gracefully plead with you to solve this problem.
thank you.


RE: [ath9k] cannot authociate in wireless network - mcb30 - 2016-02-03 20:35

(2016-02-03 07:56)DongHwan Jung Wrote:  802.11 0xd67fc disassociated: reason 14

If it helps, reason 14 is IEEE80211_REASON_MIC_FAILURE.

Michael


RE: [ath9k] cannot authociate in wireless network - DongHwan Jung - 2016-02-04 06:56

(2016-02-03 20:35)mcb30 Wrote:  
(2016-02-03 07:56)DongHwan Jung Wrote:  802.11 0xd67fc disassociated: reason 14

If it helps, reason 14 is IEEE80211_REASON_MIC_FAILURE.

Michael

Sorry, I don't understand your advice.
I have googling 'reason mic failure' but I cannot get helpful information.
Excuse me, do you watch the attached youtube video?

In addition, i find strange phenomenon in this debug log.
That is-------
Quote:WPA 0xdb9d8 A1 1c:65:9d:7f:4eBig Grin3, A2 1c:65:9d:7f:4eBig Grin3
--------------
this log is derived function 'wpa_derive_ptk()' in 'net/80211/wpa.c'
A1 is 'ptk_data.mac1' and A2 is 'ptk_data.mac2'.
I think A1 sending to A2 and A2 receive from A1
but A1, A2 are same MAC ADDRESS!!
Umm?? what does phenomenon mean?
is A1 sending to itself, A1 receive from itself?
I think the wrong understanding?

I continues to find out the problems... but if you know that,
inform me the solution.

thank you.