Tuesday, February 23, 2010

Installing and Configuring Wireless Network adapter using NDISWrapper

I wanted to connect and test to my office wireless LAN on my office desktop with wired network adapter which was working on Linux Mint 8 from December 2009 onwards. I had a spare wireless USB adapter in the office which I connected and was found to be not working. I found a solution after several days two days of intensive Googling and connected to the net. I am writing this article using the same connection. So below are the steps.

First of all find whether your adapter is detected by the system.

If it is a USB wireless adapter then use the command below at the terminal window.



lsusb


The result may be as below if your device is found

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 013: ID 07d1:3a0d D-Link System DWA-120 Wireless 108G Adapter
Bus 001 Device 003: ID 0bda:0111 Realtek Semiconductor Corp. Card Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub



If it is a PCI wireless adapter then use the command below at the terminal window.

lspci

Which will show the respective adapter ID if recognised by the system.

Removing some free drivers which may conflict with NDISWrapper

The Ubuntu documentation itself is saying that NDISWrapper will conflict with some free driver built in Ubuntu so use the below comment to disable them.

echo -e "blacklist bcm43xx\nblacklist b43\nblacklist b43legacy\nblacklist ssb" | sudo tee -a /etc/modprobe.d/blacklist


Download the respective Windows XP driver and unzip it to a folder.


Installing / Using NDISWrapper GUI will needs to be installed / be available in Linux Mint is as below.


First of all lets check whether this GUI is available by clicking Menu > All Applications > Administration > Windows Wireless Drivers

Click on Install New Driver then from the location where you have unzipped the driver file locate the .inf file and click on install. After a few seconds you will see the driver and you can start using the device.

Above was an abstract of what I have done. For more information look here.

0 comments: