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 01-07-2009, 03:08 PM   #1
LQ Newbie
Registered: Dec 2008
Posts: 7

Rep: Reputation: 0
Angry Trying to install Madwifi Driver, asking me to configure Kernel, absolutely lost,

Hi All,

I am trying to install Madwifi 0.9.4 and I get the error ...

[root@localhost madwifi-0.9.4]# make install
/bin/sh: line 0: cd: /lib/modules/ No such file or directory *** /lib/modules/ is missing, please set KERNELPATH. Stop.
[root@localhost madwifi-0.9.4]#

The install file tells me to ...

- Configured kernel sources of the target kernel. Some Linux
distributions provide headers, makefiles and configuration data - it
should suffice.

- Wireless Extensions support (14 or later, 17 preferred) - option
CONFIG_NET_RADIO in kernel .config file.

- Sysctl support - option CONFIG_SYSCTL in kernel .config file.

- Crypto API support - option CONFIG_CRYPTO in kernel .config file (AES
support is used if present, otherwise the AES-CCMP cipher module falls
back to a private implementation).

- gcc of same version that was used to compile the kernel. At least
make sure that the first two version numbers or the compiler are the
same (e.g. it's OK to use gcc 3.4.6 to compile MadWifi if the kernel
was compiled by gcc 3.4.2). Ignoring this rule will cause "Invalid
module format" errors during module load.

Linux 2.4.x kernels starting with 2.4.22 and 2.6 kernels should work
without problems. Due to quick pace of Linux development, there is no
way compatibility with the future 2.6 kernels can be ensured. However,
the latest 2.6 kernel at the time of the release should be expected to

Automatic module loading support (CONFIG_KMOD) is recommended; otherwise,
care will have to be taken to manually load needed modules.

I am new to linux, took me a month just to install Fedora 10, I feel overwhelmed by the learning curve, did not think it would be this hard, can anyone advise,

Old 01-07-2009, 03:52 PM   #2
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,239
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
I think you are going about this the hard way.. why not just install madwifi from the Fedora repositories..

Configure the repository

Install the madwifi modules
Old 01-07-2009, 05:47 PM   #3
LQ Newbie
Registered: Dec 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Smile Thank You it worked

Thank You farslayer for taking the time to respond, it worked like a charm, I spent the best part of a week trying to get it going, I have just been following directions I found when searching online, they led me to madwifi project.

Thanks Again
Old 01-07-2009, 07:54 PM   #4
Senior Member
Registered: Nov 2006
Distribution: Debian Squeeze SMP AMD64
Posts: 3,318

Rep: Reputation: 126Reputation: 126
Like I mentioned in the closed thread: isn't ath5k already available to "ath5k" is the replacement for madwifi. It names the device wlan* instead of ath*.


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
Building the madwifi driver with kernel 2.6.20 dracolich Linux - Wireless Networking 4 03-13-2007 07:08 PM
Madwifi Driver Install Pete89 Linux - Wireless Networking 3 01-31-2007 03:56 PM
madwifi install question for Altheros driver samplelin Linux - Newbie 5 05-17-2006 07:24 AM
Newbie Trying To Install Madwifi Driver... inVINCEable667 Linux - Software 9 04-01-2006 12:31 PM
configure wireless card with FC3/Xos or linux useing Madwifi driver irfanbhatti Linux - Wireless Networking 0 11-07-2005 06:20 AM > Forums > Linux Forums > Linux - Newbie

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