Find the answer to your Linux question:
Results 1 to 4 of 4
Ok, so I was having trouble installing madwifi on slackware 12.1. make; make install went fine but I found out that the modules were installed under a different kernel. So ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    47

    installing madwifi for Atheros 5212


    Ok, so I was having trouble installing madwifi on slackware 12.1. make;
    make install went fine but I found out that the modules were
    installed under a different kernel. So after looking
    through the Makefile I managed to find the right variables to get it
    to install for my current kernel.

    So i typed in:

    make KERNELRELEASE=2.6.24.5;
    make install KERNELRELEASE=2.6.24.5 DESTDIR=/;

    This installed the modules into the right directory but modprobe could
    not find ath_pci. So i rebooted and now I get the following errors from
    modprobe:

    WARNING: Error inserting ath_hal (/lib/modules/2.6.24.5/net/ath_hal.ko): Invalid module format
    WARNING: Error inserting wlan (/lib/modules/2.6.24.5/net/wlan.ko): Invalid module format
    FATAL: Error inserting ath_pci (/lib/modules/2.6.24.5/net/ath_pci.ko): Invalid module format

  2. #2
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    478
    welcome to the forum

    > madwifi

    thought "ath5k" or "ath9k" had taken over the atheros
    driver situation: check yr kernel .config
    the sun is new every day (heraclitus)

  3. #3
    Just Joined!
    Join Date
    Jul 2009
    Posts
    47
    wow I had no idea. Thanks

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    If your kernel doesn't have the ath5k and ath9k drivers enabled, you can install them from source. They are part of the compat-wireless package, available here.

    Download - Linux Wireless
    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

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