Help - Search - Members - Calendar
Full Version: Using Ndiswrapper For Wireless Networking
BleepingComputer.com > Bleeping Computer Applications and Guides > Mini guides and how-tos - Simple answers to common questions > Linux Mini-Guides
   
kbk
I wrote this and posted it on my website, but I will repost it here because I think it's helpful...

When I first started using linux, one of the biggest problems I had was getting my wireless network adapter working. I finally got it, and, in the hopes of getting others to use linux I am writing this tutorial on how to do it. First you need to get the drivers for your wireless adapter, sometimes the disk that came with it will work but in my case I had to download them from the Linksys website. You should do this while you still have windows, since the drivers are usually in .exe format. After you get the drivers and have them copied to a cd or floppy or whatever, and have linux loaded on your computer, you need to see if your distro has ndiswrapper (it's a good idea to do this before you install the OS, but whatever). To find out if you have ndiswrapper, open a terminal and type ndiswrapper, here is what it should look like:
CODE
kbk@0[~]$ ndiswrapper
Usage: ndiswrapper OPTION

Manage ndis drivers for ndiswrapper.
-i inffile        Install driver described by 'inffile'
-d devid driver   Use installed 'driver' for 'devid'
-e driver         Remove 'driver'
-l                List installed drivers
-m                Write configuration for modprobe


where 'devid' is either PCIID or USBID of the form XXXX:XXXX


Now that you know you have ndiwrapper, it's time to install the drivers. First you will need to cd to the directory where your driver files are (don't need to, but it's not a bad idea). For me that will be:
CODE
cd /home/kbk/drivers/WUSB54Gv1
. Now for me I will type
CODE
ndiswrapper -i WUSB54G.inf
to install the driver (for you it might be something different, just install whatever .inf file you have in the directory). Now to make sure it installed we type:
CODE
ndiswrapper -l
to list the drivers installed, here is the output of mine:
CODE
kbk@0[~]$ ndiswrapper -l
Installed ndis drivers:
airplus         driver present
bcmwl5          driver present
lsbcmnds                driver present
lstinds         driver present
mrv8k51         driver present
netr33x         driver present
prismnic                driver present
wlanuig         driver present
wlipnds         driver present
wusb54g         driver present, hardware present

Now you type
CODE
modprobe ndiswrapper
so that it will save your settings. And you're done. If I've left anything out, let me know.
Rabbuk
i think u also need to do ndiswrapper -m to save it everytime you log on or at least i did on ubuntu.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.