rt61 and Kernel issues

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


14-08-2008 12:44:06


I'm trying to get RT2561T based card working. My system is ARM based box with Debian Etch on it. This is the output from lspci

0000.0 Host bridge Micrel-Kendin Centaur KS8695 ARM processor
0005.0 Network controller RaLink RT2561/RT61 rev B 802.11g
0006.0 USB Controller VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
0006.1 USB Controller VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
0006.2 USB Controller VIA Technologies, Inc. USB 2.0 (rev 65)

With the attached wpa_supplicant.conf there is no problem to connect to AP configured with WEP. But as soon as I configure my AP to use WPA I get only the following messages

wlan0 authenticate with AP 00904c910001
wlan0 RX authentication from 00904c910001 (alg=0 transaction=2 status=0)
wlan0 authenticated
wlan0 associate with AP 00904c910001
wlan0 RX ReassocResp from 00904c910001 (capab=0x411 status=0 aid=1)
wlan0 associated
wlan0 CTS protection enabled (BSSID=00904c910001)
wlan0 deauthenticate(reason=3)

I have also tried the RT2560F based miniPCI card and there is no problems using the sam configuration file. I've tried both wpa_supplicant 0.5.5 and 0.6.4 but without success. I've already seen similar posts about other WLAN cards (https//bugs.launchpad.net/ubuntu/+sour ... +bug/99432), but I didn't find the solution for this problem. Can anyone help me to clear the issue?

Thank you in advance.


14-08-2008 16:08:02

Does loading rt61pci with the option 'nohwcrypt=1' help?


15-08-2008 08:54:55

What do you mean with 'nohwcrypt=1'? As far as I can see there are no module_params for Ralink driver

grep -r --include=*.[ch] module_param drivers/net/wireless/rt2x00/*

But I found similar functionality by other WLAN drivers

grep -r --include=*.[ch] hwcrypt drivers/net/wireless/*
drivers/net/wireless/b43/main.cstatic int modparam_nohwcrypt;
drivers/net/wireless/b43/main.cmodule_param_named(nohwcrypt, modparam_nohwcrypt, int, 0444);
drivers/net/wireless/b43/main.cMODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption.");
drivers/net/wireless/ipw2200.cmodule_param(hwcrypto, int, 0444);
drivers/net/wireless/ipw2200.cMODULE_PARM_DESC(hwcrypto, "enable hardware crypto (default off)");

Is there any other way to turn the hardware encryption off?


15-08-2008 09:34:26

oh wait, you are using an old kernel (without HW crypto) please try 2.6.26 instead (still no HW crypto, but tons of bugs fixed since 2.6.24).


09-09-2008 09:22:31

I've updated my kernel to 2.6.26 and now I have no problem with rt61. I could successfully test WEP, WPA, WPA2 and unencrypted ad-hoc connections. For encrypted connections I used wpa_supplicant v0.6.4, there were some problems with v0.5.5 (I could use only WEP).