Configuring the ndiswrapper module for wireless controllers without native Linux drivers in Mandriva 2008.0

Author(s)

Bill Giannikos

Introduction

This guide is designed to help you configure a wireless controller under Mandriva 2008.0 which does not have any native drivers. Thanks to the ndiswrapper module, you are able to run drivers written for Microsoft Windows XP/2000 under Linux. This method should only be followed if there are no native drivers available for your wireless controller or the drivers available do not work properly with your card.

Important Notes

Windows driver version

For best results you should use drivers written for Microsoft Windows XP. Vista drivers are not recommended.

64bit Linux

When installing the Windows drivers with NDISwrapper you will need to install drivers which match the architecture of your Linux distribution. So you will install 32bit Windows drivers when using 32bit Linux and 64bit Windows drivers when using 64bit Linux. Unfortunately many manufactures have not release drivers for the 64bit version of Windows XP so your only recourse would be to reinstall a 32bit version of Linux.

Notes

We will be using 'nano' as our text editor of choice but you can use whatever you wish.

While this guide is mainly focused to laptop users there isn't any difference for desktop users.

Prerequisites

You should run a full update for your installation of Mandriva to ensure you have all the latest packages installed.

Installing the NDISwrapper module

The ndiswrapper module is included with Mandriva but not installed by default. Here is how to install the driver:

1. Load up a terminal window if you are in the graphic interface.

2. Switch to the root user by entering the command “su -” (without the quotes) and typing in your root password

3. Type in the following to install the driver:

urpmi ndiswrapper

The ndiswrapper module is now installed and ready to be configured.

Configuring NDISwrapper

First find out which wireless controller you have in your system. This website should provide you with details on which card you have in your laptop. Alternatively you can use our Linux Wireless Chipset Detector utility which will determine which controller you have.

Download the Windows XP driver which is appropriate for your wireless controller. This website should recommend a driver to use based on the laptop you are using. If not then the driver from your manufacturer should work fine. You can also find a list of drivers from the NDISwrapper site.

Extract the contents of your driver. If you have an .exe file you will need to use either cabextract or unshield to extract its contents. If you have a zip file just use unzip.

Now execute the following two commands as root:

ndiswrapper -i <location_of_your_driver>/<the_driver>.inf
ndiswrapper -l

Change the above from <location_of_your_driver> to your driver's directory and change <the_driver> to match the name of the .inf file in the driver's directory. For example a Broadcom controller is sometimes called bcmwl5.inf and is in the bcmwl folder. You would type in:

ndiswrapper -i bcmwl/bcmwl5.inf
ndiswrapper -l

The last line should print out a list of the installed drivers. You should also see “hardware present” printed next to your driver. If you do not see “hardware present” it is likely that you installed the wrong Windows XP driver.

Now type in:

modprobe ndiswrapper

And the wireless controller should be active. You can try to see if the controller is working by typing:

iwlist scan

This should print out a list of access points in your area.

Finally we need to tell Mandriva to load this driver each time we start the computer. Run the following command:

echo "ndiswrapper" >> /etc/modules

You should now have a working wireless controller and can now use NetworkManager to configure your wireless settings.


Discussion

julia, 2014/08/18 07:52

Is there a way to forward other people’s blog posts to my site?
<a href=“http://www.bbflatiron.com”>www.bbflatiron.com</a> | <br>
<a href=“http://www.shledexpo.com”>www.shledexpo.com</a> | <br>
<a href=“http://www.mamaniaca.com”>mamaniaca.com</a> | <br>
<a href=“http://www.bestof-denver.com”>bestof-denver</a> | <br>
<a href=“http://www.thedetailsmovie.com”>thedetailsmovie</a> | <br>
<a href=“http://www.hogrocketgames.com ”>http://www.hogrocketgames.com </a> | <br>
<a href=“http://www.bearcrawlingnation.com”>www.bearcrawlingnation.com</a> | <br>
<a href=“http://www.software4airlines.com”>www.software4airlines.com</a> | <br>
<a href=“http://www.marchofdimesillinois.org”>marchofdimesillinois.org</a> | <br>
<a href=“http://www.camden-sc.com ”>camden-sc </a> | <br>

Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.
 
configuring_the_ndiswrapper_module_for_wireless_controllers_without_native_linux_drivers_in_mandriva_2008.0.txt · Last modified: 2009/02/12 04:04 by billg
Contact Us Sister Sites Privacy Policy Terms of Use
Copyright © 2006-2013 Linlap.com and other authors