LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 11-23-2005, 02:30 AM   #1
rcrummett
LQ Newbie
 
Registered: Aug 2005
Location: The Desert
Distribution: Ubuntu
Posts: 29

Rep: Reputation: 15
ndiswrapper problems


Hi -

I recently installed Debian Etch on my machine and am trying to get wireless set up with my Linksys WPC54G card. I have been successful in the past getting wireless to work under Sarge with a 2.6.8 kernel, but now I am using a 2.6.12 kernel and everything goes fine until I try to load the ndiswrapper module, when I get this message:

FATAL: module ndiswrapper not found.

I know that ndiswrapper is installed; after all, at this point I have installed the driver and all that using ndiswrapper. I am not using a customized kernel or anything fancy like that; I just want my wireless to work. Any suggestions as to what I should do? Please keep in mind that I am "halfway good" with Linux - I can throw out a lot of the terminology, but I know just enough to cause major problems by thinking I know more. Thanks!

-Ron
 
Old 11-23-2005, 03:01 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
Have you re-compiled ndiswrapper since installing your new kernel, making sure the updated kernel sources are also available for it...?
 
Old 11-23-2005, 01:02 PM   #3
rcrummett
LQ Newbie
 
Registered: Aug 2005
Location: The Desert
Distribution: Ubuntu
Posts: 29

Original Poster
Rep: Reputation: 15
No, I haven't done anything with recompliling ndiswrapper. I didn't think I needed to, as I was using Debian Sarge and am now using Debian Etch. Under Sarge, I simply used the default ndiswrapper package available in accordance with the default kernel available. I figured the exercise would be the same in etch, to use the default ndiswrapper package in conjunction with the default kernel.
 
Old 11-23-2005, 02:05 PM   #4
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
I think (someone correct me if I'm wrong) you'll need to recompile ndiswrapper with your newer kernel sources, otherwise you're running kernel doesn't recognise the ndiswrapper module since it will only be available under your old kernel tree. It doesn't long to recompile ndiswrapper, so give it a go.
 
Old 11-23-2005, 04:57 PM   #5
rcrummett
LQ Newbie
 
Registered: Aug 2005
Location: The Desert
Distribution: Ubuntu
Posts: 29

Original Poster
Rep: Reputation: 15
Okay, I'm having some struggles understanding what I need to do for this. Let me tell you what I have done:

1. Downloaded kernel source code linux-2.6.12.tar.gz from kernel.org
2. Downloaded ndiswrapper 1.2 source

The installation wiki on the ndiswrapper page tells me that I need to link the kernel source to the modules directory, and I can do that with this command:

ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build

This is probably where I am running into my problems. It looks to me like I need to move my kernel source to /usr/src/linux-2.6.12, so I did this by
tar -xzf linux-2.6.12.tar.gz
mv linux-2.6.12 /usr/src

Now /usr/src/linux-2.6.12 exists so I can link to it.

Right after this instruction on the installation wiki it says to make sure you have started compiling the kernel sources so that the necessary header files are present. How exactly do I do that? I don't know if that is the problem or not.

Anyway, I continue following the instructions and am told to go to source-directory. Is this the ndiswrapper source or the kernel source? I try going to ndiswrapper directory and type make as the instructions say and am told

Can't find kernel sources in /lib/modules/2.6.12-1-386/build;

Where am I going wrong?
 
Old 11-23-2005, 05:37 PM   #6
wojtekjs
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora 10
Posts: 23

Rep: Reputation: 15
You compile kernel with command:
Code:
make; make modules; make modules_install; make install
Now reboot with new kernel and than try to compile ndiswrapper. Otherwise it will compile module to an old kernel.
 
  


Reply



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
ndiswrapper 1.4 on SUSE 10 problems supwiddiss Linux - Wireless Networking 1 10-14-2005 04:48 AM
Problems with ndiswrapper hr_phenom Linux - Laptop and Netbook 3 08-24-2005 04:51 PM
ndiswrapper problems.... jeffk42 Linux - Newbie 11 05-16-2005 02:38 PM
Problems w/ ndiswrapper and such... KramarDanIkabu Linux - Wireless Networking 1 01-17-2005 06:54 AM
ndiswrapper problems drethenerd Linux - Wireless Networking 3 11-11-2004 06:20 PM

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

All times are GMT -5. The time now is 05:15 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