DebianThis forum is for the discussion of Debian 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 admit that I'm completely clueless when it comes to linux, but I'm trying.
I'm attempting to recompile the kernel using the sticky at the top of this forum, but everytime I try I get this error:
The package i used (on sarge):
"apt-get install kernel-source-2.6.8"
Which packages are availabkle depends on which version you are using (unstable=Sid, testing=Sarge, stable=Woody)
Here's a way to find what kernel sources are available:
"apt-cache search kernel-source | grep 2.6"
do I need to be connected to the internet for that, cause it doesn't seem to do anything when I enter that command. I'm using sarge with kernel version 2.6.8-1-386 and the whole reason I am re-compiling the kernel can be found here:
Maybe you didn't download the CD with the kernel-source on? It should work through the internet though. what does your /etc/apt/sources.list file look like?
to install a deb file directly you need to use dpkg program:
Apt-cache search is telling you it is unavailable because apt isn't seeing it. If you can get a wired connection, you can get a list of available packages from the internet. The packages that apt sees are from what is in the file /etc/apt/sources.list. The sources.list file for Sarge should be something like:
If you have that file and a working connection, you can run
Code:
apt-get update
to get a list of available packages.
Since you need the kernel source to get networking up, you may have to download the sources from another computer and transfer them. You can download the source file here: http://packages.debian.org/unstable/...l-source-2.6.8 Click on the "all" button to select a mirror and download the file. It will be a deb file with a name: <package name>.deb Transfer that to your computer, then install it as root using:
Code:
dpkg -i <package name>.deb
That will install the kernel sources as a compressed file located in /usr/src. You can uncompress it and symbolically link it to /usr/src/linux following the steps listed in the kernel recompile sticky. Hope that helps!
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-2 (20050109)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-1 (20050109)]/ unstable contrib main
debian:/usr/src# tar xvjf kernel-source-2.6.8
tar: kernel-source-2.6.8: Cannot read: Is a directory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
debian:/home/hewitsonj/ndiswrapper-0.12# make
make -C driver
make[1]: Entering directory `/home/hewitsonj/ndiswrapper-0.12/driver'
Can't find kernel sources in /usr/src/kernel-source-2.6.8;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/hewitsonj/ndiswrapper-0.12/driver'
make: *** [all] Error 2
If this doesn't work you could try and use the sources from Debian by apt-getting the ndiswrapper-source and ndiswrapper-util packages. and building them the debian way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.