Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
So I have installed ndiswrapper on my Fedora Core 8 machine. I am using GNOME desktop. I made sure that the correct driver was installed for the wireless card I have. I already used the command modprobe ndiswrapper. Typing in lsmod contains an entry for ndiswrapper and it looks like this:
Code:
ndiswrapper 221696 0
I don't know what that means but the fact that it is in there is a good thing, right? When I try iwconfig, I get this:
Code:
lo no wireless extensions.
eth0 no wireless extensions.
virbr0 no wireless extensions.
OK, so does this mean I need to install wireless extensions? Because typing in rpm -q wireless-tools gives me results. Fedora Core 8 seems to come with the wireless tools package already. Otherwise, iwconfig would have not been recognized.
I tried to create a wireless network using the usual network configuration settings GUI on GNOME. When I try to do this, I have to choose what kind of card I am using and my card is not even on the list and if it is I have no idea what it would be categorized as. I tried playing with a few options but no luck. I am just completely stuck.
ndiswrapper is, well, a wrapper for Windows drivers. Have you installed the correct firmware for your wireless card?
Also, look at the output of the [b]dmesg[command] right after you modprobe ndiswrapper. What does it say (the last five or six lines)?
Well this is just strange. So I typed in lsmod again (I restarted my PC ever since then) and now there is no ndiswrapper entry in there. Typing in ndiswrapper -l still gives me:
So the driver is still present. I tried typing in ndiswrapper -m and I get this:
Code:
module configuration contains directive install pci:v000011ABd00001FAAsv*sd*bc*sc*i* /sbin/modprobe ndiswrapper
;you should delete that at /usr/sbin/ndiswrapper line 868, <MODPROBE> line 86.
module configuration contains directive install pci:v000011ABd00001FABsv*sd*bc*sc*i* /sbin/modprobe ndiswrapper
;you should delete that at /usr/sbin/ndiswrapper line 868, <MODPROBE> line 87.
module configuration already contains alias directive
(I already typed it in once before so I think that's why I am getting those messages). Apparently it said before that it created the wlan0 alias but I don't see it under ifconfig or iwconfig. So confusing...
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Post the contents of the /etc/modprobe.conf file.
Try the following;
Stop the network service; service network stop
Remove the driver: modprobe -r ndiswrapper
Load the driver: modprobe -v ndiswrapper
Check for wireless device and any possible wireless networks: iwlist wlan0 scan
If your running a xen kernel (uname -a) reboot the system to a non-xen kernel and check again. Check if you are running a xen kernel that the matching kernel-xen-devel rpm package is installed.
alias eth0 forcedeth
alias scsi_hostadapter libata
alias scsi_hostadapter1 sata_nv
alias scsi_hostadapter2 pata_amd
alias scsi_hostadapter3 usb-storage
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0
alias eth1 nmclan_cs
alias wlan0 ndiswrapper
Performing the following shows the following:
Code:
[root@localhost ~]# service network stop
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
You have new mail in /var/spool/mail/root
[root@localhost ~]# modprobe -r ndiswrapper
FATAL: Module ndiswrapper not found.
[root@localhost ~]# modprobe -v ndiswrapper
FATAL: Module ndiswrapper not found.
[root@localhost ~]# iwlist wlan0 scan
wlan0 Interface doesn't support scanning.
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.23.14-115.fc8 #1 SMP Mon Jan 21 14:22:56 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
So I have installed ndiswrapper on my Fedora Core 8 machine. I am using GNOME desktop. I made sure that the correct driver was installed for the wireless card I have. I already used the command modprobe ndiswrapper. Typing in lsmod contains an entry for ndiswrapper and it looks like this:
I hate to sound the pessimist, but I'd give up all hope for getting wireless working in Fedora. I spent several months trying to get my RT2500 card working back in Fedora 5, and retry with every new release. I tried the native Linux driver, ndiswrapper, posted for help on forums, posted for help in the native driver mailing list, even submitted a bug report to Redhat. Two years later, still nothing. Either I have bad hardware (which no one has been able to determine), or wireless support in Linux simple isn't mature enough.
If you get a positive response from both commands then also check for /var/lib/dkms/ndiswrapper directory. Inside you should see some sub-directories. One is the ndiswrapper version number directory and at least one symbolic 'kernel-version_number' directory. (See the output for the locate command in the example above)
Also attempt loading the ndiswrapper module by using the full path and name, example;
Caveat, you must be running the exact kernel by version number (2.6.24.2) for this to work. Use the typed command uname -r to verify.
If you get nothing back from either or both the rpm and locate commands in the example above then something is not right. You have everything you need to make this work, review and check all the files using this thread as a guide and reference.
With the wireless pcmcia card inserted please post the output from the typed commands /sbin/lspci -v
and cat /proc/modules | grep ndis.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Another possible solution is to use the nmclan_cs driver (some reediting/restoring of files is required) and download/install the firmware file for the RT2500 wireless interface to the /lib/firmware directory location. This might be the better way to go.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.