Ndiswrapper

From blag.wiki.aktivix.org

Jump to: navigation, search

ndiswrapper is a kernel module that allows Microsoft Windows network card drivers to be used in linux.

Contents

Quick note for BLAG 50k

Starting with BLAG50002, the ndiswrapper kernel modules are in the repository. To install them, run:

apt-get update
apt-get install ndiswrapper ndiswrapper-kmdl

60k users should not run the second command, but instead run:

apt-get install ndiswrapper ndiswrapper-kmdl-`uname -r`

Note that those are backticks around uname -r.

Getting Started

Checking whether your card is compatible

First, you need to check that your card is supported by ndiswrapper by heading over to the ndiswrapper supported chipsets list. If there are native drivers for your card, consider them first. If they are immature or non-existant, move on to the next step.

Getting drivers and installing them

Once you have your drivers, unzip them, and then you can install them by typing:

/usr/sbin/ndiswrapper -i <ini file in drivers>

Make sure you do this as root.

Checking whether it installed successfully

To check whether your drivers installed successfully, type:

/usr/sbin/ndiswrapper -l

and check if your card is listed. Next, type:

/sbin/modprobe ndiswrapper

If there was an error, you may get:

modprobe: Can't locate module ndiswrapper

If you get this then make sure you have the ndiswrapper kernel module package installed. Make sure it's the right kernel version and architecture by using the command 'uname -r'. This will give you the kernel version you need.

If it was installed successfully, you should get something like:

wlan0: ndiswrapper ethernet device xx:xx:xx:xx:xx:xx

Network Configuration

Next, head to the Network Configuration, located in the star menu under System Settings -> Network. You will be prompted for your root password. Next, select 'New' and click 'Wireless Connection.' Then, select 'ndiswrapper (wlan0)' and click continue. You will then be prompted for network information like your SSID, channel, etc. On the next section you will be prompted for your IP information, (dhcp or manually entering an IP). After continuing, the wizard will confirm whether or not your information is correct. If it is correct, click 'Apply', otherwise go back and correct any errors.

Activating your card and setting it to start on startup

Finally, you can select your card and click 'A ctivate'. If your card starts without problems, and is labeled 'Active', try pinging your router or another computer on your network. If it is successful, congratulations. Now, go to a terminal and type:

/sbin/ndiswrapper -m

and edit your new card's settings in Network Config so that it is set to 'Activate device when computer starts'. If you are unsuccessful, you might want to seek help from places like the Blag Forums or the ndiswrapper website.

Get NdisWrapper

The following only applies to blag 30000 series.

Kernel Modules

Grab one that matches your kernel:
2.6.11-1.27_FC3
2.6.12-1.1372_FC3
2.6.12-1.1376_FC3
2.6.12-1.1378_FC3

NdisWrapper

ndiswrapper-1.2.lvn.3.3.i386.rpm

Contributors

If you contributed to this document, sign below.
stevo321, Jung

Personal tools