Personal tools
You are here: Home Fedora Mobile Wireless Installing Madwifi Kernel Modules

Installing Madwifi Kernel Modules

by bobjensen last modified Nov 15, 2008 01:35 PM
Contributors: daMaestro
— filed under:

Installing and using the madwifi kernel modules from the RPMFusion repo is very simple and gets wireless going painlessly.

Requirements

  1. Read our Getting Started with Wireless Guide.
  2. This assumes you have a working Fedora installation and that you have configured yum to use RPMFusion.

Doing the work

  1. Update your system
    su -c "yum update"
    If your kernel was among the items updated you will want to reboot.
  2. Install the kernel module and other parts
    su -c "yum install madwifi kmod-madwifi"
    This installs the Kernel Module Module for a standard kernel. There are 4 versions available for i386 kmod-madwifi kmod-madwifi-kdump kmod-madwifi-smp kmod-madwifi-xen0
  3. Add the following lines to your /etc/modprobe.conf as root
    ## Start Atheros Stuff
    alias wifi0 ath_pci
    alias ath0 ath_pci
    options ath_pci autocreate=sta
    ## End Atheros Stuff

    If "alias wifi0 ath_pci" is listed already please omit it from your addition.

  4. Reboot
  5. Configure your ath0 wireless card normally
    su -c "system-config-network"

Troubleshooting

How to test

ping yahoo.com

The results should appear as below

PING yahoo.com (216.109.112.135) 56(84) bytes of data.
64 bytes from w2.rc.vip.dcn.yahoo.com (216.109.112.135): icmp_seq=0 ttl=53 time=274 ms
[...]

Common problems and fixes

  • An anaconda bug in FC6 may have caused you to end up with an i586 kernel on your system. You can check this with one of the following two commands:
    su -c "yum -d 0 list kernel"
    rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' 'kernel*'
    if you see "kernel.i586 Installed" please follow the suggested resolution listed here https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211941#c24. Once you have removed the .i586 kernel complete the steps above and you should have no issues.

More Information

Disclaimer

We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #fedora on irc.freenode.net

Added Reading

 
Document Actions
Log in


Forgot your password?
New user?