Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I would say maybe a different version. It's possible this is a new problem. CVS is updated often and maybe yours is newer than mine.
look at the version file in the folder where you downloaded it
[root@zeus ndiswrapper]# cat version
0.6+CVS
Note that the project, despite being very usable already, is still in
its early development stages. Support for Linux userspace tools, such
as monitoring tools, is very limited.
Before sending bug reports, please check archives of mailing list and
public forum available at project home page: http://ndiswrapper.sourceforge.net. Both these have search facility.
Follow the instructions below when sending a bug report:
* Enable DEBUG option the Makefile in driver directory and
recompile all sources. Report dmesg output. Without this step,
proper feedback may not be possible. Include details about your
card, chipset (reported by lspci), distribution, kernel version
in the post.
* Check if latest CVS works.
* Use an alternate windows driver; see the 'Supported Cards' page on
the project homepage for a driver that is known to work for your
chipset.
Last edited by DavidPhillips; 04-09-2004 at 07:54 PM.
I am in the process of updating to a 2.6 kernel so that i can get this to work. I got ndiswrapper to install right w/ my old kernel and it even "succesfully" installed the driver (XP) i got off the realtek site. KenTI since u have gotten success could u share what you did exactly. That would be great.
Sorry, I haven't been back in a while. I guess there is some interest in Ndiswrapper so I'll explain some of the gotchas that I had and how I got it to work.
First of all, I had the wrong *.INF and *.sys files when I first tried using Ndiswrapper so make sure you get the latest and greatest windows drivers from realtek. You should have two files that are named NET8180.INF and rtl8180.sys (later drivers might have different names, but that's what I have).
Second, read the readme. It's not the best doc, but it should do the job. If when you type "ndiswrapper -i" and you don't see something about a driver or whatever being "present" then you have a problem. That was what I was getting with the wrong drivers. Also, check dmesg. You should have a wlan0 entry there after doing the command.
Anyway, here's a little script that I wrote to get things up and running when I boot. I'm not saying it's perfect, but it does the job for me.
P.S I was having a hard lockup on Kernel 2.6.5 on a slackware system that I'm almost sure were related to ndiswrapper because it was always epiphany up to something when it happens. I've recently switched over to Gentoo and a 2.6.3 kernel and have not had a problem...yet...but have only had the wireless up and running on it for a few hours as I write this.
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 to 2.6.1):
Note: These are all console commands (for those VERY new to this!)
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
OR
dhcpcd wlan0
The last ip number is the one to your router (thanks RoyBatty).
Try using
Code:
ping google.com
, and if it is successful, you are all set!
To save the "modprobe" settings, use:
Code:
ndiswrapper -m
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!
Well, the hard lockup just happened again about 10 minutes ago. So it's locked up on me on a Slackware system running kernel 2.6.5 and a gentoo system running 2.6.3. I'm on a gentoo system right now. It always seems to happen when I'm running epiphany, so I'll try running straight Mozilla for a bit to see if anything is different(doubtful).
Anyway, I'll post this issue to the ndiswrapper forum and maybe put a couple printks in the module code to see If I can catch a null dereference or something before it dies.
Ndiswrapper, for obvious reasons, is not an ideal solution anyway. I think it was on another wireless thread that a guy said that he had been emailed by the driver maintainer at Realtek and had been informed that a 2.6.x version of the driver will be out in mid-April.
Good luck. I'll post any new info if there's any to be had.
I recently bought a Linksys WPC 11 Verson 4 wireless network card. I had great difficulty in installing this card under Linux. I could not return it to the shop because it worked under Windows XP.
Eventually I succeeded in making it work under Linux.
I used three software packages:
1) wireless-tools, from the Mandrake distribution.
2) the Windows XP RTL 8180L driver supplied by RealTek.
I visited the RealTek site "www.realtek.com.tw", clicked "DOWNLOADS", and searched for "8180".
I selected a mirror site for the Windows XP drived and downloaded the file "winxp-8180(168).zip". This file contains the driver "rtl8180.sys" and the "inf" file "RTL8180.INF ".
3) ndiswrapper version 0.7, from "ndiswrapper.sourceforge.net".
I followed the instructions in the ndiswrapper INSTALL file using the driver described above. Much to my relief, when I gave the command "ifup wlan0" I was connect to the Internet.
I had already found that ndiswrapper did NOT install any of the drivers on the CD supplied with the card. I also found that linuxant did not work with the rtl8180 driver or with any other driver that I tried.
Knoppix 3.3 (both the September and February editions) both have incompatible kernels (2.4.22 and 2.4.24, respectively). The first thing the Realtek driver needs is a kernel that is version 2.4.21 and below. You have to compile an older kernel. Go to debian.org and in the packages section, download the version 2.4.21 version of kernel-source. Google it or search linuxquestions.org for how to compile a kernel, but make sure you enable wireless networking (compiled-in not module) under the networking support menu.
Then, if you have all the directions down pat, setup the drivers, or go to this post for some extra help.
Another option is using the ndiswrapper drivers. Version 0.7 is out, and it has support for the Realtek8180 drivers. This post is how I got mine up. I would truly recommend using it because it is, first, a quicker install, and second, you can use newer kernels, like version 2.6.5 i'm using right now, with the drivers.
"If ACPI is enabled in the kernel, but it is disabled by either "acpi=off" or "acpi=ht" boot option to the kernel, loadndisdriver may give oops (cursor stops blinking, no response to mouse or keyboard). This problem can be resolved by enabling ACPI; i.e., passing the command line boot option "acpi=on" to the kernel (or by simply omitting this boot option, as it defaults to "on")."
My buddy got it working with ndiswrapper as well, and it works great! Only problem, though, is that you cannot check the signal strength and the like, because the Windoze driver doesn't answer wireless-tools when it asks for the information. Any way to get around this without exchanging for the V3?
Originally posted by coindood 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 to 2.6.1):
Hello Coindood,
I just want to say that You have made me the happiest man in the world! I have followed the instructions for installing the ndiswrapper and everything just worked fine. You have done a better job than Realtek!
Thanks a Lot for this driver, i toked that i need to drop my card but now thanks to You everything is OK.
Thank You, Thank You, Thank You ....... Thank You
Julius
ps: i use Fedora Core 2 test 3 with kernel-2.6.5-1.308
ooo i forgot: i have used Ndiswrapper from CVS and winxp-8180(168).zip
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.