NetGear WG511v2 wlan card on Ubuntu Edgy

I am at my parents home in Glashütte at the moment. They have T-DSL (the Call & Surf Comfort package from T-Com Germany), but it was not working completely for one or the other reason…

So, since “I am a specialist in configuring T-DSL”, I spent yesterday morning with setting up the router and this morning with placing the router at a place where it is better accessible from clients. As a result, my parents (as well as me and my brothers ;-) have WLAN access at home now. The connection is made through the WLAN router that is part of the standard package and Computers can use the (of course encoded) hotspot.

Since I will have this in our new flat as well, I bought a PCMCIA WLAN card from NetGear yesterday. It’s the WG511v2 model, supporting 802.11b/g. I thought it is no problem to get this work on Ubuntu, but it turned out to be not quite straight forward. Some German blogs gave me hints on how to install it, and I will go for a short instruction for (non-German-speaking) people who are in the same situation as I…

NetGear WG511v2 PCMCIA WLAN card on Ubuntu Edgy:

First, check whether the model was identified correctly – in a shell type sudo lspci. The output should contain this line: 0000:06:00.0 Ethernet controller: Marvell Technology Group Ltd. 88w8335 [Libertas] 802.11b/g Wireless (rev 03). This means, that the card is correctly identified.

Now, it’s time to install some packages. Get a connection (LAN, modem) and install the packages wireless-tools and ndiswrapper-utils-1.8. For the latter, the version is very important! ndiswrapper-utils comes with the versions 1.1 and 1.8 on Ubuntu Edgy – and by default the 1.1 is installed. This version does not work, you will need 1.8! You can install the packages via apt on the shell: sudo apt-get install wireless-tools ndiswrapper-utils-1.8. As usual, dependencies are resolved automatically.

When the packages are present, you need to convert the Windows2000 driver (the .inf file) with ndiswrapper and install it. I didn’t figure out what ndiswrapper is all about, but it somehow converts .inf driver files to another format and thus makes the card working on the linux kernel. First, put the installation CD that came with the card into your CDROM drive and mount it. It’s usually mounted on /media/cdrom/ automatically. On the shell, cd into /media/cdrom/Driver/Windows\ 2000, that’s the place where the WG511v2.INF file lives. Then type sudo ndiswrapper -i WG511v2.INF to install the driver. It’s important to do this in the CD directory rather than copying the file anywhere else. The ndiswrapper tool seems to need other files from this directory as well… that’s a pitfall I tapped into ;-). You can now type ndiswrapper -l, to check whether everything is right. The output should look like this:

Installed drivers:
wg511v2 driver installed, hardware present

Load the module ndiswrapper into the kernel: sudo modprobe ndiswrapper. If everything is ok, you should see the green LED blink – the card is installed. You can proceed to configure the card with System->Administration->Networks or manually via an entry in /etc/network/interfaces. The card appears as wlan0 interface.

19 Responses to “NetGear WG511v2 wlan card on Ubuntu Edgy”

  1. Niklas Says:

    Hi

    Great article! But I can’t go thru all the steps as I don’t have the .INF-file.
    So could you please be so kind and send me the contents of the cd? As I have managed to lost mine and the website gave no luck with their drivers.

  2. mac.park Says:

    Thanks.
    It’s very useful for me.

  3. Giti Javid Says:

    Hi, I will be very thankfull can download free CD for NETGEAR 54 Mbps Wireless Pc card WG511 v2

  4. Andy Says:

    Hi,
    Thanks for this, simple and effective! You should hear the woes going on on some forums for this card. You have solved the problem in minutes.
    Cheers.

  5. GREG Says:

    I would be very thankful can download free CD for NETGEAR 54 Mbps Wireless Pc card WG511 v2

  6. doddo Says:

    Hello !! I have a similar query about if you would be so kind to provide me with the .inf file. I have been to netgears homepage but their install .exe (which i used cabextract to extract) didnt do the trick for me :(

    :)

  7. elehmann Says:

    I still have the driver CD around. But probably I am not allowed to redistribute the drivers on this site for download – although this would be the best thing to do, given all the requests I get here.
    Could each of you please drop me a mail with a valid Email address, so that I can send you the driver individually?

  8. elehmann Says:

    I just got a link to the content of the CD by Email. You should be able to download the inf file and everything at:

    http://www.parseerror.com/cache/drivers/WG511v2/WG511v2-cd/

    Hope that helps…

  9. Antony Says:

    I can confirm that these instructions work with Ubuntu Hardy Heron 8.04.
    I am running this on an old Toshiba Portege 3480ct – and it’s not a standard install, I am running a minimal installation and using Fluxbox as the windows manager, so no Gnome or XFCE.

    I also don’t have cd drive with this so had to copy the CD file and directory structure to the home directory. I did have a problem accessing the Windows 2000 directory for some reason but copied the files up in the file manager and the sudo ndiswrapper -i WG511v2.INF command worked fine.

    I now have the nice flashing green LED on the card!!!

    many thanks elehmann

  10. Aaron Says:

    I second this working with ubuntu 8.04. The only difference I had was using ndiswrapper-utils-0.19 which worked fine. The drivers supplied in an above post worked wonders too

    I also did most of this through a remote shell, except setting up the actual network as I’m not yet familiar with how to do that through the terminal.

    Another issue I had was the pc-card was not being recognised after first being setup. Turned out it was just dust …

    Anyways. This is exactly what I’ve been after for sometime and I am very glad that you posted it.

    -Aaron

  11. Tom Mazzotta Says:

    Got it to work using ndiswrapper-utils-0.19 with Kubuntu (Hardy) installed via wubi. Suggest adding “ndiswrapper” in /etc/modules to automatically install driver at boot time. My “only” problem is that I can’t make a WPA connection to my AP. Works fine w/ not encryption (which of course is not useful). I am able to connect w/ WPA from another laptop using the ipw2200 driver w/ a compatible NIC. This machine runs Gnome, not sure if KDE vs. Gnome (or even wubi) has anthing to do with the problem. Does anyone have any ideas?

  12. johneq Says:

    Great article as this is what I want to do. Load my WG511 v2 on my pavilion zx4200 laptop using ubuntu. I need plain simple noddy language. Can you help? Thanks

  13. Deepesh Says:

    hi this stuff really helps. i am running 8.04 but i am having a problem. after installing the wrapper i get:

    driver wg511v2 is already installed
    deepesh@deepesh:/media/cdrom0/Driver/Windows 2000$ ndiswrapper -l
    wg511v2 : invalid driver!

    please help. thanks a million

  14. dmagic Says:

    Great!
    Thanks.
    It’s very useful for me.Finally working wifi connection with Ubuntu 6.06.1.

  15. Job Zelf Says:

    Great article, after following the instructions, it worked directly on a Compaq Evo N410c with Xubuntu 8.04.

  16. Ian Says:

    works perfectly!!!! thanks!!! :)) I read your post, took WiFi card from my drawer and within 6min everything was set-up and working :)) once again – thanks

  17. miazza Says:

    To me the green led remains fix and after few minutes the computer freeze.

  18. Arjun Raj Says:

    Hi mate..
    thax a lot for this Walkthrough
    it helpd me
    and it worked the way u had said it :P
    perfect except the version i needed was 1.9

    thnx

  19. tnouchi Says:

    BTW: These instructions still work with Ubuntu 9.04. Thanks for the help!!


Leave a Reply