Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-13-2012, 11:02 PM   #1
LQ Newbie
Registered: Nov 2012
Posts: 4

Rep: Reputation: Disabled
ndiswrapper driver error, Debian

Hey everyone! Been refraining from making any sort of help post for the last couple of days opting to research into my issue and solve it myself, but after not finding a solution specific to my issue, I figured it wouldn't hurt to ask.

I have recently installed Debian 6 on my desktop and the first issue I've ran into is getting my wireless usb stick to work. (NetGear N300 WNA3100... not important though) With no internet connection at all, I've needed to do a lot of things manually and figured out I need ndiswrapper to get it working. I got the tar, unzipped it and have followed the INSTALL directions but this is when I run into the issue.

When using make to compile ndiswrapper I receive an error, the output is,

make -C utils
make[1]: Entering directory `/home/poofy/ndiswrapper-1.57/utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/poofy/ndiswrapper-1.57/utils'
make -C driver
make[1]: Entering directory `/home/poofy/ndiswrapper-1.57/driver'
make[1]: Leaving directory `/home/poofy/ndiswrapper-1.57/driver'

Makefile:36: *** Cannot find kernel version in /lib/modules/2.6.32-5-amd64/build, is it configured?.  Stop.
make: *** [driver] Error 2
A couple solutions I've read up on that I am incapable of doing... the Debian CD I made does not come with ndiswrapper on it's pool and I do not have an internet connection whatsoever on this desktop. I have a separate computer connected to the internet and everything has to be done via usb drive until I'm able to get this resolved.

While reading the INSTALL file it states,

Make sure there is a link to the kernel source from the modules
directory. The command

  ls /lib/modules/`uname -r`/build

should have at least 'include' directory and '.config' file.
I do not have a build folder let alone a .config file. What I do have is kernel, modules.dep, modules.order, modules.symbols.bin, modules.alias, modules.dep.bin, modules.softdep, modules.alias.bin, modules.devname and modules.symbols. Am I missing something to be able to run the make command? I've been completely stumped at this point and can't seem to move forward with it at all. Though I doubt it, is it possible I'm missing other things to perform this given that I spent my first half of this time realizing I needed to install build-essentials just to get this started? Either the iso of Debian I got is very barebones, or I'm assuming it's very barebones by nature.

Sorry if I went overly detailed. I've been refraining from resorting to posting in the first place but if I was going to I didn't want to be "that guy" and wanted to include anything I could while I still have little clue what I'm doing. Any help would be much appreciated.
Old 11-14-2012, 01:40 AM   #2
LQ Newbie
Registered: Nov 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Well now, I guess I solved this myself. After reading one thing after another after another, it seemed like I was missing kernel headers and they were never installed. Followed this on installing them;

And now everything's working fine. Thanks for anyone who took a look at this and sorry again for my arrogance.
Old 11-14-2012, 02:51 PM   #3
Registered: Mar 2008
Posts: 16,883

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Thanks for joining and asking and for answering you own post!

You are encouraged to ask any question related to linux. Everyone needs help once in a while and it is the proper thing to do.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 (for netgear wg311v3) on debian??? (or driver)??? vineet7kumar Linux - Software 3 10-13-2007 01:39 PM
ndiswrapper error wont load driver bluejaguar456 Linux - Wireless Networking 8 11-06-2006 05:25 AM
Ndiswrapper "Invalid driver" error - but it worked before i switched distros! drewbug01 Linux - Wireless Networking 5 11-01-2006 12:36 PM
error msg- Cannot get driver information: No Such Device using Ndiswrapper on fedora1 hyper_SI Linux - Wireless Networking 11 08-18-2004 01:09 AM
ndiswrapper can not load driver error untwisted Linux - Laptop and Netbook 0 05-20-2004 01:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration