WPA2 at Dabian not work

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

Dirk_SCH

26-11-2008 13:49:26

Hello there,

I use Debian unstable, testing and a Conceptronic C45RU how is supported by rt73.
I search a lot because around 1 year ago the stick working fine.
Yesterday I install on an old laptop debian testing. This laptop work with USB1.1.

I put rt73usb and rt2x00usb to the blacklist.
I DL the new rt73-cvs, run make and make install. have a look in /lib/firmware
Then I made a script

ifup wlan0

[code22ksn36s]
iwconfig wlan0 mode managed
ifconfig wlan0 up

iwconfig wlan0 essid home
# If you want to associate with a specific AP, set its MAC
# address:
# iwconfig wlan0 ap <BSSID>

iwpriv wlan0 set AuthMode=WPA2PSK

iwpriv wlan0 set WPAPSK="psk"

iwpriv wlan0 set EncrypType=AES

[/code22ksn36s]

/etc/networks/interfaces I put in
[code22ksn36s]# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.183.15
netmask 255.255.255.0
network 192.168.183.0
broadcast 192.168.183.255
gateway 192.168.183.1
#dns-* options are impl by the resolvconf package, if installed
#dns-nameservers 195.50.140.178
dns-nameservers 192.168.183.1

#allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
address 192.168.183.150
netmask 255.255.255.0
network 192.168.183.0
broadcast 192.168.183.255
gateway 192.168.183.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.183.1

[/code22ksn36s]

[code22ksn36s]iwlist wlan0 scan
wlan0 Scan completed :

Cell 01 - Address: 00:1D:7E:BC:3C:DF
ESSID:"home"
Mode:Managed
Channel:9
Encryption key:on
Bit Rates:0 kb/s

[/code22ksn36s]


Out of /var/log/messages
[code22ksn36s]# tail -f /var/log/messages
kernel: [ 4621.051655] usb 5-3.1: configuration #1 chosen from 1 choice
kernel: [ 4621.051953] rt73: idVendor = 0x14b2, idProduct = 0x3c22
kernel: [ 4621.053627] firmware: requesting rt73.bin
kernel: [ 4621.347216] rt73: using permanent MAC addr
kernel: [ 4621.347229] rt73: Active MAC addr: 00:80:5a:4f:40:bf
kernel: [ 4621.347235] rt73: Local MAC = 00:80:5a:4f:40:bf
kernel: [ 4621.357236] usb 5-3.1: New USB device found, idVendor=14b2, idProduct=3c22
kernel: [ 4621.357248] usb 5-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kernel: [ 4621.357254] usb 5-3.1: Product: 802.11 bg WLAN
kernel: [ 4621.357258] usb 5-3.1: Manufacturer: Ralink
kernel: [ 4692.392940] rt73: driver version - 1.0.3.6 CVS
kernel: [ 4692.431902] rt73: using net dev supplied MAC addr
kernel: [ 4692.431916] rt73: Active MAC addr: 00:80:5a:4f:40:bf
kernel: [ 4692.431922] rt73: Local MAC = 00:80:5a:4f:40:bf
[/code22ksn36s]

[code22ksn36s] iwconfig wlan0
wlan0 RT73 WLAN ESSID:"home"
Mode:Managed Frequency=2.412 GHz Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=0/100 Signal level:-48 dBm Noise level:-111 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[/code22ksn36s]


If I switch of the encryption at my router it works perfect.
The strange think is that it work yesterday for a some minutes with wpa2.

It is the router? With windows there is no problem. The router is a linksys wrt54gl with OpenWrt Kamikaze

Some ideas what I can try?

Thanks

Spy84464

27-11-2008 18:54:56

Hello,
Looking at "iwconfig" output, the stick has not associated with the access point, which is certainly not a good start! It probably worked a few minutes until the association broke, are you far from the AP? It could be a sensitivity issue, if you get closer, does that help?

Regards,
Romain