This has been tested with Kubuntu Dapper Drake and a Belkin Pre-N card (F5D8010uk). It probably will work with the other cards that use the same chipset, but I have no way of checking. This is my first how to, so feel free to correct me 
OK. For this card you need to use ndiswrapper, but the version that comes with dapper doesn't work properly. It gets as far as finding the access point, then doesn't let you get an IP address using DHCP or connect with a static address.
What you need is newest version of ndiswrapper. The version I used is 1.23, and it is available to download at http://ndiswrapper.sourceforge.net/
I'm now going to shamelessly copy the instructions on what to do from https://help.ubuntu.com/community/Wi...er/Ndiswrapper, as that is what got mine working.
For this, I'm assuming you can have some internet access while you get your wireless working, probably with a cable. If not, I'll try and figure out how you can get them from another computer at some later date, but you will need some internet access for this to work.
First of all we need to install some kernel headers. Why I'm not sure, but when I didn't do it nothing else worked.
From terminal, konsole or whatever you use, type this:
Code:
sudo apt-get install linux-headers-$(uname -r)
You also need to install ndiswrapper's dependencies, and the stuff to make it compile. Again in the terminal, run:
Code:
sudo apt-get install dh-make fakeroot gcc-3.4 build-essential
Right then, now that's done it's time to download ndiswrapper. Download it here, then in the terminal change your directory to where it is (using the cd command if necessary).
Next, run these commands (you can press tab after the first few letters of the filename instead of typing it all out):
Code:
tar xvfz ndiswrapper-[current version].tar.gz
cd ndiswrapper-[current version]
Replace [current version] with the version you're using (such as ndiswrapper-1.23) or just press tab after typing a few letters.
Next up we get to do some compiling! Don't worry, this isn't hard as we installed all the dependancies earlier on. In your terminal again, run:
Code:
sudo make uninstall
If you get an error with this about not being able to remove it because it's a directory, run this:
Code:
rm -r path/to/the/directory/it/can't/remove
Make sure it's only the directory it was complaining about though- you don't want to be removing something you shouldn't. Then run the sudo make uninstall again.
Once you get no errors with the make uninstall, run this:
Then run this (I don't know why you run fakeroot, but it works so I'm not arguing):
Code:
fakeroot
sudo make install
Hopefully you shouldn't get any errors. If you do try running the commands again.
Once that's all sorted, it's time to install your driver. You need the one from here.
Unzip the drivers, and note where they're installed. In terminal change to that directory (mine was
/home/username/wpnt511_v1104/Utility/Driver but yours could be different) and then run:
Code:
sudo ndiswrapper -i NETANI.INF
That should install the driver. Next we check that everything there has worked ok:
With luck it should show:
Code:
Installed drivers:
netani driver installed, hardware present
Next up we have to load the ndiswrapper module.
Code:
sudo depmod -a
sudo modprobe ndiswrapper
We now check for error messages.
Code:
tail /var/log/messages
No errors? Great! It should now work properly. Just to be sure, check that ifconfig and iwconfig show your wireless card. If they don't, try a restart (mine didn't show till after I'd restarted and modprobe ndiswrapper again).
With luck you should now be able to connect to your network. The quickest way (for me) was to run these commands:
Code:
sudo ifconfig wlan0
sudo iwlist scan
sudo iwconfig wlan0 essid [mynetworkessid]
sudo dhclient wlan0
If you have security set up on your network, you will have to set that up as well, but that's covered elsewhere.
Hopefully you now have a working wireless card! If I've made any mistakes/missed anything out/it's not clear don't hesitate to yell at me. Any suggestions are also appreciated. If you need help you can always ask, but I'm still quite new to linux so may not know the answers.
Hope this helps,
Danni
Bookmarks