The most common method of getting the wireless card to work in linux is to use ndiswrapper to install the drivers made for windows. The reason that getting wireless to work in linux distros is so difficult is because the vendors do not manufacture drivers for linux and hence there are no out of the box solutions but only hacks. Initially I encountered a lot of errors while installing wireless drivers on linux. However, after the initial struggle, I managed to compile a series of simple steps that have to be followed in order to get the wireless driver in linux without much head-ache.This served as a reference to me for installing them again and again and again.
In this post, I am going to share with you these steps. They are presented in a simple, abstract manner that is the same across all distros and manufacturers (systems). However, the concrete steps to be taken may vary among distros (say debian and open suse) and among manufacturers (say hp and dell).
Installation Sequence:
$cabextract --help
if you get something like command not found then you need to install cabextract (next step) else you can skip to the actual installation given below.
$sudo ./configure
$sudo make
$sudo make install
$cd ndiswrapper<version>
$make uninstall
$make
$make install
$cd (into the folder that contains the extracted .exe file)
$ndiswrapper -i filename.inf
$ndiswrapper -l
$depmod -a (if no error then continue)
$modprobe -r b44
$modprobe -r b43
$modprobe -r b43legacy
$modprobe -r ssb
$modprobe -r ndiswrapper
$modprobe ndiswrapper
$ndiswrapper -m