Asus WL-167g USB wlan adapter - invalid aid value 2 problem?

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4885

jesperkp

14-07-2008 07:09:23

Fedora Core 9 (fully updated at time of test)
uname -a
---
Linux io.solnet 2.6.25.9-76.fc9.i686 #1 SMP Fri Jun 27 161435 EDT
2008 i686 athlon i386 GNU/Linux


When I insert the usb wlan adapteren

/var/log/messages
Jul 12 185858 io kernel usb 1-4.3 new high speed USB device using
ehci_hcd and address 8 Jul 12 185858 io kernel usb 1-4.3
configuration #1 chosen from 1 choice Jul 12 185858 io kernel
Registered led device rt73usb-phy4radio Jul 12 185858 io kernel
Registered led device rt73usb-phy4assoc Jul 12 185858 io kernel
Registered led device rt73usb-phy4quality Jul 12 185858 io kernel
usb 1-4.3 New USB device found, idVendor=0b05, idProduct=1723 Jul 12
185858 io kernel usb 1-4.3 New USB device strings Mfr=1,
Product=2, SerialNumber=0 Jul 12 185858 io kernel usb 1-4.3
Product 802.11 bg WLAN Jul 12 185858 io kernel usb 1-4.3
Manufacturer Ralink Jul 12 185859 io kernel ADDRCONF(NETDEV_UP)
wlan0 link is not ready Jul 12 185900 io kernel
ADDRCONF(NETDEV_CHANGE) wlan0 link becomes ready Jul 12 185904 io
NetworkManager <info> wlan0 Device is fully-supported using driver
'rt73usb'. Jul 12 185904 io NetworkManager <info> wlan0 driver
supports SSID scans (scan_capa 0x01). Jul 12 185904 io
NetworkManager <info> Found new wireless (802.11) device 'wlan0'. Jul
12 185904 io NetworkManager <info> (wlan0) exported
as /org/freedesktop/Hal/devices/net_00_1e_8c_39_f8_9d Jul 12 185908
io NetworkManager <info> (wlan0) device state change 1 -> 2 Jul 12
185908 io NetworkManager <info> (wlan0) preparing device. Jul 12
185908 io NetworkManager <info> (wlan0) deactivating device. Jul
12 185908 io NetworkManager <info> (wlan0) device state change 2
-> 3 Jul 12 185908 io NetworkManager <info> (wlan0) supplicant
interface state change 1 -> 2.


dmesg output
usb 1-4.3 new high speed USB device using ehci_hcd and address 8
usb 1-4.3 configuration #1 chosen from 1 choice
phy4 Selected rate control algorithm 'pid'
Registered led device rt73usb-phy4radio
Registered led device rt73usb-phy4assoc
Registered led device rt73usb-phy4quality
usb 1-4.3 New USB device found, idVendor=0b05, idProduct=1723
usb 1-4.3 New USB device strings Mfr=1, Product=2, SerialNumber=0
usb 1-4.3 Product 802.11 bg WLAN
usb 1-4.3 Manufacturer Ralink
ADDRCONF(NETDEV_UP) wlan0 link is not ready
wlan0 Initial auth_alg=0
wlan0 authenticate with AP 00116b308277
wlan0 RX authentication from 00116b308277 (alg=0 transaction=2
status=0) wlan0 authenticated
wlan0 associate with AP 00116b308277
wlan0 RX AssocResp from 00116b308277 (capab=0x401 status=0 aid=2)
wlan0 invalid aid value 2; bits 1514 not set
wlan0 associated
wlan0 switched to short barker preamble (BSSID=00116b308277)
ADDRCONF(NETDEV_CHANGE) wlan0 link becomes ready
wlan0 switched to long barker preamble (BSSID=00116b308277)
wlan0 Initial auth_alg=0
wlan0 authenticate with AP 00116b308277
wlan0 RX authentication from 00116b308277 (alg=0 transaction=2
status=0) wlan0 authenticated
wlan0 associate with AP 00116b308277
wlan0 RX AssocResp from 00116b308277 (capab=0x401 status=0 aid=2)
wlan0 invalid aid value 2; bits 1514 not set
wlan0 associated
wlan0 disassociate(reason=3)
wlan0 no IPv6 routers present
---

Some testing

iwconfig wlan0
wlan0 IEEE 802.11 ESSID"galaxy"
ModeManaged Frequency2.462 GHz Access Point
00116B308277 Bit Rate=1 Mb/s Tx-Power=9 dBm
Retry min limit7 RTS throff Fragment thr=2352 B
Encryption keyoff
Link Quality=31/100 Signal level-68 dBm
Rx invalid nwid0 Rx invalid crypt0 Rx invalid frag0
Tx excessive retries0 Invalid misc0 Missed beacon0

ifconfig wlan0
wlan0 Link encapEthernet HWaddr 001E8C39F89D
inet6 addr fe8021e8cfffe39f89d/64 ScopeLink
UP BROADCAST MULTICAST MTU1500 Metric1
RX packets1 errors0 dropped0 overruns0 frame0
TX packets24 errors0 dropped0 overruns0 carrier0
collisions0 txqueuelen1000
RX bytes58 (58.0 b) TX bytes4472 (4.3 KiB)

I run an unencrypted wireless network for testing
When I check my wireless accesspoint I do not see the unit in the active list (ie. no connection).

I have tried setting the ip information manually (both with system-config-network, and with command line tools) - no difference in result.

I do think the problem indicated in the dmesg may mean something significant

wlan0 RX AssocResp from 00116b308277 (capab=0x401 status=0 aid=2)
wlan0 invalid aid value 2; bits 1514 not set
wlan0 associated
wlan0 disassociate(reason=3)


Any ideas of where to go from here?

Thank you for your assistance.
Jesper KP

jesperkp

14-07-2008 07:12:54

As a sidenote I can confirm that I have selinux disabled

~]# getenforce
Disabled

jesperkp

14-07-2008 08:46:14

Quick update

Updating system with the latest cvs drivers fixed my problem (despite earlier kernel rt73 drivers working okey - so it seems that somewhere in the developement there were a bug introduced that was fixed again)

Sorry for this inconvenience.