Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 05-08-2006, 02:33 PM   #1
LQ Newbie
Registered: May 2006
Posts: 2

Rep: Reputation: 0
fedora core 5 and installing ndiswrapper 1.13

Ok just like most peoples posting i am new to the whole fedora os well linux os all together i have been looking for the solution to my problem for a couple days now but cant seem to find it i got FC5 to install and everything but it did find my wireless linksys wusb54g now i have gotten the ndiswrapper and started to install it but i keep getting an error and i dont know why here is the error i get.

make -C driver
make[1]: entering directory '/home/Chris/Desktop/ndiswrapper-1.13/driver'
can't find kernel build files in /lib/modules/2.6.15-1.2054.FC5/build; give the path to kernel build directory with KBUILD= argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory '/home/Chris/Desktop/ndiswrapper-1.13/driver'
make: *** [all] Error 2

so if anyone can help me out some id be extremely grateful
Old 05-08-2006, 06:55 PM   #2
Registered: Jul 2005
Location: Maine, USA
Distribution: OpenSUSE, Gentoo, Fedora, Ubuntu, Mandriva, others
Posts: 413

Rep: Reputation: 30
I don't have access to my FC5 machine right now, but did you try yum search ndiswrapper? I would be surprised if it's not in the repositories.
Old 05-09-2006, 05:17 AM   #3
Registered: Apr 2006
Location: Ft. Lauderdale
Distribution: FC7 and CentOS 5
Posts: 40

Rep: Reputation: 15
Ok I'm a newbie also and just went through all this installing the NDIS-Wrapper, you seem to be missing the kernel sources, you need to connect your box via ethernet and have an internet connection, then refer to your release notes and go to the Prepare kernel for develpment section, to install the kernel sources there is an error in the release notes so try instead the following command (su -c 'yum install kernel-devel') BTW there is also a new version of the NDIS Wrapper which is 1.15, try downloading that instead. Also before installing the kernel sources you must have the most up to date kernel availiable in the yum repositories for this try (su -c 'yum install kernel') I may be mistaking on this last command, is either install update or upgrade so double check on that. You can also install the kernel sources through RPM but then you could face problems linking the kernel to its sources so it is just best to use yum. I hope this helps.

Last edited by YAOMK; 05-09-2006 at 07:34 PM.
Old 05-09-2006, 08:17 AM   #4
Registered: Dec 2005
Location: Prior Lake, MN
Distribution: Fedora, Suse, Mandriva, Ubuntu
Posts: 35

Rep: Reputation: 15
In my case, I was able to install the source from the DVD. With FC5, I found it as simple as Windoze - just click/double click the icon located on your CD/DVD and let the default installer do all the work. When complete, you should see a new directory under /usr src (mine is: /usr/src/kernels/2.6.15-1.2054_FC5-x86_64). It's one of the few times I let Linux do the work and not have any problems. From there, you should be able to install ndiswrapper with no problems.

Good Luck.
Old 05-10-2006, 10:11 PM   #5
LQ Newbie
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
ok first ty to everyone who replied i could always use the help but i have just gotten to try these few things out to see if any of them will work but everytime i have yum try to install something i get

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core

im not to sure what im doing wrong or what commands im not entering right but i have gone and downloaded kernel-devel-2.6.16-1.2111_FC5.rpm , kernel-kdump-2.6.16-1.2111_FC5.rpm , kernel-smp-2.6.16-1.2111_FC5.rpm if i need some other downloads please let me know i have had the software updater run and install the updates it got but still i cant get the ndiswrapper-1.15 to install im still getting this error

make -C driver
make[1]: Entering directory `/home/Chris/Desktop/ndiswrapper-1.16/driver'
Can't find kernel build files in /lib/modules/2.6.16-1.2111_FC5/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/Chris/Desktop/ndiswrapper-1.16/driver'
make: *** [all] Error 2

if anyone knows anything else i could do to get wireless internet to work it is a Linksys wusb54g
Old 05-11-2006, 08:38 AM   #6
Registered: Apr 2006
Location: Ft. Lauderdale
Distribution: FC7 and CentOS 5
Posts: 40

Rep: Reputation: 15
I tell ya, as a newbie I had to reinstall the OS a few times just to get NDIS Wrapper working right. I much rather have a fresh system to work from. Errors made in the past could prevent from further advances, unless you are a linux Guru and could get everything just as it was. Step by step this is what I did:

1-Reinstall Fresh copy of Fedora Core 5
2-Open terminal and type the following (with active internet connection):

su -c 'yum install fedora-rpmdevtools'


(I believe the former commands create the tree for RPM development, in case you wish to install the src.rpm package, understand that to install the src.rpm package you must cd to the location where you have the package and type rpm -Uvh kernel-<version>.src.rpm` Again I dont recomend RPM installations, it did not work for me)

su -c 'yum install yum-utils'

su -c 'yum install kernel'

su -c 'yum install kernel-devel'

(you can type the command uname -r to see your current kernel, the new kernel will take effect once you reboot. to uninstall the previous kernel type the following command rpm -e kernel-<your old kernel version goes here>)

Then I just followed the instructions on the tutorial for NDIS-Wrapper in Fedora Core 5 availiable on this site under the tutorial section. One more note: When I typed ndiswrapper -l it didnt work because the shell was not logged so I had to type bash -l, then ndiswrapper -l and it all worked. I hope this helps, I installed this using the x86 version of FC5, I'm guessing you are running a simetrical (dual procesor) version of Fedora Core 5 since you typed SMP, I'm not so sure if my instructions would be of any help if that is the case. I suggest using and to search for concepts and commands that you may not understand. Also the command: info coreutils may render some valuable information as to how to use the command line. If you have any further questions do not hesitate to ask.

PS: sometimes the latest kernel isnt the kernel that you will find in yum, because yum tries to make availiable the latest stable versions, the one I used was kernel-2.6.16-1.2096_FC5, the yum commands above will install both the latest stable kernel and stable kernel sources to match. Also when you get ready to type the make install KSRC=/usr/src/kernels/<your kernel sources directory> you could always go into gnome and browse the directories to see your kernel sources are indeed at that location.

Last edited by YAOMK; 05-11-2006 at 09:25 AM.
Old 10-26-2006, 03:31 AM   #7
LQ Newbie
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Actually he needs the help because he can't install his wireless internet driver?
so how he's going to connect to the internet... anyways that is MY problem anyone has a solution?


linksys, ndiswrapper, wusb54g

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
ndiswrapper and fedora core 3 Ab3n Linux - Newbie 6 04-05-2005 03:36 AM
NDISWRAPPER 1.1 and FEDORA CORE 3 basketkase999 Linux - Wireless Networking 2 03-19-2005 04:06 PM
Fedora Core 3 and ndiswrapper moo113 Linux - Wireless Networking 27 02-06-2005 01:28 PM
ndiswrapper with Fedora Core 1 jhuff Linux - Newbie 1 01-20-2005 10:40 AM
ndiswrapper under Fedora Core 2 BlueNoteMKVI Linux - Wireless Networking 2 06-19-2004 11:07 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:04 AM.

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