LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2005, 04:11 PM   #1
ms-x
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core 5
Posts: 12

Rep: Reputation: 0
ndiswrapper


Ok, well I'm trying to install ndiswrapper on my machine running FC4. When I type the make command it says the following:

Can't find kernel sources in /lib/modules/2.6.11-1.1369_FC4/build; give the path to kernel sources with KSRC=<path> argument to make

Any ideas?
 
Old 08-10-2005, 05:26 PM   #2
Law1213
Member
 
Registered: Jul 2004
Location: UK
Distribution: Gentoo
Posts: 52

Rep: Reputation: 17
The ndiswrapper is a kernel module and must be compiled against your kernel source. The kernel source code is usually stored in /usr/src/linux or /usr/src/linux-<kernelversion>

If you have the kernel source then simple go back to your ndiswrapper source code directory and type:

make KSRC=/usr/src/linux
or replace /usr/src/linux with /usr/src/linux-<kernelversion> depending on which directories exist on your system


It is possible that you dont have your kernel source code on your system if a kernel image was installed from your distro installer. If this is the case try the following:

Checking the kernel version
At a terminal console type: cat /proc/version
that should display your kernel version

You've got two options:-
1.) Since your using fedora and probably a kernel that came with the fedora installer you may be able to find an ndiswrapper .rpm file (the ndiswrapper rpm file must be for your specific kernel version) in your packet manager or on rpmfind.net
2.) If the above fails, you can download the kernel source at www.kernel.org choose the the full kernel source that matches your kernel version, download and extract into /usr/src/linux-<kernelversion> and return to you ndiswrapper source dir and type: make KSRC=/usr/src/linux-<kernelversion>

Hope that is of some help to you.

Good Luck.
 
Old 08-11-2005, 04:29 AM   #3
ms-x
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core 5
Posts: 12

Original Poster
Rep: Reputation: 0
Ok, thanks a lot. After having a look, I've realised I haven't got the kernel source. So I'll download that then give it another go.

Edit: I can't find my kernel version on that website... I'm looking for 2.6.11-1.1369

Last edited by ms-x; 08-11-2005 at 04:37 AM.
 
Old 08-11-2005, 09:26 AM   #4
Law1213
Member
 
Registered: Jul 2004
Location: UK
Distribution: Gentoo
Posts: 52

Rep: Reputation: 17
I managed to find the source code for your specific kernel on google using the following keywords:
kernel 2.6.11-1.1369

If your ever lost when looking for files always try google.

Here it is:
http://download.fedora.redhat.com/pu...69_FC4.src.rpm

The above is a link to download an rpm package which contains the source code to your kernel version, notice the filename includes src.rpm saying this is an rpm package which will install source code.

I found this from the following site which also contains the binary rpms to install your kernel:
http://rpmfind.net/linux/RPM/fedora/..._FC4.i686.html
 
Old 08-11-2005, 10:15 AM   #5
ms-x
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core 5
Posts: 12

Original Poster
Rep: Reputation: 0
I downloaded the rpm file, but now I don't understand what I do with it. How do I install it? Sorry about this.
 
Old 08-11-2005, 01:19 PM   #6
Law1213
Member
 
Registered: Jul 2004
Location: UK
Distribution: Gentoo
Posts: 52

Rep: Reputation: 17
The file is in rpm format (Redhat Package Manager) fedora should support this since its a fork of the redhat distro.
To install the file you must use a package manager (an application for installing/removing software)

Since I dont use fedora I do not know the exact procedure for installing the rpm file, however I did manage to find what looks like a handy guide to installing rpms on fedora thanks to google:

http://www.tuxmagazine.com/node/1000038/print

Just incase you are struggling, there is a method of installing the file form the console which is standard for most distros that use rpms:

rpm -Uvh kernel-2.6.11-1.1369_FC4.src.rpm

Execute the above command in the directory you downloaded the rpm too. This should install the kernel source and you can then navigate to the /usr/src directory and have a look for it.
 
  


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
Trying to load module "ndiswrapper" with modprobe; modprobe ndiswrapper doesn't work! Benjamin Linux - Wireless Networking 30 05-25-2008 07:04 AM
Ndiswrapper zupertj SUSE / openSUSE 6 10-20-2005 12:11 PM
ndiswrapper doesn't like me michaelsanford Linux - Wireless Networking 3 04-12-2005 12:52 PM
Ndiswrapper Pretzels Linux - Wireless Networking 3 12-19-2004 08:23 PM
help with ndiswrapper bruzah619 Linux - Wireless Networking 4 10-22-2004 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration