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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
07-16-2014, 11:25 PM
|
#1
|
Member
Registered: Apr 2009
Posts: 390
Rep:
|
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.
|
|
|
07-17-2014, 07:17 PM
|
#2
|
Senior Member
Registered: Oct 2003
Posts: 3,015
|
Could you explain further. If lsmod shows ndiswrapper then ndiswrapper is loaded.
|
|
|
07-18-2014, 10:58 PM
|
#3
|
Member
Registered: Apr 2009
Posts: 390
Original Poster
Rep:
|
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.
|
|
|
07-20-2014, 12:20 AM
|
#4
|
Member
Registered: Apr 2009
Posts: 390
Original Poster
Rep:
|
'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.
|
|
|
07-20-2014, 10:32 AM
|
#5
|
Senior Member
Registered: Oct 2003
Posts: 3,015
|
Try running:
$ sudo depmod -a
$ sudo modprobe ndiswrapper
Then try checking for errors with:
$ tail /var/log/syslog
|
|
|
07-20-2014, 08:30 PM
|
#6
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
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?
|
|
|
07-20-2014, 11:38 PM
|
#7
|
Member
Registered: Apr 2009
Posts: 390
Original Poster
Rep:
|
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.
|
|
|
07-21-2014, 02:19 AM
|
#8
|
Member
Registered: Apr 2009
Posts: 390
Original Poster
Rep:
|
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.
|
|
|
07-21-2014, 02:44 AM
|
#9
|
Member
Registered: Apr 2009
Posts: 390
Original Poster
Rep:
|
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.
|
|
|
07-21-2014, 02:59 AM
|
#10
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
Does this link help you at all?
jdk
|
|
|
07-21-2014, 03:04 AM
|
#11
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
Is this thread just a duplicate of your Ubuntu 12.04 'Modprobe ndiswrapper' Command Does Not Work on Asus Laptop thread?
jdk
|
|
|
07-21-2014, 02:47 PM
|
#12
|
Member
Registered: Apr 2009
Posts: 390
Original Poster
Rep:
|
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.
|
|
|
07-21-2014, 03:15 PM
|
#13
|
Member
Registered: Apr 2009
Posts: 390
Original Poster
Rep:
|
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
|
|
|
07-21-2014, 07:39 PM
|
#14
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Merged your two - ehem - closely related threads. Please stick to one location.
|
|
|
07-22-2014, 12:36 AM
|
#15
|
Member
Registered: Apr 2009
Posts: 390
Original Poster
Rep:
|
can you tell me how to do it? Thanks.
julianvb
|
|
|
All times are GMT -5. The time now is 05:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|