LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   installing fedora 3 kernel source, for ndiswrapper (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/installing-fedora-3-kernel-source-for-ndiswrapper-268557/)

Jakeao 12-20-2004 04:52 PM

installing fedora 3 kernel source, for ndiswrapper
 
I'm trying to install a wireless network card in my laptop, using Ndiswrapper. It says to install the kernel source, but i have no idea how to go about doing this or where to get the source from. I've downloaded the source disks for Fedora 3, but they don't appear to have the right files on them. I'm a total newbie, to linux so I need all the help I can get. thanks for any info. I think once I get the source installed I'll be in good shape.

jailbait 12-20-2004 06:23 PM

"I've downloaded the source disks for Fedora 3, but they don't appear to have the right files on them. "

The first thing to do is determine what kernel version you are using. Type in this command:
uname -r
and you will get something like:
2.6.6-44-default
This is the name of your kernel with 2.6.6 being the version number. Once you get the kernel name then you can look for the corresponding source package from Fedora.

The correct kernel source may already be installed. Some distributions install the kernel source as part of the installation process. Look in the /usr/src directory and see if you have a directory called something similar to /usr/src/linux-2.6.6-44-default.

----------------------
Steve Stites

Jakeao 12-31-2004 10:24 PM

What does Redhat call the source for the kernel. Im trying to install it and for the life of me can't figure it out. The kernel I have is 2.6.9-1.667 Any help would be great, as i have no clue what I'm doing.

hammeredfish 01-07-2005 12:47 PM

The file you are looking for is:
kernel-2.6.9-1.667.src.rpm
Follow the instruction from the link below:
http://www.mjmwired.net/resources/mj...html#kernelsrc
Next, make a link to the BUILD directory:
Code:

cd /usr/src
ln -s redhat/BUILD/kernel-2.6.9/linux-2.6.9/ linux-2.6.9

Finally, you can use the normal make commands to compile and install kernel:
Code:

cd /usr/src/linux-2.6.9
make mrproper
make menuconfig
make all
make modules_install
make install

That should do it. Also, check to see that grub.conf is set up the way you want.

Refer to http://www.mjmwired.net/resources/mjm-kernel-fc3.shtml for help.

csfalcon 01-07-2005 01:00 PM

Fedora no longer ship kernel source with the installation CDs anymore (which makes my life harder).

for those who updated the kernel with yum or up2date, you can find the newer kernel source at
ftp://mirror.linux.duke.edu/pub/fedo...dates/3/SRPMS/

Look here for installation instructions:
http://www.linuxquestions.org/questi...+kernel+source

Jakeao 01-13-2005 05:12 PM

Thanks for the help I got it working. :D


All times are GMT -5. The time now is 07:09 PM.