ra61 will not re associate after an ifconfig wlan0 down/up

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

ralph

30-10-2008 17:12:39

I have a fedora 8 x86_64 system with an ralink 61 chip set. The chip set works ok from a power on. It associates correctly
with the wep key and the ssid. If I do an ifdown wlan0 and the an ifup wlan0, the card will never again associate with
the access point even when I set the ap via iwconfig.

modinfo shows

# modinfo rt61pci
filename /lib/modules/2.6.26.6-49.fc8/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
license GPL
firmware rt2661.bin
firmware rt2561s.bin
firmware rt2561.bin
description Ralink RT61 PCI & PCMCIA Wireless LAN driver.
version 2.1.8
author http//rt2x00.serialmonkey.com
srcversion D2569A91ED8BE041886E5EB
alias pciv00001814d00000401sv*sd*bc*sc*i*
alias pciv00001814d00000302sv*sd*bc*sc*i*
alias pciv00001814d00000301sv*sd*bc*sc*i*
depends rt2x00lib,rt2x00pci,eeprom_93cx6,crc-itu-t
vermagic 2.6.26.6-49.fc8 SMP mod_unload


Any ideas? It seems like I need to reset the card, but here sees to be now way to do this

Thanks

ralph

Spy84464

30-10-2008 18:28:11

Hello,
You are using rt2x00 (which is why I moved this thread), keep in mind it is still in development and fedora may not be shipping the latest version.
As a workaround, you could try to remove the kernel module, then insert it back
[code29adf9j9]modprobe -r rt61pci
modprobe rt61pci[/code29adf9j9]

Regards,
Romain

IvD

30-10-2008 19:09:51

Fedora is shipping the latest driver version (as far as I know).

Does scanning work after you ifdown & ifupped the device?

ralph

30-10-2008 19:42:05

No scanning does not work after an ifconfig wlan0 down and an ifconfig wlan0 up
or ifdown wlan0 and ifup wlan0

There seems to be no private ioctls either. The card radio seems to be off
or needs a hardware reset.

lspci shows

0702.0 Network controller RaLink RT2561/RT61 802.11g PCI
Subsystem Linksys WMP54G ver 4.1
Flags bus master, slow devsel, latency 32, IRQ 18
Memory at 92000000 (32-bit, non-prefetchable)
Capabilities [40] Power Management version 2
Kernel driver in use rt61pci
Kernel modules rt61pci
/lib/firmware shows

rt2561.bin rt2561s.bin rt2661.bin rt73.bin

I did try to remove and loaded kernel module but that did not help.

iwconfig show

wlan2 IEEE 802.11bg ESSID"chipsbb"
ModeManaged Frequency2.447 GHz Access Point 0014BF368710
Bit Rate=9 Mb/s Tx-Power=15 dBm
Retry min limit7 RTS throff Fragment thr=2352 B
Encryption keyA9B6-8133-8FEB-8C6E-804F-D565-E3 Security modeopen
Link Quality=89/100 Signal level-42 dBm
Rx invalid nwid0 Rx invalid crypt0 Rx invalid frag0
Tx excessive retries0 Invalid misc0 Missed beacon0


Thanks

ralph

02-11-2008 19:34:34

I solved the problem in a very different manner.

I moved the channel from 6 to 8 where there was no interference from other
wireless lans.

In fact the presences of an other wireless card on my channel reduces the
reported speed of the interface to 1 mb

As a Ham radio operator, I wonder how good the radio and its firmware is.
Do we need new firmware?

I suspect the radio firmware is not correct

Chip

IvD

02-11-2008 23:07:37

Ralink has not updated the firmware in ages, and have indicated it won't be updated soon either.
You can just assume the firmware is correct.

ralph

03-11-2008 15:05:54

Ok, what data could I collect to find the problem of interference?

I would like this problem to be fixed, and I am pretty sure it is the radio code,
because the link speed varies from 1 to 54 mega bits/second constantly.

This would have to be reported by the radio.

Any suggestions?

Chip

IvD

03-11-2008 15:35:45

What would be interesting to know is what the difference in register contents is from before and after the ifdown & ifup cycle.
Check the tools found here http//kernel.org/pub/linux/kernel/people/ivd/tools/
for methods to dumping and comparing the register contents.

ralph

03-11-2008 17:08:05

I will do this tonight when I get home and post the results

Chip