Installing and configuring ndiswrapper and WPA for NetGear WG111 v3

You need to do this steps:

1. Get the ndiswrapper latest version
For that you need to open a browser and go to this link and download the source code
or Open Terminal (Applications > Accessories > Terminal)

2. Get the Windows drivers form youe installation cd or site of the manufacturer, if for some reasons you are not able to get them you can try here too

3. Extract the archives in terminal use tar xvvf ndiswrapper-x.xx.tar.gz
tar xvvf ndiswrapper-1.52.tar.gz /* where x.xx is the version */
tar xvvf WG111v3.tar.bz2
after extracting you need to change the directory to ndiswrapper-x.xx
$ cd ndiswrapper-1.52
for this operation you need to be super user so su or sudo are needed

$ make
$ sudo su – (enter your password)
# apt-get remove ndiswrapper-common
# apt-get install build-essential
# make install
# ndiswrapper -i ../WG111/WG111v3.inf
# depmod -a
# modprobe ndiswrapper
# ndiswrapper -m
# exit
$ exit

4. Create wpa_supplicant configuration, let say “/etc/wpa_supplicant.conf”
Now edit this file, we will use a simple configuration such as

sudo vi /etc/wpa_supplicant.conf or if you preffer sudo mcedit /etc/wpa_supplicant.conf

save it.

Note that psk given above can be plain text ASCII pass phrase that is used on the AP or hex digits (without quotes) that can be generated with wpa_passphrase from the same ASCII pass phrase. For simplicity, go with ASCII pass phrase.

Above configuration causes wpa_supplicant to negotiate which encryption scheme to use. Certain AP’s might not work with this negotiation procedure. So it can help to limit the scheme to the most basic WPA one: TKIP. Add this line to your config to do so: pairwise=TKIP

Now start the interface and then wpa_supplicant. For example, as
ifconfig wlan0 up
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd

It should work for you, Good luck.