Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    6

    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[1]: 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[3]: *** [/root/madwifi-0.9.2.1/ath/if_ath_pci.o] Error 1
    make[2]: *** [/root/madwifi-0.9.2.1/ath] Error 2
    make[1]: *** [_module_/root/madwifi-0.9.2.1] Error 2
    make[1]: 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?

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    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.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •