Ndiswrapper
Home
Pictures
Ndiswrapper, including ndiswrapper in my blog, ndiswrapper in Folkestone, and any mentions of ndiswrapper in my family tree. Also there's a feed of ndiswrapper stories / mentions, a JSON feed of ndiswrapper, a newer KML feed of ndiswrapper , search my ndiswrapper venue info, ndiswrapper on Your Folkestone. Hope you can find what you're looking for, if not please leave a message about ndiswrapper.
Blog / forum etc:
May31
Everything was good until I upgraded to the newer "Feisty Fawn" version of ubuntu, now we're back to the drawing board. I have no wifi and sometimes I have no keyboard or mouse either. If any of the following instructions (which I'm copying and pasting here for convenience) mean anything to you then you have my sympathy:
lsusb | grep NetGear
The output will show one of two devices: 0846:4240 is the v2. If you're using v1, you can follow the same steps, but the driver you install will be different.
STEP: Blacklist the existing drivers:
Code:
sudo gedit /etc/modprobe.d/blacklist
Copy and paste the following to the bottom of the file. Save it. Close it.
Code:
#wg111v2 conflicting drivers
blacklist islsm_pci
blacklist islsm
blacklist islsm_usb
blacklist prism2_usb
blacklist rtl8187
blacklist r8187b
blacklist r8187
STEP: Download the driver from Netgear
Select version 1.3 (if you're using v2). Download wg111v2_1_3_0.zip to your desktop. Right-click on the file and extract it to your desktop. For ease of use, rename the extracted folder to: "NetgearV2".
STEP: Configure NDISWRAPPER. Edit path as necessary. One command at a time.
sudo ndiswrapper -i ~/Desktop/NetgearV2/Driver/WIN98/net111v2.inf
sudo depmod -a
sudo modprobe ndiswrapper
sudo ndiswrapper -m
STEP: Add the module to /etc/modules
sudo gedit /etc/modules
Copy and paste the following to the bottom of the file. Save it. Close it.
ndiswrapper
STEP: Reboot your machine. Insert your wg111v2. Confirm proper installation:
ndiswrapper -l
Now I'm on the new version I'm getting the same old "Error inserting ndiswrapper... Invalid argument" when I try to modprobe my ndiswrapper (mrs)... how on earth is a user who's less technical than me (and there must be some out there) meant to cope with this?
There is a hack out there that I used on an earlier version of the operating system, where there was an error with the version of ndiswrapper that was installed by default (1.1), and by deleting that and replacing it with ndiswrapper-1.8 everything was OK. The only searches I can find for my current problem lead me back to this same hack, BUT the newer distribution already comes with ndiswrapper-1.9, so this is no help at all.
UPDATE: even worse, now I am fast becoming the top result when searching for this error, and I have no solution still! There are still no up to date solutions on ubuntuforums.org as far as I can see, my specific error message regarding Error inserting ndiswrapper... Invalid argument still brings me back to a solution involving updating to a version of ndiswrapper that's older than the one I have.
Despite itchypaws' best efforts, this is giving me a headache.
2007 :: Comment / reply
Pictures
Hi Paul
I came across this site as I was searching how to make my new WG111v3 usb adaptor work under mandriva 2008 (I'll try it on my ubuntu machine later) - that has ndiswrapper installed and, like yours, didn't work. Your posting gave me the clue as to where to look (as well as reading the ndiswrapper manpage), so if you, or anyone else is still having problems, this is how it is done.
The wg111v3 comes with a setup.exe file, rather than the raw inf and other files, so the trick is to extract the files that you need from it. I have wine installed so I simply ran it under wine and went back to harvest the necessary files - you might also use an extraction tool such as filejuicer to get at them, or even use setup on a windows machine!
You need
WG111v3.inf which is in .wine/c/windows/inf/
wg111v3.sys which is in .wine/c/windows/system32
I also included
wg111v3.cat which is in .wine/c/windows/inf/WG111v3/Vista64
but I don't know if you actually need it
the .wine file is usually in your home folder, c may also be called drive_c or fake_windows
Copy these files to a folder somewhere and use them to configure the ndiswrapper. The mandriva wireless configuration tool in the control centre worked fine after that (when I remembered to actually plug in the adaptor) and automatically installed the extra files needed for wpa encryption; I am sure the ubuntu tools will work equally well.
Vincent
