Could not connect with either of these drivers from DWL G122 rev B1 to SMC 7004 VWBR where I had to set the 1Mbps transmission and basic rates in order for the other machines to connect to the access point.
(a) rt2500usb from Debian unstable 2.6.26-1-686 (version 2.6.26-11)
(b) rt2570-cvs-2008120722.
With the former driver, I was getting the "authentication frame received but not in authenticate state" message,
Code:
Dec 7 21:54:10 ei kernel: [34028.370480] rt: Initial auth_alg=0
Dec 7 21:54:10 ei kernel: [34028.370528] rt: authenticate with AP 00:04:e2:8e:86:aa
Dec 7 21:54:10 ei kernel: [34028.570243] rt: authenticate with AP 00:04:e2:8e:86:aa
Dec 7 21:54:10 ei kernel: [34028.769988] rt: authenticate with AP 00:04:e2:8e:86:aa
Dec 7 21:54:10 ei kernel: [34028.959761] rt: RX authentication from 00:04:e2:8e:86:aa (alg=0 transaction=2 status=0)
Dec 7 21:54:10 ei kernel: [34028.959794] rt: authenticated
Dec 7 21:54:10 ei kernel: [34028.959807] rt: associate with AP 00:04:e2:8e:86:aa
Dec 7 21:54:10 ei kernel: [34028.960515] rt: authentication frame received from 00:04:e2:8e:86:aa, but not in authenticate state - ignored
Dec 7 21:54:10 ei kernel: [34028.961803] rt: authentication frame received from 00:04:e2:8e:86:aa, but not in authenticate state - ignored
Dec 7 21:54:11 ei kernel: [34029.158184] rt: associate with AP 00:04:e2:8e:86:aa
Dec 7 21:54:11 ei kernel: [34029.359232] rt: associate with AP 00:04:e2:8e:86:aa
Dec 7 21:54:11 ei kernel: [34029.560545] rt: association with AP 00:04:e2:8e:86:aa timed out
Dec 7 21:54:12 ei kernel: [34030.312706] rt: authentication frame received from 00:04:e2:8e:86:aa, but not in authenticate state - ignored
Dec 7 21:54:12 ei kernel: [34030.313434] rt: authentication frame received from 00:04:e2:8e:86:aa, but not in authenticate state - ignored
With the latter, I saw "AUTH - AuthTimeout" messages (see the attached file rt2570-debug31.txt).
Here is my /etc/network/interfaces for the interface:
Code:
iface rt inet static
address 192.168.2.172
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
dns-nameservers 192.168.2.1
wireless_mode managed
wireless_essid YY
wireless_ap 00:04:E2:8E:86:AA
wireless_key s:XXXXXXXXXXXXX
# wireless_channel auto
wireless_channel 6
wireless_bit 1M
wireless_rate 1M
up /sbin/iwconfig "${IFACE}" key open
# up sleep 3; /sbin/iwlist "${IFACE}" scan
up sleep 3; /sbin/iwconfig "${IFACE}"
# up /sbin/iwconfig "${IFACE}" ap 00:04:E2:8E:86:AA
up /sbin/ip route add 224.0.0.0/4 dev "${IFACE}"
(To rename the interface of the former driver, I changed the name against the MAC address in /etc/udev/rules.d/70-persistent-net.rules. With the latter driver, I removed /etc/modprobe.d/ralink, added the MAC to /etc/mactab and ran /sbin/nameif).