LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 05-23-2009, 09:39 PM   #1
waffe
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 69
Thanked: 0
Exclamation ndiswrapper not working - kernel problem?


[Log in to get rid of this advertisement]
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
waffe is offline  
Tag This Post ,
Reply With Quote
Old 05-24-2009, 08:06 AM   #2
Hangdog42
Guru
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 6,334
Blog Entries: 1
Thanked: 49
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.
Hangdog42 is offline     Reply With Quote
Old 05-24-2009, 09:45 AM   #3
repo
Senior Member
 
Registered: May 2001
Location: Belgium
Distribution: Debian/GNU Linux
Posts: 4,539
Thanked: 446
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
repo is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 02:00 PM
ndiswrapper stops working on Kernel update SVwander Ubuntu 1 09-25-2007 07:37 PM
ndiswrapper (WPC54Gv3) not working after kernel upgrade MicahCarrick Linux - Wireless Networking 2 07-14-2006 10:26 PM
Slackware 10.2 ndiswrapper kernel source problem thomasw92 Linux - Wireless Networking 4 04-01-2006 05:01 AM
Upgraded kernel on FC2, ndiswrapper stopped working vrooje Linux - Wireless Networking 5 08-01-2005 08:22 PM


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

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration