rt61pci not working for D-Link DWL-G510 C2 on 2.6.29

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

bh.inbox

11-04-2009 05:20:51

rt2x00 (rt61pci) from wireless-testing.git (tried up to 2.6.30 RC1), vanilla kernels and Arch Linux kernels have not worked for me since 2.6.24.

All this time I have either been using Ralink's (stopped compiling after 2.6.28) or rt61-legacy (stopping compiling after 2.6.29). But now rt2x00 is the only loadable on the latest kernels.

Performance is good with the Ralink codebase (60-80 link quality) but intermittent and non-associating in the vast majority of bootups.

Attached is the output of dmesg | grep wlan0 and iwconfig wlan0.

What am I doing wrong? I use this 'fail-safe' combination of configuration commands for testing, which work flawlessly for the any version of legacy and Ralink modules

sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode managed
sudo ifconfig wlan0 up
sudo iwconfig wlan0 essid kismet
sudo iwconfig wlan0 key restricted s<13 chars>
sudo ifconfig wlan0 down
sudo ifconfig wlan0 up
iwconfig wlan0

The following boot time configuration using rc.conf and /etc/rc.d/network also works fine for Ralink and legacy, but again not for rt2x00

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP Set your interface to "dhcp" (eth0="dhcp")
# Wireless See network profiles below
#
eth0="eth0 10.0.0.2 netmask 255.255.255.0"
wlan_wlan0="wlan0 mode managed"
wlan_wlan0="wlan0 essid kismet"
wlan_wlan0="wlan0 key restricted s<13 chars>"
wlan_wlan1="wlan1 mode managed"
wlan_wlan1="wlan1 essid kismet"
wlan_wlan1="wlan1 key restricted s<13 chars>"
ra0="ra0 192.168.1.192 netmask 255.255.255.0 broadcast 192.168.1.255"
wlan0="wlan0 192.168.1.192 netmask 255.255.255.0 broadcast 192.168.1.255"
wlan1="wlan1 192.168.1.193 netmask 255.255.255.0 broadcast 192.168.1.255"
#line below is commented out as Ralink Offcial driver uses /etc/Wireless/RT61STA/rt61sta.dat for configuration
#wlan_ra0="ra0 essid kismet key restricted s<13 chars>"
INTERFACES=(wlan0 eth0)

These are examples of the output I get from iwconfig when using rt2x00

wlan0 IEEE 802.11bg ESSID"kismet"
ModeManaged Frequency2.412 GHz Access Point Not-Associated
Tx-Power=13 dBm
Retry min limit7 RTS throff Fragment thr=2352 B
Power Managementoff
Link Quality0 Signal level0 Noise level0
Rx invalid nwid0 Rx invalid crypt0 Rx invalid frag0
Tx excessive retries0 Invalid misc0 Missed beacon0

wlan0 IEEE 802.11bg ESSID"kismet"
ModeManaged Frequency2.412 GHz Access Point Not-Associated
Tx-Power=13 dBm
Retry min limit7 RTS throff Fragment thr=2352 B
Encryption key6C38-3435-6631-6C38-3435-6631-6C Security modeopen
Power Managementoff
Link Quality0 Signal level0 Noise level0
Rx invalid nwid0 Rx invalid crypt0 Rx invalid frag0
Tx excessive retries0 Invalid misc0 Missed beacon0

I am in Australia (CH 1 - 13). The router, a Broadcom based Netcomm NB9W, is forced into 11b mode for compatibility with other clients (3 notebooks Marvel, Intel and Broadcom, which all work fine). I am about 7m from the AP with a 5dBi, 20cm long D-Link extension antenna mounted at the same height as the AP (there are 5 walls in between, hence the need to boost the signal). The PC works fine on Windows XP with no dropouts.

stumbaumr

18-05-2009 18:27:22

Hi,

I seem to have a familiar problem using the rt61pci for an access point.

Have you tried after a reboot? There were some messages about that after a clean reboot it started working.

Cheers
Rainer

Debian Sid using 2.6.29-1-686 #1 SMP standard kernel