Results 1 to 2 of 2
I am attempting to get a laptop up and running using the madwifi drivers for a Linksys PC card. I am using this link as a guide http://www.wirelessdefence.org/Conte...ldHowtoFC6.htm . Supposedly ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-15-2007 #1
- Join Date
- Feb 2005
Problems installing madwifi drivers
I am attempting to get a laptop up and running using the madwifi drivers for a Linksys PC card. I am using this link as a guide http://www.wirelessdefence.org/Conte...ldHowtoFC6.htm. Supposedly the card is compatible, but the problem I am having is that it needs access to the kernel source in /usr/src/kernels. It was missing, so I tried to download it via yum. That was successful, but when I go to the /usr/src/kernels folder, it shows kernel 2.6.19-1.2911. The problem is that when I type uname -r it gives me the current kernel version of 2.6.19-1.2895, which is an older kernel. Of course, the 'make' command fails with:
[root@localhost madwifi-0.9.2.1]# make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /usr/src/kernels/2.6.19-1.2911.fc6-i686 SUBDIRS=/root/madwifi-0.9.2.1 modules
make: Entering directory `/usr/src/kernels/2.6.19-1.2911.fc6-i686'
CC [M] /root/madwifi-0.9.2.1/ath/if_ath_pci.o
cc1: warnings being treated as errors
/root/madwifi-0.9.2.1/ath/if_ath_pci.c: In function 'ath_pci_probe':
/root/madwifi-0.9.2.1/ath/if_ath_pci.c:208: warning: passing argument 2 of 'request_irq' from incompatible pointer type
make: *** [/root/madwifi-0.9.2.1/ath/if_ath_pci.o] Error 1
make: *** [/root/madwifi-0.9.2.1/ath] Error 2
make: *** [_module_/root/madwifi-0.9.2.1] Error 2
make: Leaving directory `/usr/src/kernels/2.6.19-1.2911.fc6-i686'
make: *** [modules] Error 2
Would it be correct to assume that you want both of these to match whenever running make and make install? I'm guessing that is the problem with the errors. If so, how do I get these versions to match? Is there a way to download the kernel source for the 2.6.19-1.2895 version?
- 02-15-2007 #2
you should just need kernel-devel, use yum to download that
yum install kernel-devel
Then you have to reboot, to switch to the new kernel.
So try again.