Can't connect using the kernel buildin rt2500 driver

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

RomMon

10-03-2010 22:23:56

Dear Reader,

After upgrading my system to Slackware 12.2 (kernel-2.6.27.31) which includes RT2500 support, Iím not able to get my WiFi working.
Before the upgrade I used a Legacy driver and used RutilT to connect to my AP.

I tried RutilT and Wicd.

After a reboot I see that the following modules are loaded
rt2500pci 19328 0 <<<<<<<< should that be 0??
rt2x00pci 10240 1 rt2500pci
rt2x00lib 29056 2 rt2500pci,rt2x00pci
rfkill 12184 1 rt2x00lib
led_class 7684 1 rt2x00lib
mac80211 158108 2 rt2x00pci,rt2x00lib
cfg80211 27144 2 rt2x00lib,mac80211
eeprom_93cx6 5888 1 rt2500pci
pcmcia 36524 1 3c589_cs

If I try to connect I only see the green LED lit, where before the upgrade both the green and red LED where lit.
Not sure what the functions are of both LEDís are but it is clear that both LEDís should be lit before Iím able to connect.

I don't know where I should look next to get this fixed.


Some addition output

[code2wr1ih0g]
lspci Ėvvv
02:00.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
Subsystem: Advance Multimedia Internet Technology, Inc. Unknown device 5310
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 14000000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: rt2500pci
Kernel modules: rt2500pci

# iwlist ra0 scanning
ra0 Scan completed :
Cell 01 - Address: 00:1E:8C:47:A4:ED
ESSID:"Scenic"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=48/100 Signal level:-67 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=000000048b633c98
Extra: Last beacon: 44ms ago
Cell 02 - Address: 00:16:B6:4C:0A:8D
ESSID:"ArmandOnline"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=49/100 Signal level:-62 dBm
Encryption key:on
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=000000340a90c241
Extra: Last beacon: 48ms ago
Cell 03 - Address: 00:80:5A:4B:AD:9B
ESSID:"WLAN"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=48/100 Signal level:-72 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000001096b9ea2a7
Extra: Last beacon: 24ms ago

#ifconfig ra0 down
#iwconfig ra0 mode managed
#iwconfig ra0 enc restricted
#iwconfig ra0 key restricted [1] "xxxxxxxxx"
#iwconfig ra0 essid "Home"
#iwconfig ra0 ap xx:xx:xx:47:A4:ED
#ifconfig ra0 up
#dhcpcd -d ra0
Broadcasting DHCP_REQUEST for 192.168.1.4
recvfrom: Network is down
Broadcasting DHCP_DISCOVER
sendto: Network is down
#
[/code2wr1ih0g]



Edit 14-Mar-2010 attached dmesg and modinfo

Spy84464

17-03-2010 19:13:04

Hello,
kernel-2.6.27 is fairly old, I don't in which state rt2x00 was at this time.
How did you configure the card? What encryption/authentication scheme is your AP using?

Regards,
Romain

RomMon

17-03-2010 20:59:06

Romain,

Thank you for replying to this topic as well.

I currently recompiled the kernel-2.6.27.31 without Ralink support and used the latest legacy driver form Sourceforge, and now Iím able to connect again.

Also found that the legacy drivers will not compile on kernel-2.6.29 (and probably also not with kernel-2.6.28).
So during the next upgrade I will not be able to use the legacy driver.

Should using a version from git help to solve my problem?

Does Rutilt support the current rt2x00 drivers part of the kernel or git?


Links
Rutilt http//bonrom.cbbknet.com/
Git http//rt2x00.serialmonkey.com/wiki/ind ... structions
Legacy driver http//sourceforge.net/projects/rt2400/ ... ly.tar.gz/

Spy84464

24-03-2010 18:41:55

Does Rutilt support the current rt2x00 drivers part of the kernel or git?[/quote1xr6xobq]
It should be capable of configuring the device to connect to WEP encrypted or open networks, but has no support for everything WPA related.
NetworkManager and wpa_supplicant should work though, which is why I haven't developed RutilT further tools coming with most distro work just fine out of the box.
I'm personally using rt2500pci (rt2x00) with wpa_supplicant at the moment. ;)