Labels:
This guide will help you setup a wireless card on Foresight using a windows driver and ndiswrapper. Ndiswrapper is a utility that allows you to use your windows drivers for a wireless card on linux.
Requirements: windows driver (the inf and sys files which can usually be found on the driver cd) and an install of foresight
Instructions:
1. You'll want to start by making a folder on your hard drive to store the driver (inf and sys files). I usually make a folder called "Wireless" in my home folder. In this folder put the inf and sys files for your wireless card.
2. Open up the Terminal (apps, accessories) and it's time to do the hard part (not really). Start by navigating to the folder where you have the driver files. So if it's called "Wireless" type "cd Wireless" this will put you in the wireless folder. I like to know what files are in the folder that I'm in so I'd type "ls" to list all the files and folders in the current directory (in this case "wireless")
3. Time to do a few commands to get ndiswrapper setup with the driver. The first command is:
sudo ndiswrapper -i nameofdriver.inf
And of course replace "nameofdriver" with the name of the driver. In my case this will be:
sudo ndiswrapper -i netmw126.inf
4. Then run the following command which adds a ndiswrapper module to the kernel directory.
sudo ndiswrapper -m
5. Next add the following line in the /etc/rc.local file. This will get ndiswrapper loaded on boot, meaning your wireless card will be ready every time you boot.
modprobe ndiswrapper
6. Finally reboot your computer and hopefully everything should be setup correctly. If it is you can click on the network manager icon (the little computer up at the top) and select which wireless network you would like to connect to.