LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2014, 11:25 PM   #1
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Rep: Reputation: 3
Ubuntu 12.04 'Modprobe ndiswrapper' Command Does Not Work on Asus Laptop


Over the years I've been able to install Ndiswrapper on 4 of my Ubuntu 12.04 machines, 2 desktops, 1 tabletop and 1 laptop, without any trouble. But tonight I failed to add Ndiswrapper to the kernel using the following regular command, which resulted in no errors and no screen output as though it were waiting for something. However, I was able to interrupt the process using CTL+C.

modprobe ndiswrapper

lsmod and modinfo both confirmed the presence of ndiswrapper.

Any help will be greatly appreciated.

julianvb

Last edited by julianvb; 07-16-2014 at 11:32 PM.
 
Old 07-17-2014, 07:17 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 3,015

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Could you explain further. If lsmod shows ndiswrapper then ndiswrapper is loaded.
 
Old 07-18-2014, 10:58 PM   #3
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
Normally sudo modprobe ndiswrapper would produce a screen output. But in this particular case, the command was executed but no screen output ensued.

julianvb

Last edited by julianvb; 07-18-2014 at 10:59 PM.
 
Old 07-20-2014, 12:20 AM   #4
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
'sudo ndiswrapper -i ' command returns 'couldn't open file or directory' error message

Tonight I unintentionally removed a wireless-network driver named netmw254 through ndisgtk. Ever since then I have been having trouble with ndiswrapper.

If I enter 'sudo ndiswrapper -i netwm254.inf', Ubuntu 12.04 returns 'couldn't open netwm254.inf: No such file or directory at /usr/sbin/ndiswrapper line 162.

(1) Is there an easy way to fix this problem?

(2) If not, how do I totally remove ndiswrapper and then re-install it cleanly from sourceforge.net.

I'll appreciate very much any help from this forum.

julianvb

Last edited by julianvb; 07-20-2014 at 12:37 AM.
 
Old 07-20-2014, 10:32 AM   #5
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 3,015

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Try running:

$ sudo depmod -a
$ sudo modprobe ndiswrapper

Then try checking for errors with:

$ tail /var/log/syslog
 
Old 07-20-2014, 08:30 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
it seems to me that the solution to your problem is already in your description:

- you removed netmw254
- some utility complains that it cannot find netmw25.inf

have you tried to find that file and put it back where it belongs?
 
Old 07-20-2014, 11:38 PM   #7
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
Hi,

I finally got out of the confusion by re-installing ndiswrapper from sourceforge.net. I was able to install the WN111's driver netmw245 as ndiswrapper declared it installed. Even though I had tried plugging the adapter in the laptop's various USB ports, ndiswrapper failed to see it. Yet lsbusb detected the device every time.

Now I tend to think that this Asus laptop might have a hardware problem. I would like to point out that even when this adapter works on my desktop using the same driver, it can drop out once in a while. It is far inferior to my AE2500 and WUSB54GC adapters. The nice thing about the WUSB54GC is that it works instantly without requiring a driver whether the system is Windows XP or Ubuntu 12.04.

How can I make the WN111 adapter visible to ndiswrapper, the Ubuntu 12.04 Network Manager? Thank you so much for your help.

julianvb

Last edited by julianvb; 07-20-2014 at 11:41 PM.
 
Old 07-21-2014, 02:19 AM   #8
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
I finally got ndiswrapper re-installed on this Asus laptop this morning. I've also got the wireless adapter installed and working very well in Windows 7 on the same machine, which tells me that the driver is MRVW24C.sys. So /etc/ndiswrapper/netmw245/ now includes the following files:

07D1:3B10.F.conf
07D1:3B11.F.conf
0846:9000.F.conf
mrvw245.sys
mrvw24c.sys
netmw245.inf

'ndiswrapper -l' reports the following whenever I plug the WN111 adapter into any USB port on the laptop.
netwm245: driver installed
device (0846:9000) present

Yet the adapter fails to light up, Network Manager fails to see it and 'lshw' fails to list it. Naturally 'iwlist scan' and 'ifconfig' show nothing related to it. This means that Linux does not see it and therefore it cannot function. I really don't know where the fault is or understand why the same adpater works in Untuntu 12.04 on my 2004 HP desktop using the same netwm245 driver.


julianvb

Last edited by julianvb; 07-21-2014 at 02:33 AM.
 
Old 07-21-2014, 02:44 AM   #9
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
My Asus laptop's WN111's performance is not any better, but at least 'ndiswrapper -l' now reports that the adpater driver is installed and the adpter is truly present no matter which USB port I plug it into.

The adapter is still invisible to Linux and Network Manager as it fails to light up. I've reported in a separate post that this adapter works well in Windows 7 on the same laptop and at least works on another computer in Ubuntu 12.04, using the same netwm245 driver also installed by ndiswrapper.

This is really an enigma to me.

julianvb

Last edited by julianvb; 07-21-2014 at 02:48 AM.
 
Old 07-21-2014, 02:59 AM   #10
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Does this link help you at all?
jdk
 
Old 07-21-2014, 03:04 AM   #11
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Is this thread just a duplicate of your Ubuntu 12.04 'Modprobe ndiswrapper' Command Does Not Work on Asus Laptop thread?
jdk
 
Old 07-21-2014, 02:47 PM   #12
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
Thank you very much for the very interesting link.

I do find ar9170-1.fw, ar9170-2.fw and ar9170.fw in /lib/firmware/ on my Ubuntu 12.04 desktop for the WN111v2 adapter (mine is the WN111v1 adapter). But how do I use them in place of the netwm245 driver I've created with Ndiswrapper?

julianvb

Last edited by julianvb; 07-21-2014 at 02:50 PM.
 
Old 07-21-2014, 03:15 PM   #13
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
Yes, please excuse me.

Here's my latest input. I've just found an ar9170.fw file in the laptop's /lib/firmware/ driectory. As I understand it is for the WN111v2 adapter but mine is the WN111v1. I think it would be worth my effort to try it out in spite of the version difference.

Can you tell me how to use a .fw file in place of a vendor-provided Windows driver?

julianvb
 
Old 07-21-2014, 07:39 PM   #14
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Merged your two - ehem - closely related threads. Please stick to one location.
 
Old 07-22-2014, 12:36 AM   #15
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
can you tell me how to do it? Thanks.

julianvb
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work! Benjamin Linux - Wireless Networking 30 05-25-2008 08:04 AM
Broadcom Wireless (BCM4306) Wireless problems: modprobe ndiswrapper freezes HP Laptop shthap3ns Linux - Hardware 11 02-11-2007 01:53 PM
modprobe ndiswrapper command does not work? mcmorj SUSE / openSUSE 12 04-19-2006 09:41 PM
modprobe command doesn't work please help steveman2000 Linux - Newbie 4 10-21-2005 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:35 AM.

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