View Full Version : Where can i DL the source for my kernel?

28th December 2006, 01:44 AM
Hi, I'm a first time Linux user. Right now, I can't use Linux to connect to the net, so I can't DL the source using yum or anything, so I need an ftp or http address to download my kernel's source so that I can use ndiswrapper to configure my wireless NIC.

The kernel ver I'm using is: 2.6.18-1.2798.fc6, so I'd need an rpm file i believe.

If anyone can link to somewhere where I can DL this source. or tell me something else to do so that I can get everything working, I'd really appreciate. I apologize for being so Linux-illiterate.

28th December 2006, 01:48 AM
You dont normally need a kernel source to compile drivers


su -
yum install kernel-devel

28th December 2006, 02:39 AM
The wireless NIC whose drivers I'm installing only has windows drivers, so I'm using ndiswrapper. In order to install ndiswrapper, I need to have the source.

And I tried the command anyway in hopes that it would work, but it didn't work since I'm not connected to the internet on linux.

28th December 2006, 05:28 AM
I don't think you need the kernel source. The kernel devel rpm should work fine. I have built the ndiswrapper RPM many times without a need for the kernel source rpm. Here is a link to the kernel devel rpm for your version:

28th December 2006, 05:35 AM
Since you are a first time linux user, why not use prebuilt ndiswrapper packages, it will be much easier I am sure. Livna.org provides many rpms for fedora and ndiswrapper is one of them.

Here are the links for the two packages you will need to install ndiswrapper:

These packages are kernel specific and only will work on kernel version 2868, you are currently running 2798 so you need to install the latest kernel:

Install the new kernel rpm, then install both ndiswrapper rpms then reboot to your new kernel and configure ndiswrapper to work with your wireless connection.

28th December 2006, 05:37 AM
What wireless NIC?

There's a ndiswrapper how to at fedoramobile. (http://fedoramobile.org/fc-wireless/ndis-yum-livna) However it does use yum to download them, so if you don't have a working Internet connection this may be a bit tricky.