Linux.com

Home Linux Community Forums Hardware Drivers Mounting USB wireless adapter and hard drive

Mounting USB wireless adapter and hard drive

Link to this post 19 May 10


EDITOR="nano -w" visudo

This actually worked :woohoo:

I had read that you needed the firmware file and I have isl3887usb and isl3886usb in the lib/firmware folder.


debian:/home/jim/src# dmesg |grep -i firmware
[ 1.047296] pci 0000:02:08.0: Firmware left e100 interrupts enabled; disabling
[ 21.665199] IBM TrackPoint firmware: 0x0b, buttons: 2/3



debian:/home/jim/src# iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.

Maybe I have the wrong firmware, but this is what the site told me.

Again thanks for sticking with me...

Jim

Link to this post 19 May 10

grammjr wrote:

debian:/home/jim/src# iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
Is that all the output of iwlist scan? It doesn't show wlan0 anymore, which means that the driver wasn't loaded automatically at boot (probably because p54usb was not added in the file /etc/modules before the last reboot..?)

Try reloading the module manually:

su -c "modprobe p54usb"

And then make sure wlan0 exists again, and check that the firmware is loaded correctly:
iwconfig
ifconfig wlan0 up
dmesg |grep -i firmware

Link to this post 20 May 10

Ok clean reboot..
/etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

loop
p54usb

So I ran this code..


iwconfig
ifconfig wlan0 up
dmesg |grep -i firmware

This is what I got..


jim@debian:~$ su -
Password:
debian:~# iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

wmaster0 Interface doesn't support scanning.

wlan0 Interface doesn't support scanning : Network is down

debian:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:"Hey"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:BCFA-BDEA-CD
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

debian:~# ifconfig wlan0 up
SIOCSIFFLAGS: No such file or directory
debian:~# dmesg |grep -i firmware
[ 1.043775] pci 0000:02:08.0: Firmware left e100 interrupts enabled; disabling
[ 23.239199] IBM TrackPoint firmware: 0x0b, buttons: 2/3
[ 38.835816] firmware: requesting rt73.bin
[ 38.908142] phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[ 38.908142] firmware: requesting rt73.bin
[ 38.922681] phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[ 100.177941] firmware: requesting rt73.bin
[ 100.188880] phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[ 234.901172] firmware: requesting rt73.bin
[ 234.932568] phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[ 445.187170] firmware: requesting rt73.bin
[ 445.203696] phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[ 537.647261] firmware: requesting rt73.bin
[ 537.669849] phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[ 935.187297] firmware: requesting rt73.bin
[ 935.203425] phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
debian:~#

I found these to sites, but do not really understand it all..
http://marc-abramowitz.com/archives/2007/02/20/setting-up-a-linksys-wusb54gc-wlan-adapter-in-ubuntu/
http://wwwu.uni-klu.ac.at/agebhard/WUSB54GC/

tried it but no luck.

Link to this post 20 May 10

The links you found helped a lot. Upon closer inspection, it seems like I made a mistake earlier; I originally checked out this list to find a wireless driver for you, and noticed that Linksys WUSB54G Portable used p54usb - but further down it says that Linksys WUSB54GC-EU uses the driver rt73usb, which actually comes from the rt2x00 project mentioned in your first link.

It seems like I was right about the missing firmware though:

[ 38.835816] firmware: [b]requesting rt73.bin[/b]
[ 38.908142] phy0 -> rt2x00lib_request_firmware: Error - [b]Failed to request Firmware[/b]

In other words, you need the firmware rt73.bin to get your wireless working. Your earlier posts suggested that you're using Debian Lenny - the required firmware should then be provided in the package firmware-ralink:
su -c "apt-get install firmware-ralink"

Then edit your /etc/modules file to use rt73usb instead of p54usb:

su -c "nano -w /etc/modules"
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

loop
rt73usb

And to avoid having to reboot, unload the p54usb module (just in case) and load rt73usb:

su -
rmmod p54usb
modprobe rt73usb

And then check that the wireless device is still named wlan0, try to enable it by using ifconfig up and check if iwlist scan has any effect now:

iwconfig
ifconfig wlan0 up
iwlist wlan0 scan

Link to this post 20 May 10

I have a rt73.bin file in my /home/jim/src/ this is just fyi..


debian:~# apt-get install firmware-ralink
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package firmware-ralink
debian:~#

Link to this post 20 May 10

It seems like the package wasn't available, perhaps you have the nonfree debian repositories disabled? Anyway, here is a direct link to the package:
http://ftp.ca.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-ralink_0.14+lenny2_all.deb

I personally prefer letting the package management utilities keep track of stuff, but you could of course just copy the file from /home/jim/src/ to /lib/firmware manually if you think that's easier :)

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board