Sunday, August 20, 2006

Netgear WG511 Wireless Adapter on Kubuntu

WARNING : The following guide is for Ubuntu/Kubuntu/Xubuntu 6.06 Dapper LTS. I no longer have a working Netgear511 (friendly advice - dont leave it outside the protective casing and put it in your bag) to test it on Edgy (6.10) . While it _should_ work, I can't guarantee anything. If anyone is successful in making it work in Edgy by this method, please let me know (leave a comment or something)

I got a WG511 (The version number written in tiny letters on the back above the MAC and just below th PCC and Canada IDs is v3.0) using the windows drivers, and ndiswrapper on ubuntu and kubuntu.

#sudo lspci -v
produces, at the very end of the output,

0000:06:00.0 Network controller: Intersil Corporation Intersil ISL3890 [Prism GT/Prism Duette] (rev 01)
Subsystem: Netgear WG511 Wireless Adapter
Flags: bus master, medium devsel, latency 56, IRQ 9
Memory at 26000000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [dc] Power Management version 1
This is how i did it:
#apt-get install ndiswrapper-utils
Then, install the drivers on a windows computer - either from the cd they provided or the internet. I got them from the internet. Copy the folder 'Driver' from the windows install (the default install directory is c:/Program Files/Netgear/) to somewhere in your linux drive.

Now, ubuntu recognizes my card and loads the prism54 module automatically. To unload it, do
#modprobe -r prism54
Make sure its unloaded by doing
#dmesg | grep prism54
The last line should tell you that the module has been unloaded.

Now, install the drivers by
#ndiswrapper -i /place_where_you_put_the_driver/Driver/netwg511.INF
(i think that was the filename, verify that in your folder - there will be one or two inf files - pick the one with wg511 in it)

To check if the module got loaded, do
#ndiswrapper -l
Then, if it did load, do the following
#ndiswrapper -m
#modprobe ndiswrapper
The adapter should start working at this point.

You will have to manually remove the prism54 module each time you reboot, or you need to add it to your blacklist. On ubuntu breezy there apparantly was a file in /etc/hotplug/ , and in dapper (the one i use), you use the following command :
#echo 'blacklist prism54' | sudo tee -a /etc/modprobe.d/my_blacklist

0 comments: