this is taken from coindood's post at
http://www.linuxquestions.org/questi...&pagenumber=53
this is a very good tutorial on gettting ndiswrapper from source, compiling, installing, configuring and getting on the internet. have fun :)
Getting Ndiswrapper to work is so much easier than the Realtek drivers! This is how I got my setup working (btw, i tried this on most of the knoppix derivitives, so it should work on debian too, with kernels ranging from 2.4.24 and up):
Note: These are all console commands (for those VERY new to this!)
First you must download the newest version at
ndiswrapper.sourceforge.net
If you want to be on the edge, you can download the CVS by using:
Code:
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ndiswrapper login
Code:
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ndiswrapper co ndiswrapper
Untar the ndiswrapper file and go to
http://www.realtek.com.tw/downloads...px?Keyword=8180
and downloaded the latest WindowsXP drivers.
I unzipped the drivers into my ndiswrapper directory (/home/user_name/ndiswrapper/), and per the INSTALL text, I typed
then
Code:
ndiswrapper -i NET8180.INF
to install the driver. Typing
will tell you if the driver is present, and for good measure I typed
Code:
dmesg | grep "wlan0"
and looked at the last line to see if it mentioned wlan0.
After all that I did
Code:
modprobe ndiswrapper
to install the module, then proceeded to setup my card using iwconfig:
Code:
iwconfig wlan0 mode Managed
iwconfig wlan0 key YOUR_KEY //if you use a key use this!
iwconfig wlan0 essid YOUR_ESSID
iwconfig wlan0 channel YOUR_CHANNEL
/sbin/ifconfig wlan0 192.168.0.10 up //an unused ip within your network!
/sbin/route add default gw 192.168.0.1 wlan0
OR
dhcpcd wlan0
The last ip number is the one to your router (thanks RoyBatty).
Try using
, and if it is successful, you are all set!
To save the "modprobe" settings, use:
Thanks to everyone on this thread once again!
Knoppix (and other knoppix-based distros, or those with netcardconfig):
You can omit the last three lines (only configure with iwconfig up to setting the essid) and run "netcardconfig", either from the knoppix menu under Network, where it is called "Network Card Configuration", and select "yes" in the "Use DHCP broadcast" window. Now you are all set!