A while ago I purchased the Linksys WRT54G for my home networking setup. Herein I chronicle the steps to get it working. Since Linksys use the Broadcom chipset, and they do not see fit to publish any specs, getting anything but the latest version of Windows supported is - well, you can guess.
- First, ensure the base system is correctly installed and configured, and you have a working ethernet network connection
- Run System|Administration|Synaptic Package Manager (and enter your password when prompted)
- It is recommended that you first apply all updates, which you can do by pressing "Reload" then "Mark All Upgrades" then "Apply"
- Once all that has completed successfully, install ndiswrapper-utils
- You can find it either by pressing "Search", typing "ndis" and pressing Ok, or
- By browsing down to the section "Miscellaneous - Text Based" (why isn't it in Networking?)
- The kernel module is already build and available in the kernel, so that is all you need
- Check the back of your wireless card, the WPC54G has several versions, at least v1 and v2
- Download the latest version of the approproate driver from ftp.linksys.com/pub/network
- In our case it was wpc54g_driver_utility_v1.3.zip for the v1.2 card
- Now "cd /tmp" and "unzip ~/Downloads/wpc54g_driver_utility_v1.3.zip" (or whatever)
- Do a "cd WPC54Gv1.3"
- Run "sudo ndiswrapper -i lsbcmds.inf" and enter your password
- You will see some messages saying "Forcing parameter RadioState|0 to RadioState|1"
- Now run "sudo modprobe ndiswrapper"
- and "echo ndiswrapper >> /etc/modules"
- Now right-click the Network settings on the toolbar, select properties, configure, then deactivate eth0
- Remove your ethernet card, put in the WPC54G wireless card
- Run "dmesg" and you should see some messages at the bottom, like "wlan0: ndiswrapper ethernet device 00:0f:aa:bb:cc:dd:ee using driver lsbcmds"
- I need to run "sed ..." to set Radio... to 0 (as described in the link below)
- The following assumes you have WEP configured on your router (and if you don't, why not???)
- The next two steps are optional: run "sudo iwconfig essid somewhere" (where 'somewhere' is the name of your wireless network)
- now run "iwlist scan wlan0" and you should be able to see your network (and maybe your neighbor's)
- Once you have the driver loaded and running, the built-in Ubuntu networking settings can do the rest
- Just open up the Network Settings dialog, then go in to wlan0 and make the appropriate settings
- Note: the built-in configuration tool only supports WEP at the moment. It is possible to get WPA support with the wpasupplicant package, but configuring that is a whole other story
I now have it working with my Airport Express wireless adaptor, in WEP mode. I haven't got WPA sorted out yet unfortunately.
Useful links:
- http://ubuntuforums.org/showthread.php?t=5645
- http://tiefighter.et.tudelft.nl/~arthur/wpc54g/
- http://ndiswrapper.sourceforge.net/phpwiki/index.php/FAQ
- http://lists.shmoo.com/pipermail/hostap/2005-April/009962.html
- http://ndiswrapper.sourceforge.net/phpwiki/index.php/WPA




