Posted by: globalsyzygy | December 30, 2007

Fixing your RTL8187 Driver (Netgear WG111v2) in Ubuntu

One of the awesome beauties of Ubuntu is that it supports a vast array of hardware, unfortunately, the RTL8187 driver (used with the Netgear wg111v2) is just a bit buggy.

After trying out legions of methods, I finally came upon a wonderful simple solution. The only catch is that it disables the Network Manager (thus it is best used when you use the same WiFi network, or in conjunction with a WiFi network finder such as NetStumbler).

Here it is:

Remove the buggy module:
sudo rmmod rtl8187
Blacklist it:
sudo gedit /etc/modprobe.d/blacklist
then add “blacklist rtl8187” somewhere at the bottom
Stop the Network Manager:
sudo /etc/dbus-1/event.d/26NetworkManagerDispatcher stop
sudo /etc/dbus-1/event.d/25NetworkManager stop
Create two files that only contain the word “exit” at the following locations:
Disable the Network Manager at Startup:
Set up your wiresless network:
sudo gedit /etc/network/interfaces
Add (Fill in the ……’s):
auto wlan0
iface wlan0 inet dhcp
wireless-key ……… #This is Optional (Only if you use a WEP key)
wireless-essid ……..
Install ndiswrapper:
sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9
Pop in your driver cd and navigate to the WIN98 Drivers folder and execute:
sudo ndiswrapper -i Netrtuw.inf
sudo ndiswrapper -m
sudo modprobe ndiswrapper
sudo gedit /etc/modules
add “ndiswrapper” to the bottom of this file and save
sudo /etc/init.d/networking restart

Note: This post was made possible by the wealth of information available on the Ubuntu Forums, and especially by a now archived post made there by panurge77, I take no credit for this work, I merely did a lot of reading and compressed all of it into a short and sweet guide.



  1. Hi,
    I have been trying to get my internet to work using your method and was wondering if I can get some help. I have having problems with the following step:
    Create two files that only contain the word “exit” at the following locations:
    I cannot find those folders and I cannot create a new folder within the default folder. Is that what I am to do?
    Thank you for your help!

  2. Sorry I couldn’t get back to you earlier. The way to create the files is to execute:

    sudo gedit /etc/defaul/NetworkManager

    And then:

    sudo gedit /etc/defaul/NetworkManagerDispatcher

    Write the word “exit” in both files then hit the save button and close the window.

    Good Luck!

  3. It’s funny how you try to install ndiswrapper after removing the wireless driver. Perhaps you should do that before removing it?

  4. Most people use this guide because their internet doesn’t work. Either way, it doesn’t matter, as the packages installed in this guide are found on the original installation CD, and thus, an internet connection is not required!

    Thanks for reading carefully though!

  5. Yeah I did all the steps in the instructions givin. Everything works except after I reboot the system ubuntu freezes up during the login process and a blank grey box pops up in the upper left corner of the screen. help me out I’m running Ubuntu 8.04.1. kinda new to linux. Be great to get this up and running again.

  6. Could you give me what your system is writing out? Usually this is found if you hit CTRL + ALT + F9. It sounds like more of a graphical error (xorg) than an internet based error, but I’d love to help.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: