LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   fedora core 5 and installing ndiswrapper 1.13 (https://www.linuxquestions.org/questions/fedora-35/fedora-core-5-and-installing-ndiswrapper-1-13-a-442847/)

koolaid-man 05-08-2006 01:33 PM

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

pdeman2 05-08-2006 05:55 PM

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.

YAOMK 05-09-2006 04:17 AM

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.

colonboy 05-09-2006 07:17 AM

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.

koolaid-man 05-10-2006 09:11 PM

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

YAOMK 05-11-2006 07:38 AM

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.

dharkor 10-26-2006 02:31 AM

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?


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