[RESOLVED] WPA_SUPPLICANT Issues

Issues related to configuring your network
Post Reply
Snow
Posts: 2
Joined: 2013/05/14 22:58:40

[RESOLVED] WPA_SUPPLICANT Issues

Post by Snow » 2013/05/16 02:48:50

Hey there, I'm trying to connect my CentOS6 server to a WPA2-Personal (TKIP+AES) network.
My adapter is using the wlan0 interface.

I'll show you my configuration files.

[code]
cat /etc/sysconfig/network-scripts/ifcfg-wlan0
ONBOOT=yes
USERCTL=yes

cat /etc/sysconfig/wpa_supplicant
INTERFACES="-iwlan0"
DRIVERS="-Dwext"
OTHER_ARGS="-u -f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid"

cat /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="Magnate Network"
#psk="abcdabcdabcdabcdabcdab"
psk=aaabcfece74733e12a899d234c6dab3e89128bf9d0cbca0dcb52dbbfc0499681
}
[/code]
Now I will run iwconfig, which outputs the following.

[quote]
wlan0 IEEE 802.11bgn ESSID:"Magnate Network"
Mode:Managed Frequency:2.437 GHz Access Point: E8:40:F2:CD:1A:9B
Bit Rate=1 Mb/s Tx-Power=27 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=60/70 Signal level=-50 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:7 Missed beacon:0
[/quote]
Now I will run ifconfig, which outputs the following.

[quote]
wlan0 Link encap:Ethernet HWaddr 80:1F:02:08:A0:30
inet6 addr: fe80::821f:2ff:fe08:a030/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3230 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:739500 (722.1 KiB) TX bytes:1009 (1009.0 b)
[/quote]
Now I will run iwlist wlan0 scan, which outputs the following.

[quote]
wlan0 Scan completed :
Cell 01 - Address: 00:25:9C:17:51:81
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=36/70 Signal level=-74 dBm
Encryption key:on
ESSID:"FBI Surveillance Van"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000006025b1c877
Extra: Last beacon: 902ms ago
IE: Unknown: 0014464249205375727665696C6C616E63652056616E
IE: Unknown: 010882848B962430486C
IE: Unknown: 030101
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown: 2D1A7C181BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1601081100000000000000000000000000000000000000
IE: Unknown: DD6F0050F204104A00011010440001021041000100103B00010310470010153EFE2AC0910E1996FEBE571D67A9B7102100074C696E6B737973102300075752543136304E102400063132333435361042000234321054000800060050F2040001101100075752543136304E100800020084
IE: Unknown: DD090010180200F4050000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
IE: Unknown: DD1E00904C337C181BFFFF000000000000000000000000000000000000000000
IE: Unknown: DD1A00904C3401081100000000000000000000000000000000000000
Cell 02 - Address: E8:40:F2:CD:1A:9B
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=58/70 Signal level=-52 dBm
Encryption key:on
ESSID:"Magnate Network"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=00000053fcd93198
Extra: Last beacon: 380ms ago
IE: Unknown: 000F4D61676E617465204E6574776F726B
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown: 2D1A7C181BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1606080400000000000000000000000000000000000000
IE: Unknown: DD6F0050F204104A0001101044000102103B000103104700104D73C5C27E6B5243D6440AAB1719670B10210005436973636F10230005436973636F1024000631323334353610420007303030303030311054000800060050F204000110110006306531363732100800020088103C000101
IE: Unknown: DD090010180206F0040000
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
Cell 03 - Address: EA:40:F2:CD:1A:9C
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=58/70 Signal level=-52 dBm
Encryption key:on
ESSID:""
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=00000053fcd9395f
Extra: Last beacon: 378ms ago
IE: Unknown: 000A00000000000000000000
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 050400010000
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown: 2D1A7C181BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1606080400000000000000000000000000000000000000
IE: Unknown: DD090010180207F0040000
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
Cell 04 - Address: 00:22:2D:50:46:92
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=28/70 Signal level=-82 dBm
Encryption key:on
ESSID:"Runner"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000039b2e551ea
Extra: Last beacon: 49ms ago
IE: Unknown: 000652756E6E6572
IE: Unknown: 010582848B962C
IE: Unknown: 03010B
IE: Unknown: 2A0100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32080C1218243048606C
[/quote]
So I run wpa_supplicant -d -Dwext -wlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf, getting the following output.

[quote]
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=23
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Disassociation notification
Added BSSID e8:40:f2:cd:1a:9b into blacklist
Setting scan request: 0 sec 100000 usec
CTRL-EVENT-DISCONNECTED bssid=e8:40:f2:cd:1a:9b reason=0
Disconnect event - remove keys
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=23
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b19 len=8
Received 1254 bytes of scan results (3 BSSes)
BSS: Start scan result update 2
New scan results available
RSN: Ignored PMKID candidate without preauth flag
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: e8:40:f2:cd:1a:9b ssid='Magnate Network' wpa_ie_len=0 rsn_ie_len=24 caps=0x11
skip - blacklisted (count=1 limit=0)
1: ea:40:f2:cd:1a:9c ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
skip - SSID mismatch
2: 00:22:2d:50:46:92 ssid='Runner' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
skip - SSID mismatch
Try to find non-WPA AP
0: e8:40:f2:cd:1a:9b ssid='Magnate Network' wpa_ie_len=0 rsn_ie_len=24 caps=0x11
skip - non-WPA network not allowed
1: ea:40:f2:cd:1a:9c ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
skip - SSID mismatch
2: 00:22:2d:50:46:92 ssid='Runner' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
skip - SSID mismatch
No APs found - clear blacklist and try again
Removed BSSID e8:40:f2:cd:1a:9b from blacklist (clear)
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: e8:40:f2:cd:1a:9b ssid='Magnate Network' wpa_ie_len=0 rsn_ie_len=24 caps=0x11
selected based on RSN IE
selected WPA AP e8:40:f2:cd:1a:9b ssid='Magnate Network'
Request association: reassociate: 0 selected: e8:40:f2:cd:1a:9b bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: DISCONNECTED
Trying to associate with e8:40:f2:cd:1a:9b (SSID='Magnate Network' freq=2437 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
RSN: PMKSA cache search - network_ctx=0x9dbab90 try_opportunistic=0
RSN: Search for BSSID e8:40:f2:cd:1a:9b
RSN: No PMKSA cache entry found
RSN: using IEEE 802.11i/D9.0
WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 2
WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 0c 00
WPA: using GTK TKIP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
No keys have been configured - skip key clearing
State: DISCONNECTED -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_psk
Setting authentication timeout: 20 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP fail=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portControl=Auto
EAPOL: Supplicant port status: Unauthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=23
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Disassociation notification
Added BSSID e8:40:f2:cd:1a:9b into blacklist
Setting scan request: 0 sec 100000 usec
CTRL-EVENT-DISCONNECTED bssid=e8:40:f2:cd:1a:9b reason=0
Disconnect event - remove keys
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=23
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8c08 len=113
AssocResp IE wireless event - hexdump(len=105): 01 08 82 84 8b 96 24 30 48 6c 32 04 0c 12 18 60 2d 1a 7c 18 1b ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3d 16 06 08 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 09 00 10 18 02 06 f0 04 00 00 dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: e8:40:f2:cd:1a:9b
Association info event
resp_ies - hexdump(len=105): 01 08 82 84 8b 96 24 30 48 6c 32 04 0c 12 18 60 2d 1a 7c 18 1b ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3d 16 06 08 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 09 00 10 18 02 06 f0 04 00 00 dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
State: DISCONNECTED -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
Associated to a new BSS: BSSID=e8:40:f2:cd:1a:9b
No keys have been configured - skip key clearing
Associated with e8:40:f2:cd:1a:9b
WPA: Association event - clear replay counter
RSN: PMKSA cache search - network_ctx=0x9dbab90 try_opportunistic=0
RSN: Search for BSSID e8:40:f2:cd:1a:9b
RSN: No PMKSA cache entry found
WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
Setting authentication timeout: 10 sec 0 usec
Cancelling scan request
RX EAPOL from e8:40:f2:cd:1a:9b
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=2 type=3 length=117
EAPOL-Key type=2
key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)
key_length=16 key_data_length=22
replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 06
key_nonce - hexdump(len=32): 23 3a 33 44 00 6a b7 9f 95 8c c5 da a3 50 03 f8 32 78 03 d8 dd f6 54 b3 8c 7a 9c 77 b1 2c b3 1c
key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
State: ASSOCIATED -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from e8:40:f2:cd:1a:9b (ver=2)
RSN: msg 1/4 key data - hexdump(len=22): dd 14 00 0f ac 04 c0 1f d6 46 34 22 c5 bb b1 eb 12 eb 77 f8 55 db
WPA: PMKID in EAPOL-Key - hexdump(len=22): dd 14 00 0f ac 04 c0 1f d6 46 34 22 c5 bb b1 eb 12 eb 77 f8 55 db
RSN: PMKID from Authenticator - hexdump(len=16): c0 1f d6 46 34 22 c5 bb b1 eb 12 eb 77 f8 55 db
RSN: no matching PMKID found
WPA: Renewed SNonce - hexdump(len=32): 00 2c 8d 5d 7e c2 8e f2 1d 34 3b fc 87 cc e7 71 79 75 12 ce 46 e0 c7 10 f4 7d 44 15 39 fa 7e ff
WPA: PTK derivation - A1=80:1f:02:08:a0:30 A2=e8:40:f2:cd:1a:9b
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=48): [REMOVED]
WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
WPA: Sending EAPOL-Key 2/4
RX EAPOL from e8:40:f2:cd:1a:9b
IEEE 802.1X RX: version=2 type=3 length=175
EAPOL-Key type=2
key_info 0x13ca (ver=2 keyidx=0 rsvd=0 Pairwise Install Ack MIC Secure Encr)
key_length=16 key_data_length=80
replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 07
key_nonce - hexdump(len=32): 23 3a 33 44 00 6a b7 9f 95 8c c5 da a3 50 03 f8 32 78 03 d8 dd f6 54 b3 8c 7a 9c 77 b1 2c b3 1c
key_iv - hexdump(len=16): 32 78 03 d8 dd f6 54 b3 8c 7a 9c 77 b1 2c b3 1d
key_rsc - hexdump(len=8): c2 11 00 00 00 00 00 00
key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
key_mic - hexdump(len=16): 76 fc df b4 2b eb 95 9b f9 eb 06 3d 77 58 a2 bc
WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
WPA: Could not verify EAPOL-Key MIC - dropping packet
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
EAPOL: startWhen --> 0
EAPOL: disable timer tick
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: enable timer tick
EAPOL: txStart
WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
^CCTRL-EVENT-TERMINATING - signal 2 received
Removing interface wlan0
wpa_driver_wext_deauthenticate
No keys have been configured - skip key clearing
State: 4WAY_HANDSHAKE -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing
Removed BSSID e8:40:f2:cd:1a:9b from blacklist (clear)
BSS: Remove id 0 BSSID e8:40:f2:cd:1a:9b SSID 'Magnate Network'
BSS: Remove id 1 BSSID ea:40:f2:cd:1a:9c SSID ''
BSS: Remove id 2 BSSID 00:22:2d:50:46:92 SSID 'Runner'
Cancelling scan request
Cancelling authentication timeout
netlink: Operstate: linkmode=0, operstate=6
[/quote]
That last bit just continues scanning..

Honestly, I don't know what to do at this point.
I followed the following article, which didn't work:
http://wiki.centos.org/HowTos/Laptops/WpaSupplicant
I also used the wpa_passphrase ESSID PASSWORD > wpa_supplicant.conf

I don't know what to do now..
I looked over sample configs for wpa_supplicant, but I just get different errors.
Any ideas?

Snow
Posts: 2
Joined: 2013/05/14 22:58:40

Re: [RESOLVED] WPA_SUPPLICANT Issues

Post by Snow » 2013/05/16 03:27:32

Okay, I solved the issue.

I needed to run the following command:
[code]
wpa_supplicant -B -i wlan0 -c <(wpa_passphrase "Magnate Network" abcdabcdabcdabcdabcdab)
[/code]
Changed the ifcfg-wlan0 settings:
[code]
DEVICE=wlan0
TYPE=wireless
ONBOOT=yes
USERCTL=yes
BOOTPROTO=none
HWADDR=80:1F:02:08:A0:30
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
NETMASK=255.255.255.0
IPADDR=192.168.0.254
NM_CONTROLLED=no
[/code]
Ran:
[code]
service network restart
[/code]
Bam! It works, we have life.
Hope this helps others.

Post Reply