Linux - NewbieThis 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!
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 have been fighting with my onboard Intel 82565ET 10/100 driver and I'm stuck.
I can extract everything in the driver tar, but when i do #make install, I get an error saying "Linux kernel source not found." When I first tried to install the driver, I compiled a new kernel beforehand and got a "kernel mis-match error, driver installed for 2.4.18, but current kernel is 2.4.189bf2.4" (these are not the exact words, but can't remember...same kernel values though).
My question is: How do I install the source for the current kernel so that I do not get a kernel mis-match error when I try to perform #insmod e100? KDE Lists my release as 2.4.18-bf2.4
Please be fairly detailed as I am very new to this. Thank you in advance and if you need any more information, pls ask; I should be able to answer almost immediately.
If you want to compile the driver for your current kernel, you need its source installed. '2.4.189bf2.4' and '2.4.18' are not the same in this case. If you want to install it for the newly-compiled one it's a good idea to boot to it before you install the driver.
So now that I have installed a clean system (messed up on some kernel config before) how do I install the source for this current kernel (the one I am booting from now)?
I am using the same 2.4.18bf2.4 kernel as I was before, but I haven't compiled/extracted any kernel in the /usr/src directory, hence the kernel source not found. I can't seem to find a file referencing 2.4.18.bf2.4 on my debian cds (no network capability right now) even though i used them to install. Of course, I don't know exactly what I am looking for.
Thanks for your quick response by the way. Everyone here has been a big help...maybe one day I can return the favor for someone else on here.
a find file on kernel-source* on the cd yielded only
kernel-source-2.4.18-5_all.deb
It is in pool/main/k/kernel-source-2.4.18/
Would this be what I need? It seems like it should be, but I'm just learning and I wanna make sure I do this right. Thanks again.
I see the use of my network card getting closer, oh such a wonderful though hehe :-)
ok, I installed that package assuming that because it is the only one, that must be it...Now my usr/share/doc directory has some handy looking files and i have the kernel-source-2.4.18.tar.gz in my /usr/src. I think the only thing i am missing now is how to unzip it so that it is the bf2.4 version to keep from getting the "kernel version mis-match error" again.
Can someone tell me the commands to achieve this so the kernel-source will be correct and I can add this driver module?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.