Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
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.
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.
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!
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.
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.
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:
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;
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.