2008-08-11 08:49:53

by Jan Willies

[permalink] [raw]
Subject: unable to associate with WPA-AP - rt2x00-2.1.8

ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel' (DEPRECATED)
Priority group 0
id=0 ssid='harribert'
Initializing interface (2) 'wlan0'
Interface wlan0 set UP - waiting a second for the driver to complete initialization
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:11:09:be:de:4f
wpa_driver_wext_set_wpa
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_countermeasures
wpa_driver_wext_set_drop_unencrypted
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
ctrl_interface_group=10 (from group name 'wheel')
Added interface wlan0
Ignore event for foreign ifindex 3
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 276 bytes of scan results (1 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:18:84:26:44:0d ssid='harribert' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
selected based on WPA IE
selected WPA AP 00:18:84:26:44:0d ssid='harribert'
Try to find non-WPA AP
Trying to associate with 00:18:84:26:44:0d (SSID='harribert' freq=2462 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: DISCONNECTED -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
Setting authentication timeout: 20 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b04 len=12
EAPOL: disable timer tick
Authentication with 00:18:84:26:44:0d timed out.
Added BSSID 00:18:84:26:44:0d into blacklist
No keys have been configured - skip key clearing
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 275 bytes of scan results (1 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:18:84:26:44:0d ssid='harribert' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
selected based on WPA IE
selected WPA AP 00:18:84:26:44:0d ssid='harribert'
Try to find non-WPA AP
Trying to associate with 00:18:84:26:44:0d (SSID='harribert' freq=2462 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
Setting authentication timeout: 20 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b04 len=12
Authentication with 00:18:84:26:44:0d timed out.
BSSID 00:18:84:26:44:0d blacklist count incremented to 2
No keys have been configured - skip key clearing
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 276 bytes of scan results (1 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:18:84:26:44:0d ssid='harribert' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
skip - blacklisted
Try to find non-WPA AP
0: 00:18:84:26:44:0d ssid='harribert' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
skip - blacklisted
No APs found - clear blacklist and try again
Removed BSSID 00:18:84:26:44:0d from blacklist (clear)
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:18:84:26:44:0d ssid='harribert' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
selected based on WPA IE
selected WPA AP 00:18:84:26:44:0d ssid='harribert'
Try to find non-WPA AP
Trying to associate with 00:18:84:26:44:0d (SSID='harribert' freq=2462 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
Setting authentication timeout: 20 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 276 bytes of scan results (1 BSSes)
CTRL-EVENT-SCAN-RESULTS
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 00:18:84:26:44:0d ssid='harribert' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
selected based on WPA IE
selected WPA AP 00:18:84:26:44:0d ssid='harribert'
Try to find non-WPA AP
Already associated with the selected AP.
Authentication with 00:18:84:26:44:0d timed out.
Added BSSID 00:18:84:26:44:0d into blacklist
No keys have been configured - skip key clearing


Attachments:
wpa.log (8.27 kB)

2008-08-12 13:32:25

by John W. Linville

[permalink] [raw]
Subject: Re: unable to associate with WPA-AP - rt2x00-2.1.8

On Mon, Aug 11, 2008 at 11:46:19PM +0200, Ivo van Doorn wrote:
> On Monday 11 August 2008, Jan Willies wrote:
> > Ivo van Doorn wrote:
> > > On Monday 11 August 2008, Jan Willies wrote:
> > >> I'm using Fedore9 and since the last update I cannot associate my rt2500pci card anymore, it's running into a timeout. I'm not seeing any log entries on the AP.
> > >>
> > >> rt2500pci is version 2.1.8
> > >
> > > I think this should have been fixed by patch:
> > > http://lkml.org/lkml/2008/7/31/35
> > >
> > > But I don't know if John has merged that patch to FC9 yet.

FWIW, someone else is (supposedly) now handling pushing fixes to
Fedora. Unfortunately I don't see any evidence that many recent
fixes have been pushed there...

> I was planning to send the patch for 2.6.26 seperately, but saw that John already
> converted the patch correctly.
> I'll double check where the patches are heading, and one is at least moving
> toways 2.6.26-stable.

I don't think one is. You should probably send something to
[email protected].

John
--
John W. Linville
[email protected]

2008-08-11 22:18:59

by Jan Willies

[permalink] [raw]
Subject: Re: unable to associate with WPA-AP - rt2x00-2.1.8

Jan Willies wrote:
> Ivo van Doorn wrote:
>> On Monday 11 August 2008, Jan Willies wrote:
>>> I'm using Fedore9 and since the last update I cannot associate my rt2500pci card anymore, it's running into a timeout. I'm not seeing any log entries on the AP.
>>>
>>> rt2500pci is version 2.1.8
>> I think this should have been fixed by patch:
>> http://lkml.org/lkml/2008/7/31/35
>>
>> But I don't know if John has merged that patch to FC9 yet.
>
> I tried compat-wireless from today which doesn't have the patch, and it didn't work. Applying the fix from above results in a not-compiling compat-wireless:

Ok, I did not see the other mail in the thread. It compiles fine now, but the result is still the same :/


- Jan


2008-08-11 18:29:03

by Jan Willies

[permalink] [raw]
Subject: Re: unable to associate with WPA-AP - rt2x00-2.1.8

Ivo van Doorn wrote:
> On Monday 11 August 2008, Jan Willies wrote:
>> I'm using Fedore9 and since the last update I cannot associate my rt2500pci card anymore, it's running into a timeout. I'm not seeing any log entries on the AP.
>>
>> rt2500pci is version 2.1.8
>
> I think this should have been fixed by patch:
> http://lkml.org/lkml/2008/7/31/35
>
> But I don't know if John has merged that patch to FC9 yet.

I tried compat-wireless from today which doesn't have the patch, and it didn't work. Applying the fix from above results in a not-compiling compat-wireless:

CC [M] /home/elke/src/compat-wireless-2008-08-06/drivers/net/wireless/rt2x00/rt2500pci.o
/home/elke/src/compat-wireless-2008-08-06/drivers/net/wireless/rt2x00/rt2500pci.c: In function 'rt2500pci_write_tx_desc':
/home/elke/src/compat-wireless-2008-08-06/drivers/net/wireless/rt2x00/rt2500pci.c:1223: error: 'struct skb_frame_desc' has no member named 'data_len'
make[4]: *** [/home/elke/src/compat-wireless-2008-08-06/drivers/net/wireless/rt2x00/rt2500pci.o] Error 1
make[3]: *** [/home/elke/src/compat-wireless-2008-08-06/drivers/net/wireless/rt2x00] Error 2
make[2]: *** [/home/elke/src/compat-wireless-2008-08-06/drivers/net/wireless] Error 2
make[1]: *** [_module_/home/elke/src/compat-wireless-2008-08-06] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.25.11-97.fc9.i686'


- Jan

2008-08-11 21:17:59

by Ivo Van Doorn

[permalink] [raw]
Subject: Re: unable to associate with WPA-AP - rt2x00-2.1.8

On Monday 11 August 2008, Jan Willies wrote:
> Ivo van Doorn wrote:
> > On Monday 11 August 2008, Jan Willies wrote:
> >> I'm using Fedore9 and since the last update I cannot associate my rt2500pci card anymore, it's running into a timeout. I'm not seeing any log entries on the AP.
> >>
> >> rt2500pci is version 2.1.8
> >
> > I think this should have been fixed by patch:
> > http://lkml.org/lkml/2008/7/31/35
> >
> > But I don't know if John has merged that patch to FC9 yet.
>
> I tried compat-wireless from today which doesn't have the patch, and it didn't work. Applying the fix from above results in a not-compiling compat-wireless:
>
> CC [M] /home/elke/src/compat-wireless-2008-08-06/drivers/net/wireless/rt2x00/rt2500pci.o
> /home/elke/src/compat-wireless-2008-08-06/drivers/net/wireless/rt2x00/rt2500pci.c: In function 'rt2500pci_write_tx_desc':
> /home/elke/src/compat-wireless-2008-08-06/drivers/net/wireless/rt2x00/rt2500pci.c:1223: error: 'struct skb_frame_desc' has no member named 'data_len'
> make[4]: *** [/home/elke/src/compat-wireless-2008-08-06/drivers/net/wireless/rt2x00/rt2500pci.o] Error 1
> make[3]: *** [/home/elke/src/compat-wireless-2008-08-06/drivers/net/wireless/rt2x00] Error 2
> make[2]: *** [/home/elke/src/compat-wireless-2008-08-06/drivers/net/wireless] Error 2
> make[1]: *** [_module_/home/elke/src/compat-wireless-2008-08-06] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.25.11-97.fc9.i686'

That is correct, the patch is different for 2.6.26 and 2.6.27 (and wireless-compat).
I was planning to send the patch for 2.6.26 seperately, but saw that John already
converted the patch correctly.
I'll double check where the patches are heading, and one is at least moving
toways 2.6.26-stable.

Ivo

2008-08-11 17:49:48

by Ivo Van Doorn

[permalink] [raw]
Subject: Re: unable to associate with WPA-AP - rt2x00-2.1.8

On Monday 11 August 2008, Jan Willies wrote:
> Hello,
>
> I'm using Fedore9 and since the last update I cannot associate my rt2500pci card anymore, it's running into a timeout. I'm not seeing any log entries on the AP.
>
> rt2500pci is version 2.1.8

I think this should have been fixed by patch:
http://lkml.org/lkml/2008/7/31/35

But I don't know if John has merged that patch to FC9 yet.

Ivo

2008-08-11 22:19:55

by loswillios

[permalink] [raw]
Subject: Re: unable to associate with WPA-AP - rt2x00-2.1.8

Jan Willies wrote:
> Ivo van Doorn wrote:
>> On Monday 11 August 2008, Jan Willies wrote:
>>> I'm using Fedore9 and since the last update I cannot associate my rt2500pci card anymore, it's running into a timeout. I'm not seeing any log entries on the AP.
>>>
>>> rt2500pci is version 2.1.8
>> I think this should have been fixed by patch:
>> http://lkml.org/lkml/2008/7/31/35
>>
>> But I don't know if John has merged that patch to FC9 yet.
>
> I tried compat-wireless from today which doesn't have the patch, and it didn't work. Applying the fix from above results in a not-compiling compat-wireless:

Ok, I did not see the other mail in the thread. It compiles fine now, but the result is still the same :/


- Jan