Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 02-08-2007, 11:48 AM   #1
LQ Newbie
Registered: Feb 2007
Location: Ottawa
Distribution: Fedora Core 6
Posts: 5

Rep: Reputation: 0
prob with ndiswrapper on FC6

Hello! I have been trying to get ndiswrapper to work on my Fedora Core 6, to no avail... anybody has any tips?

1-Installed Kernel-devel
(as needed for installation on FC. See

2-Installed appropriate 16K stack kernel update for Linuxant at
(as needed for installation on FC. See

[root@localhost pre-ndis]# rpm -qa | grep kernel

3-Downloaded ndiswrapper

[root@localhost ndiswrapper-1.37]# make distclean
(lots of info, no error messages)

[root@localhost ndiswrapper-1.37]# make
make -C driver
make[1]: Entering directory `/root/ndiswrapper-1.37/driver'
Can't find kernel build files in /lib/modules/2.6.18-1.2798.fc6.stk16/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/root/ndiswrapper-1.37/driver'
make: *** [all] Error 2

Again, any help would be SO appreciated

Old 02-08-2007, 01:19 PM   #2
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
2 things.

First, read the INSTALL file that came with ndiswrapper. Here is the fist paragraph of that:

You need a recent kernel, at least 2.6.6 or 2.4.26, with header files
for the kernel. Make sure there is a link to the kernel source from
the modules directory. The command

  ls /lib/modules/`uname -r`/build

should have at least 'include' directory and '.config' file.
Your error clearly says, Can't find kernel build files in /lib/modules/2.6.18-1.2798.fc6.stk16/build. So you fail the prerequisite test. That is why the ndiswrapper make is failing.

Second, this is not windows. I'm sure you ran as admin all the time and had no problems, but this is linux. Using the root account (as evidenced by the fact that the ndiswrapper was in /root) is a major no-no. Using root in the GUI is a certain invitation for a major problem. Just like in windows, root can do anything. If you execute a page with malicious scripts as a regular user, the worst that happens is your personal files are effected, but you don't have permissions to effect system files. In short, no harm is done. Running as root completely destroys that, obliterating the *nix security model. I don't want to see spyware and viruses for linux, and your behavior is encouraging that. Use a regular account for everything, and never be root in a the GUI. The only time you need root permissions is to install software. You can make the ndiswrapper stuff as yourself, then become root only for the make install step, and only do it at the command line.



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 on FC6 Sam Liu Linux - Wireless Networking 32 12-05-2006 11:45 AM
ndiswrapper on FC6 x86_64 Nomadic Logic Fedora 3 11-08-2006 06:47 PM
From one problem to another, ndiswrapper, FC6 THOR_Fedora Linux - Wireless Networking 9 10-29-2006 07:48 AM
Ndiswrapper, fedora fc6 THOR_Fedora Linux - Wireless Networking 3 10-28-2006 10:16 AM
ndiswrapper prob Magikx21 Linux - Software 12 05-16-2005 03:12 AM

All times are GMT -5. The time now is 12:20 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