LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Trying to install Madwifi Driver, asking me to configure Kernel, absolutely lost, (https://www.linuxquestions.org/questions/linux-hardware-18/trying-to-install-madwifi-driver-asking-me-to-configure-kernel-absolutely-lost-695671/)

ETRadix 01-07-2009 03:10 PM

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/2.6.27.9-159.fc10.i686/build: No such file or directory
Makefile.inc:66: *** /lib/modules/2.6.27.9-159.fc10.i686/build 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
work.

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,


ETRadix

Quakeboy02 01-07-2009 03:29 PM

I believe that 2.6.27.9 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?
Code:

dmesg |grep wlan

pixellany 01-07-2009 07:17 PM

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.


All times are GMT -5. The time now is 03:53 PM.