HOWTO: Linksys WMP54G PCI Wireless Adapter on Ubuntu (Gutsy)

Published on October 19, 2007 in Hardware, How To's by Rami Taibah

Update: This guide is a bit outdated. Proceed at your own risk. It however should work, as it stood the test of time as evident by the comments.

I have a Dell sitting in my living room with a Linksys WMP54G PCI wireless adapter installed. The adapter worked just fine under Feisty (well TBH I never got the triangular bars icon of wireless connections but the two terminals of wired connections, but do I care??). Anyways I did an upgrade to Gutsy on the 17th, just 1 day shy of its official release, by invoking a ‘gksu ‘update-manager -c’, and to my horror the adapter stopped working!! No Internet connection for me.

I am not sure if this card is not supported under Gutsy, or just something went awry during the upgrade process (will try a Gutsy live CD later), but i tried using the “Windows Wireless Driver” function but to no avail.

Anyways, this is how I managed to get my WMP54G to work under Gutsy:

1-First of all grab the driver from here (XP not Vista)

2-Extract the .exe file using any archive manager and place on your desktop (or where ever you wish)

3-Go to the ndiswrapper homepage, and download the latest release (1.48 to date).

4-Next we will have to install ndiswrapper, so fire up a terminal and navigate to the folder where you downloaded ndiswrapper.

tar zxvf ndiswrapper-version.tar.gz
sudo make uninstall
sudo make
sudo make install

5- If everything went as planned, you should have ndiswrapper installed now, next we will need to install the driver. Assuming that the downloaded driver from step 1 is on your desktop:

ndiswrapper -i ~/Desktop/WMP54Gversion/Drivers/WMP54G/Rt2500.INF

6-Finally you will have to load the ndiswrapper module.

sudo modprobe ndiswrapper

6-In my case this didn’t really work, which probably explains why using the “Windows Wireless Driver” function didn’t work in the first place. So here is the tricky part, apparently Gutsy already loaded my card’s module and is conflicting with the new installed driver. So we will have to remove the modules using rmmod.

sudo rmmod rt2500pci rt2x00pci rt2x00lib

Thats it! Perhaps you would have to unload ndiswrapper using rmmod and reload it again though.

8-Finally, you will probably need to cement this in order not to do this everytime you restart, so you will have blacklist the three modules we removed.

sudo nano /etc/modprobe.d/blacklist

And add these lines:

blacklist rt2500pci
blacklist rt2x00pci
blacklist rt2x00lib

Also add the ndiswrapper in /etc/modules to automatically load it when booting

sudo nano /etc/modules

And add:

ndiswrapper

Happy tweaking!!


About

Rami Taibah the founder of The Linuxologist and a self proclaimed geek and Linux aficionado. This fall, he will be pursuing an MIMS degree at UC Berkeley, California. You can follow him on Twitter @rtaibah.

»

  • gluonman

    You know, the link to the driver (step 1) leads to an error. Any other way of finding that driver?

  • atropos

    @gluonman: Apparently Linksys just changed the location of the file. Here is the card’s page.

    Use the menu on the left :)

  • http://toxicvirus.freehostia.com mazingerZ

    I’m just wondering if this will work for v4.1 cards, which use different drivers.. I’m guessing the principle is the same but you just blacklist the different drivers?

  • http://hehe2.net atropos

    hmm, you will have to try it out, but I believe so. Try it out and if you have any troubles let me know.

    PS: anime?

  • jglee

    after a long struggle, this worked for my 4.1 card. thanks for taking the time to write up the process.

  • olivier

    When I want to perform the sudo make uninstall, sudo make and sudo make install. I am always getting “No rule to make target ” error. Could you elaborate a little bit more on these instructions on what they do.

  • http://hehe2.net Rami Taibah

    @Oliver This is almost a year old, am not sure if I could I could vouch for this method now. But I think if you google the error (which does seem to be out of the scope of this howto) then you would probably find your solution:

    http://www.google.com/search?q=no+rule+to+make+target&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:unofficial&client=firefox-a

  • Lauren

    I was worried that I’d have trouble getting my WMP54G working on my new Ubuntu box, being fairly new to the OS, but it was entirely painless under Intrepid (8.10). Absolutely plug and play — I just installed the card and Ubuntu did the rest. Fabulous!

    • http://hehe2.net Rami Taibah

      Oh so its working now on Intrepid out of the box? Thats great!

      • Anon

        Not for me it isn’t. The card appears to be there, but it can’t see any wireless networks.

  • http://www.centexstreet.com John

    I have been searching for HOURS trying to get this thing to work..! I'm new to ubuntu as of today and am already in love with it, despite it frustrating me..! But, I'll blame it on Microsoft and it's windows… Even in linux it still haunts me..

    Anyways, this is the only tutorial that has worked for me. Thank you SO much!!

  • Faisal

    You are amazing. I have been searching for days how to get this to work in ubuntu 9.04. And this solved the issue in minutes! :D

    • http://twitter.com/rtaibah Rami Taibah

      WOW, This is very old, yet it still works! I no longer own this hardware, but am glad that its working :)