Fedora 8 + WLAN-USB-Stick Linksys WUSB54GC /RALINK rt25xxUSB

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

alex-cross

17-11-2007 21:05:52

Hello,

I' m Stefan from germany and a linux newbie.

A few days ago i installed fedora 8 and buyed the WLAN USB STICK Linksys WUSB54GC.

My /etc/sysconfig/networking/devices/ifcfg-wlan0

# Linksys WUSB54GC
DEVICE=wlan0
BOOTPROTO=none
HWADDR=xxxxxxxxxxxx
ONBOOT=yes
TYPE=Wireless
USERCTL=yes
PEERDNS=yes
NETMASK=255.255.255.0
IPADDR=192.168.1.4
GATEWAY=192.168.1.254
ESSID=xxx
CHANNEL=1
MODE=Master


And my wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1

network={
ssid="xxx"
bssid=xxxxxxxxxxxx
mode=0
key_mgmt=WPA-PSK
proto=WPA
auth_alg=OPEN
pairwise=TKIP
psk="xxx"
}


As i plugged the stick in the usb port, "dmesg" gives me

Loading module rt73usb - 2.0.1 by http//rt2x00.serialmonkey.com.
usbcore registered new interface driver rt73usb


and "lsmod | grep rt" gives me

rt73usb 27904 0
rt2x00usb 12288 1 rt73usb
rt2x00lib 20096 2 rt73usb,rt2x00usb
mac80211 145288 3 rc80211_simple,rt2x00usb,rt2x00lib
crc_itu_t 6144 1 rt2x00lib
scsi_transport_iscsi 29576 4 ib_iser,iscsi_tcp,libiscsi
parport_pc 29732 0
parport 38088 1 parport_pc
scsi_mod 139020 8 ib_iser,iscsi_tcp,libiscsi,scsi_transport_iscsi,sr_mod,sg,libata,sd_mod


and "iwconfig" gives me.

wlan0 IEEE 802.11g ESSID"xxx"
ModeManaged Frequency2.412 GHz Access Point xxxxxxxxxxxx
Retry min limit7 RTS throff Fragment thr=2346 B
Encryption key xxx
Link Quality0 Signal level0 Noise level0
Rx invalid nwid0 Rx invalid crypt0 Rx invalid frag0
Tx excessive retries0 Invalid misc0 Missed beacon0


and "iwlist wlan0 scan" gives me

[root@desktop-ethernet wpa_supplicant]# iwlist wlan0 scan
wlan0 Scan completed
Cell 01 - Address xxxxxxxxxxxx
ESSID"xxx"
ModeMaster
Channel1
Frequency2.412 GHz
Signal level=-147 dBm Noise level=0 dBm
Encryption keyon
IE WPA Version 1
Group Cipher TKIP
Pairwise Ciphers (1) TKIP
Authentication Suites (1) PSK
Bit Rates1 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
Extratsf=00000000e8af3186


And when i try "ifup wlan0" everything seems ok - i got no error message...

BUT i still have NO CONNECTION and when i try

"/usr/sbin/wpa_supplicant -B -D rt73usb -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf"

i got this ERROR message

Unsupported driver 'rt73usb'. ?


Do you've an idea??? THANX in advance!

IvD

17-11-2007 23:14:05


Loading module rt73usb - 2.0.1 by http//rt2x00.serialmonkey.com.
[/quote108d6gir]

I seriously doubt this line is correct, as far as I know Fedora 8 ships rt2x00 2.0.10. So is this a typo, or is the version you mentioned correct?
What does "modinfo rt2500usb" indicate?


"/usr/sbin/wpa_supplicant -B -D rt73usb -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf"

i got this ERROR message

Unsupported driver 'rt73usb'. ?
[/quote108d6gir]

Correct, rt73usb is _not_ a wpa_supplicant driver, the correct line for starting wpa_supplicant should be

wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf

alex-cross

17-11-2007 23:32:56

Hello Ivo,

thank you for your quick response.



I seriously doubt this line is correct, as far as I know Fedora 8 ships rt2x00 2.0.10. So is this a typo, or is the version you mentioned correct?
What does "modinfo rt2500usb" indicate?
[/quote2jf135iy]

"modinfo rt2500usb" gives me

[root@desktop-ethernet etc]# modinfo rt2500usb
filename /lib/modules/2.6.21-2950.fc8xen/kernel/drivers/net/wireless/mac80211/rt2x00/rt2500usb.ko
license GPL
description Ralink RT2500 USB Wireless LAN driver.
version 2.0.1
author http//rt2x00.serialmonkey.com
srcversion 1041061D214DB0D64F4391C
alias usbv5A57p0260d*dc*dsc*dp*ic*isc*ip*
alias usbv0EB0p9020d*dc*dsc*dp*ic*isc*ip*
alias usbv114Bp0110d*dc*dsc*dp*ic*isc*ip*
alias usbv0707pEE13d*dc*dsc*dp*ic*isc*ip*
alias usbv0681p3C06d*dc*dsc*dp*ic*isc*ip*
alias usbv148Fp9020d*dc*dsc*dp*ic*isc*ip*
alias usbv148Fp2573d*dc*dsc*dp*ic*isc*ip*
alias usbv148Fp2570d*dc*dsc*dp*ic*isc*ip*
alias usbv148Fp1706d*dc*dsc*dp*ic*isc*ip*
alias usbv0DB0p6869d*dc*dsc*dp*ic*isc*ip*
alias usbv0DB0p6865d*dc*dsc*dp*ic*isc*ip*
alias usbv0DB0p6861d*dc*dsc*dp*ic*isc*ip*
alias usbv0411p008Bd*dc*dsc*dp*ic*isc*ip*
alias usbv0411p0067d*dc*dsc*dp*ic*isc*ip*
alias usbv0411p0066d*dc*dsc*dp*ic*isc*ip*
alias usbv06F8pE000d*dc*dsc*dp*ic*isc*ip*
alias usbv1044p8007d*dc*dsc*dp*ic*isc*ip*
alias usbv1044p8001d*dc*dsc*dp*ic*isc*ip*
alias usbv2001p3C00d*dc*dsc*dp*ic*isc*ip*
alias usbv14B2p3C02d*dc*dsc*dp*ic*isc*ip*
alias usbv13B1p001Ad*dc*dsc*dp*ic*isc*ip*
alias usbv13B1p0011d*dc*dsc*dp*ic*isc*ip*
alias usbv13B1p000Dd*dc*dsc*dp*ic*isc*ip*
alias usbv050Dp705Ad*dc*dsc*dp*ic*isc*ip*
alias usbv050Dp7051d*dc*dsc*dp*ic*isc*ip*
alias usbv050Dp7050d*dc*dsc*dp*ic*isc*ip*
alias usbv0B05p1707d*dc*dsc*dp*ic*isc*ip*
alias usbv0B05p1706d*dc*dsc*dp*ic*isc*ip*
depends rt2x00usb,rt2x00lib
vermagic 2.6.21-2950.fc8xen SMP mod_unload 686 4KSTACKS


Correct, rt73usb is _not_ a wpa_supplicant driver, the correct line for starting wpa_supplicant should be

wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf[/quote2jf135iy]

This gives me

[root@desktop-ethernet wpa_supplicant]# wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
ioctl[SIOCSIWMODE] Device or resource busy
Could not configure driver to use managed mode
ioctl[SIOCSIWAUTH] Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH] Operation not supported
WEXT auth param 5 value 0x1 -

and after "service wpa_supplicant restart" then "wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf" indicates

[root@desktop-ethernet wpa_supplicant]# wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
ioctl[SIOCSIWAUTH] Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH] Operation not supported
WEXT auth param 5 value 0x1 - [root@desktop-ethernet wpa_supplicant]#

IvD

17-11-2007 23:39:49


filename /lib/modules/2.6.21-2950.fc8xen/kernel/drivers/net/wireless/mac80211/rt2x00/rt2500usb.ko
license GPL
description Ralink RT2500 USB Wireless LAN driver.
version 2.0.1
[/quote3uc36b43]

Hmm you are really using a very old rt2x00 version, at the moment we are at 2.0.12, and I do know Fedora kernels are shipped with rt2x00 up to 2.0.10 or 2.0.11. So you are using an old kernel, probably because of Xen...

If you don't need Xen, I would recommend using a different and more recent Fedora kernel to be able to use a more recent rt2x00 version.


Correct, rt73usb is _not_ a wpa_supplicant driver, the correct line for starting wpa_supplicant should be

wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf[/quote3uc36b43]

This gives me

[root@desktop-ethernet wpa_supplicant]# wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
ioctl[SIOCSIWMODE] Device or resource busy
Could not configure driver to use managed mode
[/quote3uc36b43]

That is expected behavior, the working mode cannot be changed while the interface is active.


[root@desktop-ethernet wpa_supplicant]# wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
ioctl[SIOCSIWAUTH] Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH] Operation not supported
WEXT auth param 5 value 0x1 - [root@desktop-ethernet wpa_supplicant]#[/quote3uc36b43]

None of those errors/warnings are important and can be ignored.

alex-cross

18-11-2007 09:29:55

Hmm you are really using a very old rt2x00 version, at the moment we are at 2.0.12, and I do know Fedora kernels are shipped with rt2x00 up to 2.0.10 or 2.0.11. So you are using an old kernel, probably because of Xen...

If you don't need Xen, I would recommend using a different and more recent Fedora kernel to be able to use a more recent rt2x00 version.[/quote17na21we]

ok, good tip. thanx. I probably installed to much that i don't need but that makes other problems. I try to change the kernel with yum or pirut...

CU,
Stefan

/EDIT

ok, now I've changed the kernel and "uname -a" indicates

[root@desktop-ethernet devices]# uname -a
Linux desktop-ethernet.lan 2.6.23.1-49.fc8 #1 SMP Thu Nov 8 211634 EST 2007 i686 i686 i386 GNU/Linux

and "modinfo rt2500usb" indicates

[root@desktop-ethernet devices]# modinfo rt2500usb
filename /lib/modules/2.6.23.1-49.fc8/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
license GPL
description Ralink RT2500 USB Wireless LAN driver.
version 2.0.12
author http//rt2x00.serialmonkey.com


version 2.0.12 -> that looks good!

then i restart the network and the wpa_supplicant.

And now... IT WORKS !!!

Ivo, thank you very much for your quick & great help.

Wish you a nice rest of the weekend.

BEDANKT D
TOT ZIENS,
Stefan

alex-cross

18-03-2008 22:00:10

So, after working fine a few months, I've made a kernel update from 2.6.23.x to 2.6.24.x two days ago and now it doesn't work anymore.

But from the beginning

When I plug in my USB-Stick, I got these messages with "dmesg"
[code2wnjkklr]
usb 2-5: new high speed USB device using ehci_hcd and address 4
usb 2-5: configuration #1 chosen from 1 choice
phy2: Selected rate control algorithm 'pid'
Registered led device: rt73usb-phy2:radio
Registered led device: rt73usb-phy2:assoc
Registered led device: rt73usb-phy2:quality
ADDRCONF(NETDEV_UP): wlan0: link is not ready
[/code2wnjkklr]

While trying "ifup ifcfg-wlan0", I got
[code2wnjkklr]
[root@maja devices]# ifup ifcfg-wlan0
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; No such file or directory
[/code2wnjkklr]

"modinfo rt73usb" gives me
[code2wnjkklr]
filename: /lib/modules/2.6.24.3-34.fc8/kernel/drivers/net/wireless/rt2x00/rt73usb.ko
license: GPL
firmware: rt73.bin
description: Ralink RT73 USB Wireless LAN driver.
version: 2.1.4
author: http://rt2x00.serialmonkey.com
srcversion: F11212A23BE837ADA90B7F8
alias: usb:v2019pAB50d*dc*dsc*dp*ic*isc*ip*
alias: usb:v2019pAB01d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0769p31F3d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0DF6p90ACd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0DF6p9712d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1740p7100d*dc*dsc*dp*ic*isc*ip*
alias: usb:v18E8p6238d*dc*dsc*dp*ic*isc*ip*
alias: usb:v18E8p6229d*dc*dsc*dp*ic*isc*ip*
alias: usb:v18E8p6196d*dc*dsc*dp*ic*isc*ip*
alias: usb:v148Fp2671d*dc*dsc*dp*ic*isc*ip*
alias: usb:v148Fp2573d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0DB0pA874d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0DB0pA861d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0DB0p6874d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0DB0p6877d*dc*dsc*dp*ic*isc*ip*
alias: usb:v13B1p0023d*dc*dsc*dp*ic*isc*ip*
alias: usb:v13B1p0020d*dc*dsc*dp*ic*isc*ip*
alias: usb:v06F8pE020d*dc*dsc*dp*ic*isc*ip*
alias: usb:v06F8pE010d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1472p0009d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1044p800Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v1044p8008d*dc*dsc*dp*ic*isc*ip*
alias: usb:v15A9p0004d*dc*dsc*dp*ic*isc*ip*
alias: usb:v07D1p3C07d*dc*dsc*dp*ic*isc*ip*
alias: usb:v07D1p3C04d*dc*dsc*dp*ic*isc*ip*
alias: usb:v07D1p3C03d*dc*dsc*dp*ic*isc*ip*
alias: usb:v14B2p3C22d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1371p9032d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1371p9022d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0411p00F4d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1631pC019d*dc*dsc*dp*ic*isc*ip*
alias: usb:v050Dp905Cd*dc*dsc*dp*ic*isc*ip*
alias: usb:v050Dp905Bd*dc*dsc*dp*ic*isc*ip*
alias: usb:v050Dp705Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v050Dp7050d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0B05p1724d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0B05p1723d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1690p0722d*dc*dsc*dp*ic*isc*ip*
alias: usb:v07B8pB21Dd*dc*dsc*dp*ic*isc*ip*
depends: rt2x00lib,rt2x00usb,crc-itu-t
vermagic: 2.6.24.3-34.fc8 SMP mod_unload 686 4KSTACKS
[/code2wnjkklr]

... and "modinfo rt2500usb" gives me
[code2wnjkklr]
[root@maja devices]# modinfo rt2500usb
filename: /lib/modules/2.6.24.3-34.fc8/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
license: GPL
description: Ralink RT2500 USB Wireless LAN driver.
version: 2.1.4
author: http://rt2x00.serialmonkey.com
srcversion: CCE0B854E5B21BDC3FBD70F
alias: usb:v5A57p0260d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0EB0p9020d*dc*dsc*dp*ic*isc*ip*
alias: usb:v114Bp0110d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0707pEE13d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0681p3C06d*dc*dsc*dp*ic*isc*ip*
alias: usb:v148Fp9020d*dc*dsc*dp*ic*isc*ip*
alias: usb:v148Fp2573d*dc*dsc*dp*ic*isc*ip*
alias: usb:v148Fp2570d*dc*dsc*dp*ic*isc*ip*
alias: usb:v148Fp1706d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0DB0p6869d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0DB0p6865d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0DB0p6861d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0411p0097d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0411p008Bd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0411p0067d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0411p0066d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0411p005Ed*dc*dsc*dp*ic*isc*ip*
alias: usb:v06F8pE000d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1044p8007d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1044p8001d*dc*dsc*dp*ic*isc*ip*
alias: usb:v2001p3C00d*dc*dsc*dp*ic*isc*ip*
alias: usb:v14B2p3C02d*dc*dsc*dp*ic*isc*ip*
alias: usb:v13B1p001Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v13B1p0011d*dc*dsc*dp*ic*isc*ip*
alias: usb:v13B1p000Dd*dc*dsc*dp*ic*isc*ip*
alias: usb:v050Dp705Ad*dc*dsc*dp*ic*isc*ip*
alias: usb:v050Dp7051d*dc*dsc*dp*ic*isc*ip*
alias: usb:v050Dp7050d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0B05p1707d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0B05p1706d*dc*dsc*dp*ic*isc*ip*
depends: rt2x00lib,rt2x00usb
vermagic: 2.6.24.3-34.fc8 SMP mod_unload 686 4KSTACKS
[/code2wnjkklr]

Am i right, that I need the rt2500usb-Driver for my WLAN-USB-Stick?
Bit when I plug in the WLAN-Stick, dmesg shows me loading the rt73usb-Driver?
Is this the problem?
Should I erase the rt73usb-Driver?

Any help will be highly appreciated.

Many thanx in advance,
Greets,
alex