Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


Closed Thread
  Search this Thread
Old 01-07-2009, 03:10 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:29 PM   #2
Senior Member
Registered: Nov 2006
Distribution: Debian Squeeze SMP AMD64
Posts: 3,318

Rep: Reputation: 126Reputation: 126
I believe that has ath5k in it, which is the replacement for madwifi except for some specific hardware models. Are you sure you don't already have either a wlan0 or a wlan1? What do you get when you run this command?
dmesg |grep wlan
Old 01-07-2009, 07:17 PM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed Thread

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
Trying to install Madwifi Driver, asking me to configure Kernel, absolutely lost, ETRadix Linux - Newbie 3 01-07-2009 07:54 PM
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
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 - Hardware

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