Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-19-2005, 05:49 PM   #1
LQ Newbie
Registered: Mar 2005
Posts: 19

Rep: Reputation: 0
Finding the kernel headers needed for Ndiswrapper?

Okay, to install ndiswrapper I need to do 'debian/rules binary-modules', that requires the kernel source code.

Now, the thing is, the installation guide which for ndiswrapper on debian tells me to apt-get the headers and to find out what kernel headers I need I do "COLUMNS=200 dpkg -l | grep kernel-headers-$(uname -r)"... for a start, I've googled and have not got a clue what that actually does. But more importantly, it doesn't seem to do anything... it runs, but I don't get the name of the headers needed. if I just do "COLUMNS=200 dpkg -l" I get a list of a whole bunch of stuff, but thats not of much use.

I'd really appreciate knowing what I need to do... have I entered the command in wrongly? I've tried many different variants but to no avail.
Old 03-19-2005, 07:56 PM   #2
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
Just type 'uname -r' that will give you your kernel version. Then you need to install the kernel source for that kernel and also the kernel headers for that version. Should be able to simply apt-get them.
Good luck.
Old 03-19-2005, 08:02 PM   #3
LQ Newbie
Registered: Mar 2005
Posts: 19

Original Poster
Rep: Reputation: 0
Well, here's a big thanks in capital letters... THANKYOU! Will try it in a mo, that had me scratching my head for ages


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
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM
Ndiswrapper .11 and Suse 9.1 Help needed Delusions Linux - Wireless Networking 8 12-04-2004 12:33 PM
ndiswrapper help needed? extremebfn Linux - Wireless Networking 0 06-25-2004 03:00 AM
Kernel Source Headers? (help needed installing modem drivers) Jakeyboy Linux - Hardware 8 10-07-2003 03:59 PM
Help needed badly - finding my music JamDunc Linux - Newbie 10 08-02-2003 06:30 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:29 AM.

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