Has it ever happened to you that you went to install Ubuntu for example and when you started to try it out, you realised that does not recognise some thingsHere I bring you a tutorial so that you can know how to install correctlyat least, almost any Wifi card.
For the lazy ones, this is not the first option, first of all look if your drivers exist for Linux (with this you will avoid unnecessary bugs) and if finally you don't find them, then use this trick, which for the case is just as good.
Basically the function of this trick, is clearly to make work a Wifi card that doesn't have drivers in Linux, but how, is very easy, what it does is to take the Windows drivers and change them to make them work in Linux.
The trick is as simple as that:
1- Installation of ndiswrapper
From the repositories...
The installation of this program is quite simple, since it can be found in the repositories of almost all distributions. In Ubuntu or Debian, just run the command:
If you use Arch Linux:
From the sources...
If you wish, you can install it from source code. Just download it from the official website, unzip it, compile it and install it:
# cd ndiswrapper-1.53/
# make install
2- Use of ndiswrapper...
Since ndiswrapper you need the Windows drivers to install them on Linux, you need to know where they are located (if they are in the Windows partition) or download them. Once we have the drivers, we need the file whose extension is .inf. Once identified we execute the command:
Once this is done, the driver is installed and we only need to create an alias to load the module:
# modprobe ndiswrapper
Once you have done this, you will be able to check what drivers you have installed and if the card is connected, using the command:
So you get something like this:
device (5041:2235) present (alternate driver: p54usb)
If you want to remove the driver, simply identify the driver name and run ndiswrapper with the -r option. For example, to remove the driver in the above example, the command would be:
3- ndisgtkgraphical interface for ndiswrapper
If you are not very console friendly, then you should try to learn... in any case, and while you are studying, you can use ndisgtka fairly simple tool written in Python (pygtk), with which you can easily manage the drivers of your Wifi cards.
Its installation on Ubuntu (because it is not in the Arch Linux repositories) is:
To use it you go to System -> Administration -> Driver for Windows wireless networks, and you'll see something like this:
To install a driver, click on the button Install new driverand select the file .inf.
This is all set up and we can connect to our favourite wireless connection without any problems.