Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-14-2006, 06:34 AM   #1
LQ Newbie
Registered: May 2006
Location: Russia
Distribution: Arch 0.7.2
Posts: 27

Rep: Reputation: 15
Post Having troubles installing ndiswrapper.

When i'm trying to install ndiswrapper 1.16 to Fedora 5 ( Fully updated with automatic updates) , after typing make it says:

[root@localhost ndiswrapper-1.16]# make
make -C driver
make[1]: Entering directory `/home/admin/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/admin/Desktop/ndiswrapper-1.16/driver'
make: *** [all] Error 2

When i go to /lib/modules/2.6.16-1.2111_FC5 and try to open "build" file it says :
This link can't be used, because its target "/usr/src/kernels/2.6.16-1.2111_FC5-i686" doesn't exist.

And , when I go to the /usr/src/ there is only one folder - Red Hat .

I'm a Linux first-timer , and I'm looking forward for your help.

Thank you.
Old 05-14-2006, 07:18 AM   #2
Registered: May 2001
Posts: 149

Rep: Reputation: 17
Try installing kernel-devel rpm package to match that version...

You should be able to just type...

yum install kernel-devel

They try to rebuild ndiswrapper. Alternatively, read up on the Livna repository...

After you type

rpm -ivh may be able to install a precompiled ndiswrapper.

yum install ndiswrapper

Many times, errors when you try to compile programs are because certain other libraries or source code is not installed. In the case of the kernel, you'll have "kernel" package with the binary, and "kernel-devel" with the source and configuration, in case other programs need to look at how your kernel was compiled, so to say.

Last edited by sonnik; 05-14-2006 at 07:20 AM.
Old 05-14-2006, 08:18 AM   #3
LQ Newbie
Registered: May 2006
Location: Russia
Distribution: Arch 0.7.2
Posts: 27

Original Poster
Rep: Reputation: 15
Installed ndsiwrapper of the last version , but it doesen't work. When i write ndiswrapper or lspci it says that there is no such command. And when i had no ndiswrapper , yum said nothing to do , when i wrote
yum install ndiswrapper

Old 05-14-2006, 11:23 AM   #4
Registered: May 2001
Posts: 149

Rep: Reputation: 17
Did you configure your yum for use with livna as I mentioned? I just verified that ndiswrapper is at livna...


whereis ndiswrapper

It may say something like /usr/bin

Try typing...



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 troubles Ab3n Linux - Newbie 9 09-02-2005 03:01 PM
ndiswrapper troubles.. ultimatenoob Linux - Software 3 05-07-2005 09:50 AM
ndiswrapper+WMP54G troubles calcon Linux - Wireless Networking 4 04-08-2005 11:25 AM
More troubles with ndiswrapper (crashes) sarge extreme Linux - Wireless Networking 7 02-01-2005 07:07 AM
Troubles installing WiFi PCMCIA /w NDISwrapper brianjorgensen2 Linux - Wireless Networking 2 05-02-2004 11:53 AM > Forums > Linux Forums > Linux - Newbie

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

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