ADAM'S WEB PRESENCE

28 August 2007

NetGear WG311v2 Wireless LAN and Ubuntu Feisty

Filed under: Nerd Notes — adam @ 1:44 pm

I wrote a while back on getting my ACX based wireless LAN card working in Ubuntu version 6.06. Now I have upgraded my machine and find that it is a bit different getting it to work under Ubuntu 7.04 (A.K.A. “Feisty Fawn”).

Essentially, the built-in ACX100 driver now correctly loads the firmware so you don’t need to fiddle with its parameters any more.

However, Fiesty introduces a new tool called “Network Manager” which does not get along with this driver. Network manager is installed by default so the first thing we need to do is get rid of it:

sudo dpkg -P network-manager network-manager-gnome

Then the card can be configured by editing the interfaces file:

sudo gedit /etc/network/interfaces

Here is my file. WEP keys have been changed to protect the innocent.

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# Wireless network
auto wlan0
iface wlan0 inet dhcp
        wireless-mode Managed
        wireless-essid MyNetwork # Replace with the name of your wireless network.
        wireless-key 23BA7823B4  # Replace with your own key or omit if not using WEP.

Then reboot and you should be good to go!

One more thing before I finish. Be aware that although this card supports WEP authentication, it does not support WPA so make sure your wireless router is not set to WPA.

 Update

I have just replaced this card with a TP-Link one. It is sooo much faster and more reliable than the NetGear card. Read my article on setting up the TP-Link.

6 Comments »

  1. Comment by Rudie — 1 October 2007 @ 10:52 pm

    Hi Adam,
    thanks for you posts. I tried all of them,but still im getting these errors(seperately) whenever I try to ifup wlan0:

    wlanctl-ng: no such device
    ..
    ..
    wlan0:ERROR while getting interface flags: No such device
    ..
    ..
    failed to bring up wlan0.

    Do you have any idea why this error is coming?
    Thanks again for you fabulas posts.

    Cheers,
    Rud

  2. Comment by adam — 2 October 2007 @ 9:31 pm

    Have a look in your kernel log (dmesg | less) and see if there are any errors reported.

  3. Comment by Existence — 4 December 2008 @ 10:32 am

    Hey Adam,
    I’m on 8.10, and followed everything in this article. You’d imagine it’d work, because it’s newer, but it doesn’t.
    Is there any other thing that I could try to get it to work?
    Thanks,
    Existence.

  4. Comment by adam — 7 December 2008 @ 8:37 pm

    This technique is unlikely to work in Ubuntu 8.10.

    I wrote this article more than a year ago. Even when it was working, the card was not very reliable, I have given up on this card now.

  5. Comment by KeBaB — 10 January 2010 @ 7:28 pm

    I found this – may help any visitors to your site…

    How to Enable Netgear WG311v2 in Ubuntu 9.10
    http://www.distrotips.com/ubuntu/how-to-enable-netgear-wg311v2-in-ubuntu-9-10.html

  6. Comment by KeBaB — 10 January 2010 @ 8:51 pm

    The details in the link I posted almost works.

    It loaded the driver but did not load the driver module.

    https://help.ubuntu.com/community/WifiDocs/Driver/Ndiswrapper has more details

    All I did was run the two commands:

    sudo depmod -a
    sudo modprobe ndiswrapper

    Everything now working!

RSS feed for comments on this post. TrackBack URI

Leave a comment


Powered by WordPress