PDA

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



Matto
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.

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

try

su -
yum install kernel-devel

Matto
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.

blue13130
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:
http://gulus.usherbrooke.ca/pub/distro/fedora/linux/core/6/i386/os/Fedora/RPMS/kernel-devel-2.6.18-1.2798.fc6.i686.rpm

blue13130
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:
http://rpm.livna.org/fedora/6/i386/ndiswrapper-1.25-1.lvn6.i386.rpm
http://rpm.livna.org/fedora/6/i386/kmod-ndiswrapper-1.25-1.2.6.18_1.2868.fc6.i686.rpm

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:
http://gulus.usherbrooke.ca/pub/distro/fedora/linux/core/updates/6/i386/kernel-2.6.18-1.2868.fc6.i686.rpm

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.

Jman
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.