rt2500 miniPCI no link on vanilla 2.6.24

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

chriz

03-02-2008 13:42:18

hi all,

lets say hello since this is my 1st post.

my problem is similar to this post [url3b0rmc7n]http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?t=3978[/url3b0rmc7n]
but my wireless-extensions are ok.

im running debian lenny with vanilla kernel 2.6.24 [code3b0rmc7n]
CONFIG_RT2X00=m
CONFIG_RT2X00_LIB=m
CONFIG_RT2X00_LIB_PCI=m
CONFIG_RT2X00_LIB_USB=m
CONFIG_RT2X00_LIB_RFKILL=y
CONFIG_RT2400PCI=m
CONFIG_RT2400PCI_RFKILL=y
CONFIG_RT2500PCI=m
CONFIG_RT2500PCI_RFKILL=y
CONFIG_RT2500USB=m
# CONFIG_RT2X00_LIB_DEBUGFS is not set
CONFIG_RT2X00_DEBUG=y[/code3b0rmc7n]
lspci
[code3b0rmc7n]00:11.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)[/code3b0rmc7n]
lsmod | grep rt2
[code3b0rmc7n]rt2500pci 19872 0
rt2x00pci 9888 1 rt2500pci
rt2x00lib 20256 2 rt2500pci,rt2x00pci
rfkill 7512 2 rt2x00lib
input_polldev 5304 1 rt2x00lib
mac80211 163144 3 rt2500pci,rt2x00pci,rt2x00lib[/code3b0rmc7n]
iwconfig
[code3b0rmc7n]wlan0_rename IEEE 802.11g ESSID:"MYWLAN"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:my_wep_key
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0[/code3b0rmc7n]
iwconfig -v
[code3b0rmc7n]iwconfig Wireless-Tools version 29
Compatible with Wireless Extension v11 to v22.

Kernel Currently compiled with Wireless Extension v22.

wlan0_rename Recommend Wireless Extension v21 or later,
Currently compiled with Wireless Extension v22.[/code3b0rmc7n]

iwlist wlan0_rename scanning
[code3b0rmc7n]wlan0_rename No scan results[/code3b0rmc7n]
the AP _should_ be found. i'm sitting right beside of it.

dmesg prits out _lots_ of this
[code3b0rmc7n]printk: 4 messages suppressed.
no beacon data avail for idx=4 (wlan0_rename)[/code3b0rmc7n]
until 2.6.18 (debian sid) the debian-source-package (rt2500-source) worked perfect for me. after debian updated the kerne in sid to 2.6.22 it didnt work any more. i tried the actual cvs-version from your project-page. it did not change the behaviour of my card/system.

has anybody any hints?


cheers,
chris

Spy84464

03-02-2008 15:17:43

Hello,
Our new driver, rt2x00, now comes with vanilla kernels. Unfortunately, it isn't the latest version, and a few important patches are missing.
From my personal attempt, rt2x00 CVS doesn't compile with the 2.6.24 kernel.
It is important that you don't try to run rt2x00 (module labelled rt2500[b1j0s95k8]pci[/b1j0s95k8]) and rt2500 (legacy) at the same time.
Which leaves these two options
- Remove rt2x00 from your kernel (blacklist the modules), and install the legacy driver.
- Grab a whole new kernel from wireless-dev (howto here [url1j0s95k8]http://rt2x00.serialmonkey.com/wiki/index.php?title=Rt2x00_GIT_instructions[/url1j0s95k8]).

Regards,
Romain

chriz

03-02-2008 20:59:47

hi,

thanx for your fast reply.
i tried the GIT wireless-dev kernel following your GIT-instructions.
running this kernel i got massiv kernel-error messages regarding the module rt2500pci.
so i took the stable version 2.6.24 from kernel.org and activated the rt2x00-pci-modules.
they didn't work.

after that i tried
iwlist wlan0 freq
[code14cm9i7q]wlan0 11 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Current Frequency=2.462 GHz (Channel 11)[/code14cm9i7q]
i was wondering that channel 11 is the highest available channel.
i was using channel 13 at my AP since i have a wireless AP.
so i changed the AP-channel to 11 and got
iwlist wlan0 scan
[code14cm9i7q]wlan0 Scan completed :
Cell 01 - Address: 00:19:5B:D0:04:0A
ESSID:"MYWLAN"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=67/100 Signal level=-78 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000000007813c764[/code14cm9i7q]
the connection is established now and working fine. thanks!!
what was the reason to change the driver that way that it dosn't support connections to channel 13 any more by default?

is there any way to re-activate support for channel 13 in the driver?

cheers,
chris

Spy84464

08-02-2008 14:03:12

Channels availability depends on country's regulation. The mac80211 stack (used by rt2500pci) probably has a command to change the region in which it thinks it's used.