LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 12-20-2004, 04:52 PM   #1
Jakeao
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Rep: Reputation: 0
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.
 
Old 12-20-2004, 06:23 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,547

Rep: Reputation: 180Reputation: 180
"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
 
Old 12-31-2004, 10:24 PM   #3
Jakeao
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 01-07-2005, 12:47 PM   #4
hammeredfish
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
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.
 
Old 01-07-2005, 01:00 PM   #5
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
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

Last edited by csfalcon; 01-07-2005 at 01:04 PM.
 
Old 01-13-2005, 05:12 PM   #6
Jakeao
LQ Newbie
 
Registered: Dec 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks for the help I got it working.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem building and installing rpm from ndiswrapper source steveman2000 Linux - Newbie 5 10-23-2005 07:01 PM
kernel-source and ndiswrapper simeandrews Fedora 1 07-31-2005 01:06 AM
Where to find Kernel Source to install ndiswrapper ProoN Linux - Wireless Networking 5 07-09-2005 11:33 PM
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
how to link to kernel source for Debian ndiswrapper installation case1984 Linux - Newbie 0 09-10-2004 10:32 AM


All times are GMT -5. The time now is 04:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration