LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Commands (https://www.linuxquestions.org/questions/fedora-35/commands-479523/)

joseph7 09-01-2006 02:43 PM

Commands - SOLVED
 
I just finished installing Fedora Core5, I also updated the kernel using yum.
I am getting ready to install ndiswrapper on a dell insp. 8500 and there are a few items that need to be met first and that is why i am here.

1. What commands do i use to make sure that the kernel sources are there?

2. Make sure there is a link to the kernel source from the modules directory. How do i check this?

3. What about the headers?

4. if no link is there to the sources what do i use to place one there?

When i updated the kernel i wasnt here after it started. upon return it was finished.

Thank you.

pda_h4x0r 09-01-2006 03:44 PM

1. Your kernel sources should be in /usr/src. There should be a symlink called /usr/src/linux that points to /usr/src/linux-xxxxxxxxxxxxxxxxx (or something like that), where xxxxxxxxxxxx is the kernel version.

2. There should be a directory called /usr/src/modules. Inside, there should be a symlink back to /usr/src/linux

3. /usr/src/linux also contains the headers.

4. ln -s /usr/src/linux-xxxxxxxxxxxxxx /usr/src/linux

joseph7 09-01-2006 05:42 PM

Commands
 
Thank you.


All times are GMT -5. The time now is 02:30 AM.