V

WUSB54G WPA on Ubuntu 8.04

I have spent way too much time getting a Linksys Wireless-G USB Network Adapter WUSB54G v4 to run with WPA encryption under Xubuntu 8.04 Hardy Heron. The following is just some essential notes of what I did. Please, bear with me.

Problems

Out of the box the adapter was able to connect to open access points. When I tried to connect to my own access point by means of WPA-PSK encryption it first looked like the system could connect but it never received any response from the access point's DHCP server.

While I was trying to solve the problem (though I do not remember where exactly) I found the error "authentication with AP {its MAC} timed out".

wpa_supplicant did not help. Neither did WifiDocs/Driver/RalinkRT2500 from http://help.ubuntu.com. It seems to be outdated.

Draft of steps that helped

Basically, I had to compile and install newer drivers. Working instructions for doing so can be found e.g. in the first post by AlexMono94 in HOWTO: Linksys WUSB54G V4 in Gusty.

I.e. after removing/blacklisting the rt2500usb and installing rt2750 things worked as expected. Note that my wireless network interface was first named wlan0. After following these instructions it appeared as rausb0. I assume this can be changed by tweaking udev and module aliases. But I didn't.

Folks running Ubuntu or Kubuntu might want to try to just install the new rt2750 driver and try WLAN with WPA with the pre-installed network-manager. Personally, I have also removed the packages network-manager-gnome and network-manager. Since I am on Xubuntu this does not hurt ;)

aptitude remove network-manager-gnome network-manager

In fact, when I tried to switch back to/re-install the network-manager (for testing) it did not work. Network-Manager offered WEP but no WPA.

Thus, I used RutilT1) which luckily has been packaged for Ubuntu. More so, it is up-to-date in Hardy.

aptitude install rutilt

To my mind, RutilT has the advantage of giving you better/more feedback. Furthermore, it puts less load on my old low-memory box.

BTW, RutilT reports the WUSB54G as "RT2500USB WLAN" which is OK. Apparently, this is the name which is provided by the rt2750 kernel module.

The screenshot shows you RutilT's GUI, its tray icon with the tooltip/hint. You can also see that the box is connected to the access point using WPAPSK/AES. The rather high load comes from the audacious audio player (playing files from a Samba share, of course :-D ). The screenshot was created on a FSC LifeBook B-2545 featuring a Pentium III CPU with 600 MHz and a total of 256 MB RAM running fluxbox on a Xubuntu 8.04.

A final note, RutilT should be started as user. It will ask for your password when you try to enable the wireless interface, anyway. If you start it as root you might have to fix the ownership of $HOME/.config/rutilt later on to allow rutilt to save profiles.

1) Broken link to http://bonrom.cbbknet.com/ removed on 2014-11-03.

Discussion

Glen Rubin, 2008-08-01 22:43

When I try to use my WUSB54G on xubuntu hardy 8.04 it the it only works for the first 15 minutes and then the computer freezes up and crashes. Did you have any problems with this or any ideas for solving? thanks!

Andreas Schamanek, 2008-08-02 13:15

Hi Glen, I did have some problems but when the adapter eventually worked it did pretty OK. Certainly, I did not have to deal with freezes, crashes or lock-ups. But since May 2008 a number of kernel upgrades found their way into 8.04, so the situation might have changed, and I haven't tried it recently. Did you install the newest driver? Which version?

Glen, 2008-08-03 02:20

ooops….just realized i have WUSB54GC, not v4. sorry

James, 2008-08-04 22:49

mine worked great after initially setting it up in ubuntu 8.04. I then made the mistake of letting ubuntu update and it won't work now. Can't seem to get it to re-install either

Enter your comment. Wiki syntax is allowed:
W D R A H
 
 
blog/080512_wusb54g_wpa_on_ubuntu_8.04.txt · Last modified: 2014-11-03 18:18 by andreas