question about kernel source
I have a super newbie to linux. i want to install network card on redhat 9. the manual says that i need kernel source in /usr/src/linux or /usr/src/linux-2.4 something like that..
where should i find kernel source? please help... |
Use the Red Hat 9.0 Package Management Tool and install kernel-source. It should be on one of your install CDs unless you have upgraded your kernel.
Here is a guide for some things you will need to do. # Compiling/installing kernel modules You will need to have installed: 1. The developmental packages (compiler) 2. The kernel source code that matches your running kernel 3. The module source or install code Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed: Code:
[fancy@tinwhistle fancy]$ su - Code:
[root@tinwhistle root]# cd /usr/src If you don't see something similiar to this (but in color), you will need to install the kernel source. NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now: Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux Next, did I install the compiler? Code:
[root@tinwhistle src]# gcc -v If you don't have those two things installed, you have to install them first off your install CD. If they are installed, download the source and happy comiling. :tisk: Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing. :study: |
Well, if your network card is a regular one, you should not need to tweak with the kernel; RHat should recognize it.
|
All times are GMT -5. The time now is 02:59 PM. |