LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-27-2006, 03:36 PM   #1
dlennon
Member
 
Registered: Mar 2006
Posts: 41

Rep: Reputation: 15
Question ndiswrapper problems


I am getting the following messsages whaen I try to load the drivers in ndiswrapper:

[root@localhost ~]# ndiswrapper -l
Installed drivers:
wusb54gv2 invalid driver!
[root@localhost ~]# ndiswrapper -e WUSB54GV2.inf
Driver WUSB54GV2.inf is not installed.Use -l to list installed drivers
[root@localhost ~]# ndiswrapper -i wusb54gv2.inf
wusb54gv2 is already installed. Use -e to remove it
[root@localhost ~]#

I seem to be in a twilight zone loop. How do I correct the problem, IE get the driver installed?
 
Old 04-27-2006, 04:08 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
This is a common newbie mistake, the driver is wusb54gv2 which was loaded by using the installation information file wusb54gv2.inf, so to follow the instructions and remove the wusb54gv2 driver.

To remove it use; ndiswrapper -r wusb54gv2
 
Old 04-27-2006, 04:20 PM   #3
colonboy
Member
 
Registered: Dec 2005
Location: Prior Lake, MN
Distribution: Fedora, Suse, Mandriva, Ubuntu
Posts: 35

Rep: Reputation: 15
Do you have the .sys file on your linux box? Also, is your linux box a 64 bit OS and the driver is 32 bit?
Shots in the dark.

Good Luck.
 
Old 04-27-2006, 04:45 PM   #4
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Case sensitive - do ndiswrapper -e wusb54gv2, not ndiswrapper -e WUSB54GV2.inf
 
Old 04-27-2006, 05:05 PM   #5
dlennon
Member
 
Registered: Mar 2006
Posts: 41

Original Poster
Rep: Reputation: 15
I got the driver uninstalled and reinstalled it properly. The problem I am having now is that it won't find the link on reboot. I have to run iwconfig each time I reboot. How do I get the card to be recognized automatically on reboot
 
Old 04-27-2006, 05:27 PM   #6
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Depends on the distro you are using - some you can use an inbuilt configuration utility once your card is recognised, others require some editing of files.
 
Old 04-27-2006, 05:52 PM   #7
dlennon
Member
 
Registered: Mar 2006
Posts: 41

Original Poster
Rep: Reputation: 15
I am running Fedora 5
 
Old 04-27-2006, 06:23 PM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
You need to create a /etc/sysconfig/modules/wlan.modules (you can name it something else if you like) using your choice of text editor as root (to save the file). The contents are;

#!/bin/sh
modprobe ndiswrapper

When done saving the file as root from the console or exterm session do something like;

chmod +x /etc/sysconfig/modules/wlan.modules (or whatever you named the file as)
 
Old 04-27-2006, 07:37 PM   #9
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Heres something else that might help http://www.linuxquestions.org/questi...ht=ndiswrapper
 
Old 04-27-2006, 10:33 PM   #10
dlennon
Member
 
Registered: Mar 2006
Posts: 41

Original Poster
Rep: Reputation: 15
I tried what Lenard suggested:
You need to create a /etc/sysconfig/modules/wlan.modules (you can name it something else if you like) using your choice of text editor as root (to save the file). The contents are;

#!/bin/sh
modprobe ndiswrapper

When done saving the file as root from the console or exterm session do something like;

chmod +x /etc/sysconfig/modules/wlan.modules

the link still did not come up on reboot. I still have to type the iwconfig commands to get the link up

Beagle2, I read your link and I am not sure what I should type for the second line

modprobe ndiswrapper
modprobe snd-intel8x0m < what is this referring to?
 
Old 04-27-2006, 10:53 PM   #11
brianmay27
Member
 
Registered: Apr 2006
Posts: 69

Rep: Reputation: 15
Go on to the ndiswrapper wiki and there are more steps like ndiswrapper -m... modprobe ndiswrapper...... It will then put it on for good
 
Old 04-27-2006, 11:12 PM   #12
dlennon
Member
 
Registered: Mar 2006
Posts: 41

Original Poster
Rep: Reputation: 15
I have already done the instructions from ndiswrapper wiki
and still no luck on reboot
 
Old 04-28-2006, 03:31 AM   #13
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
ok you can ignore that second line - it just refers to the original poster's sound module. You can try instructions here to get it up on boot - http://www.linuxelectrons.com/articl...40507104718960, the Fedora Core Setup part looks like what you need.
 
Old 04-28-2006, 12:26 PM   #14
dlennon
Member
 
Registered: Mar 2006
Posts: 41

Original Poster
Rep: Reputation: 15
I have done:

You can have your NIC detected at boot by issuing the command /usr/sbin/ndiswrapper -m. This will modify your /etc/modprobe.conf by adding the following the line: alias wlan0 ndiswrapper and actually put in the alias line into the modprobe.conf. No luck. I am going to give up trying the stated ways and would like to run the following script, that will bring up the link light:

How do I run the following script
iwconfig wlan0 mode Managed
iwconfig wlan0 key restricted xxxxxxxxxx
iwconfig wlan0 essid 'dsln'
 
  


Reply

Tags
ndiswrapper


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ndiswrapper problems. ipodlinux Fedora 4 04-07-2006 07:50 PM
More ndiswrapper problems Aenima427 Linux - Newbie 2 03-28-2006 03:51 AM
ndiswrapper problems rcrummett Linux - Wireless Networking 5 11-23-2005 05:37 PM
Problems with ndiswrapper hr_phenom Linux - Laptop and Netbook 3 08-24-2005 04:51 PM
ndiswrapper problems drethenerd Linux - Wireless Networking 3 11-11-2004 06:20 PM


All times are GMT -5. The time now is 04:08 AM.

Main Menu
 
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
Open Source Consulting | Domain Registration