Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-23-2006, 10:06 PM   #1
LQ Newbie
Registered: Aug 2005
Distribution: Debian 3.1
Posts: 11

Rep: Reputation: 0
Problems getting my kernel sources

Hi, I use debian 3.1 on a powerpc kernel version 2.6.8

I'm trying to install ndiswrapper so I can use this wireless card that only has windows drivers. However when i try to "make" ndiswrapper it says it can't find the kernel sources under the directory /lib/modules/2.6.8-powerpc/build

So i went to apt-get and installed "kernel-source-2.6.8". This however does not install the proper files to the /.../build directory as above that ndiswrapper is looking for. I've tried searching every where on my computer to find this build directory but have ended up empty handed

Can anyone help me find these files I need? Or tell me what I'm doing wrong? Any help would be great! Thanks

-[removed name]
Old 03-24-2006, 12:56 AM   #2
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
Hi, [removed name].

Try looking in /usr/src for a file called something like linux-2.6.8.tar.gz or linux-2.6.8.tar.bz2. (There may be some variation in the name.) Once you have located it, extract the files by typing (for a .tar.gz or .tgz file) "tar -zxvf <filename>", or (for a .tar.bz2 file) "tar -jxvf <filename>". Replace "<filename>" with the name of the file.

Now you should have a directory by the same name as the file you just extracted (minus the .tar.gz, .tar.bz2, etc.). Go into that directory and follow a Debian how-to to build your kernel and install your modules. Be sure to use the configuration file in /boot!

Hope that helps.



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 - Cant find kernel sources while installing (Kernel 2.6.11) krayhze Linux - Wireless Networking 6 05-23-2006 06:30 AM
Finally got a kernel-sources-2.6.9 to boot but I have 2 problems. Royle Debian 2 01-13-2005 03:29 PM
Problems getting kernel sources for 10.2 cooker snapshot Passive Mandriva 0 01-02-2005 04:05 PM
Kernel Sources unwrittenlaw Linux - General 1 12-06-2004 04:00 AM
CAVEAT: /boot/kernel.h & how not to clobber your kernel sources (Conectiva, Red Hat) JCCyC Member Success Stories 0 08-07-2003 07:49 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:25 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
Open Source Consulting | Domain Registration