Weird issue on a RT73: ifconfig vs iwconfig

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

Surgat

04-11-2007 20:20:19

Hello there

I have reinstalled Arch linux on my laptop today and I have decided to try the rt2x00 driver instead of the rt73 legacy one. I installed the driver and the firmware via pacman (similar to debian's apt-get or gentoo's portage in Arch) and after loading rt2x00lib, rt2x00usb and rt73usb modules I got iwconfig showing both wlan0 and wmaster0, but ifconfig didn't show any of them, only lo and eth0, so I can't even bring the device up although I can set essid and wep key.

I haven't searched the forums because I didn't know what to search, sorry if this has been already talked

Thank you a lot!

IvD

04-11-2007 21:34:59

It is common that 'ifconfig' only shows active interfaces.
'ifconfig wlan0 up' will still work as expected, but if you want to see _all_ available interfaces you need to add the -a option

ifconfig -a

Surgat

04-11-2007 21:45:58

OK, ifconfig -a shows wlan0 and wmaster0, but if I try ifconfig wlan0 up I get this error

[codewonxiuop]SIOCSIFFLAGS: Input/output error[/codewonxiuop]

I hadn't tried ifconfig -a before, but I did try to bring it up and got that error

Thank you again

IvD

04-11-2007 21:49:20

What does 'dmesg' report after you tried to enable the interface?

Surgat

04-11-2007 22:00:16

These are the last 2 lines

[code1gey0ezz]phy0 -> rt2500usb_set_state: Notice - Device failed to enter state 3, current device state: bbp 0 and rf 0.
phy0 -> rt2500_enable_radio: Error - Register initialization failed.[/code1gey0ezz]

IvD

04-11-2007 22:07:28

These are the last 2 lines

[codems8lzsqw]phy0 -> rt2500usb_set_state: Notice - Device failed to enter state 3, current device state: bbp 0 and rf 0.
phy0 -> rt2500_enable_radio: Error - Register initialization failed.[/codems8lzsqw][/quotems8lzsqw]

In the subject you said you have a rt73 device, the debug shows you are using the rt2500usb driver. If you are sure you have a rt73 device, you should unload the rt2500usb driver and reload the rt73usb driver to make sure that driver will use your device.

Surgat

04-11-2007 22:16:40

That's it!

I had autoloaded the rt2500usb because hwdetect said I needed it, but now I see I don't. But now I have tried to dhcp it and got a time out error, can't imagine why (the wifi router is 1m away from the laptop...)