1 |
Hi everyone, |
2 |
I've tried to sort this out on the gentoo forum but without success. |
3 |
I want to use Wifi on my laptop and I use wpa_supplicant with atheros card. It works if I choose WEP encryption but I can't get it to work if I choose WPA-PSK. |
4 |
I use wpa_supplicant v0.3.8 |
5 |
|
6 |
Here is the output of running 'wpa_supplicant -iath0 -c/etc/wpa_supplicant.conf -Dmadwifi -dd' |
7 |
*** |
8 |
Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver 'madwifi' |
9 |
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' |
10 |
Reading configuration file '/etc/wpa_supplicant.conf' |
11 |
ctrl_interface='/var/run/wpa_supplicant' |
12 |
ctrl_interface_group=0 |
13 |
eapol_version=1 |
14 |
ap_scan=1 |
15 |
Line: 187 - start of a new network block |
16 |
ssid - hexdump_ascii(len=10): |
17 |
obscured my_ssid |
18 |
PSK (ASCII passphrase) - hexdump_ascii(len=18): [REMOVED] |
19 |
PSK (from passphrase) - hexdump(len=32): [REMOVED] |
20 |
Priority group 0 |
21 |
id=0 ssid='my_ssid' |
22 |
Initializing interface (2) 'ath0' |
23 |
EAPOL: SUPP_PAE entering state DISCONNECTED |
24 |
EAPOL: KEY_RX entering state NO_KEY_RECEIVE |
25 |
EAPOL: SUPP_BE entering state INITIALIZE |
26 |
EAP: EAP entering state DISABLED |
27 |
EAPOL: External notification - portEnabled=0 |
28 |
EAPOL: External notification - portValid=0 |
29 |
Own MAC address: 00:02:8a:b8:15:1e |
30 |
wpa_driver_madwifi_set_wpa: enabled=1 |
31 |
wpa_driver_madwifi_del_key: keyidx=0 |
32 |
wpa_driver_madwifi_del_key: keyidx=1 |
33 |
wpa_driver_madwifi_del_key: keyidx=2 |
34 |
wpa_driver_madwifi_del_key: keyidx=3 |
35 |
wpa_driver_madwifi_set_countermeasures: enabled=0 |
36 |
wpa_driver_madwifi_set_drop_unencrypted: enabled=1 |
37 |
Setting scan request: 0 sec 100000 usec |
38 |
Wireless event: cmd=0x8b06 len=8 |
39 |
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added |
40 |
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added |
41 |
Starting AP scan (broadcast SSID) |
42 |
Wireless event: cmd=0x8b1a len=12 |
43 |
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0 |
44 |
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0 |
45 |
Wireless event: cmd=0x8b19 len=12 |
46 |
Received 459 bytes of scan results (2 BSSes) |
47 |
Scan results: 2 |
48 |
Selecting BSS from priority group 0 |
49 |
0: 00:05:b4:07:e9:91 ssid='my_ssid' wpa_ie_len=26 rsn_ie_len=0 |
50 |
selected |
51 |
Trying to associate with 00:05:b4:07:e9:91 (SSID='my_ssid' freq=2437 MHz) |
52 |
Cancelling scan request |
53 |
Automatic auth_alg selection: 0x1 |
54 |
WPA: using IEEE 802.11i/D3.0 |
55 |
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 |
56 |
WPA: using GTK TKIP |
57 |
WPA: using PTK TKIP |
58 |
WPA: using KEY_MGMT WPA-PSK |
59 |
WPA: Own WPA IE - hexdump(len=24): obscured |
60 |
No keys have been configured - skip key clearing |
61 |
wpa_driver_madwifi_set_drop_unencrypted: enabled=1 |
62 |
wpa_driver_madwifi_associate |
63 |
Setting authentication timeout: 5 sec 0 usec |
64 |
EAPOL: External notification - EAP success=0 |
65 |
EAPOL: External notification - EAP fail=0 |
66 |
EAPOL: External notification - portControl=Auto |
67 |
Wireless event: cmd=0x8b1a len=23 |
68 |
Wireless event: cmd=0x8b15 len=20 |
69 |
Wireless event: new AP: 00:05:b4:07:e9:91 |
70 |
Association event - clear replay counter |
71 |
Associated to a new BSS: BSSID=00:05:b4:07:e9:91 |
72 |
No keys have been configured - skip key clearing |
73 |
Associated with 00:05:b4:07:e9:91 |
74 |
EAPOL: External notification - portEnabled=0 |
75 |
EAPOL: External notification - portValid=0 |
76 |
EAPOL: External notification - EAP success=0 |
77 |
EAPOL: External notification - portEnabled=1 |
78 |
EAPOL: SUPP_PAE entering state CONNECTING |
79 |
EAPOL: txStart |
80 |
WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0) |
81 |
EAPOL: SUPP_BE entering state IDLE |
82 |
EAP: EAP entering state INITIALIZE |
83 |
EAP: EAP entering state IDLE |
84 |
Setting authentication timeout: 10 sec 0 usec |
85 |
RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added |
86 |
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=29 idleWhile=59 |
87 |
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=28 idleWhile=58 |
88 |
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=27 idleWhile=57 |
89 |
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=26 idleWhile=56 |
90 |
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=25 idleWhile=55 |
91 |
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=24 idleWhile=54 |
92 |
RX EAPOL from 00:05:b4:07:e9:8e |
93 |
RX EAPOL - hexdump(len=99): obscured |
94 |
Setting authentication timeout: 10 sec 0 usec |
95 |
EAPOL: Ignoring WPA EAPOL-Key frame in EAPOL state machines |
96 |
IEEE 802.1X RX: version=1 type=3 length=95 |
97 |
EAPOL-Key type=254 |
98 |
WPA: RX EAPOL-Key - hexdump(len=99): obscured |
99 |
WPA: RX message 1 of 4-Way Handshake from 00:05:b4:07:e9:8e (ver=1) |
100 |
WPA: WPA IE for msg 2/4 - hexdump(len=24): obscured |
101 |
WPA: Renewed SNonce - hexdump(len=32): obscured |
102 |
WPA: PMK - hexdump(len=32): [REMOVED] |
103 |
WPA: PTK - hexdump(len=64): [REMOVED] |
104 |
WPA: EAPOL-Key MIC - hexdump(len=16): obscured |
105 |
WPA: Sending EAPOL-Key 2/4 |
106 |
WPA: TX EAPOL-Key 2/4 - hexdump(len=137): obscured |
107 |
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=23 idleWhile=53 |
108 |
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=22 idleWhile=52 |
109 |
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=21 idleWhile=51 |
110 |
RX EAPOL from 00:05:b4:07:e9:8e |
111 |
RX EAPOL - hexdump(len=99): obscured |
112 |
EAPOL: Ignoring WPA EAPOL-Key frame in EAPOL state machines |
113 |
IEEE 802.1X RX: version=1 type=3 length=95 |
114 |
EAPOL-Key type=254 |
115 |
WPA: RX EAPOL-Key - hexdump(len=99): obscured |
116 |
WPA: RX message 1 of 4-Way Handshake from 00:05:b4:07:e9:8e (ver=1) |
117 |
WPA: WPA IE for msg 2/4 - hexdump(len=24): obscured |
118 |
WPA: PMK - hexdump(len=32): [REMOVED] |
119 |
WPA: PTK - hexdump(len=64): [REMOVED] |
120 |
WPA: EAPOL-Key MIC - hexdump(len=16): obscured |
121 |
WPA: Sending EAPOL-Key 2/4 |
122 |
WPA: TX EAPOL-Key 2/4 - hexdump(len=137): obscured |
123 |
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=20 idleWhile=50 |
124 |
Signal 2 received - terminating |
125 |
wpa_driver_madwifi_deauthenticate |
126 |
No keys have been configured - skip key clearing |
127 |
EAPOL: External notification - portEnabled=0 |
128 |
EAPOL: SUPP_PAE entering state DISCONNECTED |
129 |
EAPOL: SUPP_BE entering state INITIALIZE |
130 |
EAP: EAP entering state DISABLED |
131 |
EAPOL: External notification - portValid=0 |
132 |
wpa_driver_madwifi_set_wpa: enabled=0 |
133 |
wpa_driver_madwifi_set_drop_unencrypted: enabled=0 |
134 |
wpa_driver_madwifi_set_countermeasures: enabled=0 |
135 |
*** |
136 |
it stops when I hit ctrl-C, otherwise it goes on and on... |
137 |
|
138 |
My config file is: |
139 |
ctrl_interface=/var/run/wpa_supplicant |
140 |
ctrl_interface_group=0 |
141 |
eapol_version=1 |
142 |
ap_scan=1 |
143 |
network={ |
144 |
ssid="my_ssid" |
145 |
psk="my psk phrase" |
146 |
} |
147 |
|
148 |
Nothing too fancy in the network block. Should I change anything? |
149 |
When I use WEP, the network block is as follows |
150 |
network={ |
151 |
ssid="my_ssid" |
152 |
key_mgmt=NONE |
153 |
wep_key0=mywepkey |
154 |
} |
155 |
|
156 |
Any help appreciated! |
157 |
|
158 |
Thanks a lot, |
159 |
|
160 |
Nicolas |
161 |
-- |
162 |
gentoo-laptop@g.o mailing list |