LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 05-08-2006, 01:33 PM   #1
koolaid-man
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, 05:55 PM   #2
pdeman2
Member
 
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, 04:17 AM   #3
YAOMK
Member
 
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 06:34 PM.
 
Old 05-09-2006, 07:17 AM   #4
colonboy
Member
 
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, 09:11 PM   #5
koolaid-man
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, 07:38 AM   #6
YAOMK
Member
 
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'

fedora-buildrpmtree

(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 wikipedia.org and google.com 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 08:25 AM.
 
Old 10-26-2006, 02:31 AM   #7
dharkor
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?
 
  


Reply

Tags
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 02:36 AM
NDISWRAPPER 1.1 and FEDORA CORE 3 basketkase999 Linux - Wireless Networking 2 03-19-2005 03:06 PM
Fedora Core 3 and ndiswrapper moo113 Linux - Wireless Networking 27 02-06-2005 12:28 PM
ndiswrapper with Fedora Core 1 jhuff Linux - Newbie 1 01-20-2005 09:40 AM
ndiswrapper under Fedora Core 2 BlueNoteMKVI Linux - Wireless Networking 2 06-19-2004 10:07 AM


All times are GMT -5. The time now is 06:44 AM.

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