LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-23-2009, 08:39 PM   #1
waffe
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 69

Rep: Reputation: 15
Exclamation ndiswrapper not working - kernel problem?


Hi, I am ubuntu 9.04 with kernel version 2.6.29-02062903-generic. I have tried to install many wireless USB cards and I am always getting the same error.

first I installed ndiswrapper-common, ndiswrapper-utils-1.9 and ndisgtk. I then run ndisgtk and load the windows driver. I am currently trying my d-link DWA-142. When I select the driver on anycard I have tried I get this error:
Code:
Module could not be loaded. Error was:

WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
FATAL: Module ndiswrapper not found.

Is the ndiswrapper module installed?

I believe the problem is with my Kernel. I have updated it and when I type locate ndiswrapper I get among many things:

Code:
/lib/modules/2.6.27-11-generic/kernel/ubuntu/ndiswrapper
/lib/modules/2.6.27-11-generic/kernel/ubuntu/ndiswrapper/ndiswrapper.ko
/lib/modules/2.6.28-11-generic/kernel/ubuntu/ndiswrapper
/lib/modules/2.6.28-11-generic/kernel/ubuntu/ndiswrapper/ndiswrapper.ko
It appears the wrapper is not set for my current Kernel. I have read things that suggest this is the problem but I do not know how to fix it.

Here is my lsusb:

Code:
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 07d1:3b10 D-Link System RangeBooster N Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 047d:1005 Kensington TurboBall
Bus 005 Device 002: ID 04f3:0103 Elan Microelectronics Corp. 
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Thanks,
waffe
 
Old 05-24-2009, 07:06 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Ndiswrapper development has traditionally lagged well behind the kernel, so going with the most recent kernel is likely to cause trouble. However, ndiswrapper is not needed anywhere near as much as it used to be. You should check into native linux drivers for your wireless card as they are frequently a better choice.
 
Old 05-24-2009, 08:45 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
I would suggest to remove ndiswrapper using the packetmanager.
Then install ndiswrapper from source.

Code:
apt-get remove ndiswrapper ndiswrapper-*
Install the kernel build-essentials
Code:
apt-get install build-essential linux-headers-`uname -r`
Download the latest ndiswrapper at sourceforge.
Untar the file, and do:
Code:
make diskclean
make
make install
Download the windows driver for your wireless card, and do :
Code:
ndiswrapper -i path to your driver
ndiswrapper -m
modprobe ndiswrapper

But as Hangdog42 suggested, first try to find the native linux drivers for your wireless card

BTW
Quote:
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
is a bug, no need to worry about
 
  


Reply

Tags
ndiswrapper, wireless



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
wpa_supplicant problem - ndiswrapper, router's dhcp all working without encryption MakeItWork Linux - Wireless Networking 3 12-26-2007 01:00 PM
ndiswrapper stops working on Kernel update SVwander Ubuntu 1 09-25-2007 06:37 PM
ndiswrapper (WPC54Gv3) not working after kernel upgrade MicahCarrick Linux - Wireless Networking 2 07-14-2006 09:26 PM
Slackware 10.2 ndiswrapper kernel source problem thomasw92 Linux - Wireless Networking 4 04-01-2006 04:01 AM
Upgraded kernel on FC2, ndiswrapper stopped working vrooje Linux - Wireless Networking 5 08-01-2005 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:04 PM.

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