LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Linux Answers > Networking
User Name
Password

Notices

By coindood at 2004-09-25 15:30
If you're tired of working on getting any wireless card based on the RTL8180 chipset, and don't want to downgrade to use the official linux drivers from Realtek or paying money for the LinuxAnt DriverLoader, then use Ndiswrapper. Getting Ndiswrapper to work is so much easier than the Realtek drivers! This is how I got my setup working on distros ranging from Debian, Knoppix, Slackware, and Gentoo:

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/...x?Keyword=8180
and downloaded the latest Windows XP drivers.

I unzipped the drivers into my ndiswrapper directory (/home/user_name/ndiswrapper/), and per the INSTALL text, I typed
Code:
make install
then
Code:
ndiswrapper -i NET8180.INF
to install the driver. Typing
Code:
ndiswrapper -l
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  //once again this is the AP ip
OR
dhcpcd wlan0
Test out the connection by doing a quick 'ping google.com' to make sure you are connected and the DHCP settings are all correct. If everything works, then congratulations and have fun with your new wireless setup!

To save the "modprobe" settings, use:
Code:
ndiswrapper -m
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!

by Dataforce on Mon, 2005-01-24 14:02
Thanks.

This worked flawlessly on Slack 10 to get a Mercury KOB 445W PCMCIA card working.

by scrosley on Fri, 2005-02-25 19:30
My system (Fedora 3) hangs after I enter:

/sbin/ifconfig wlan0 192.168.0.10 up


Works fine prior to that,...I set the ESSID, the channel, and the WEP key.

I am connecting through a Linksys wireless router B from a cable modem.

Thanks for any advice.

by bsammon on Fri, 2005-04-22 16:24
http://rtl8180-sa2400.sourceforge.net/


  



All times are GMT -5. The time now is 01:04 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration