Fedora 8:
From this point forward if a command starts with a $ this means you can execute it without being root, and if a command starts with a # then you will need to become root before you execute it.
After upgrading to Fedora 8, I was facing issues that I didn't in Fedora 7 or prior Fedora releases.
After investigating it properly it turned out that the culprit is in fact has to do with Atheros card's auto detect speed functionality amongst something else.
- Make sure your system is up to date! As root do the following :
We will need kernel source RPMS installed so do the following:
Code:
# yum install kernel-devel
All that is required to take care of this issue in Fedora 8 is adding as root the following line to /etc/modprobe.conf:
Code:
# gedit /etc/modprobe.conf
Add what's below:
Code:
install ath_pci /sbin/modprobe --ignore-install ath_pci; /sbin/iwpriv ath0 mode 3
options ath_pci autocreate=sta
alias ath0 ath_pci
However the built in module for atheros , ath5k conflicts with the to be installed modules, so make sure to add the following line to /etc/modprobe.conf too:
Eventually, the section of /etc/modprobe.conf relating to the Atheros stuff will end up looking as follows:
Code:
#Atheros wireless configurations
blacklist ath5k
install ath_pci /sbin/modprobe --ignore-install ath_pci; /sbin/iwpriv ath0 mode 3
options ath_pci autocreate=sta
alias ath0 ath_pci
Make sure to save and exit.
Now from here almost all approaches ought to work, you can either compile madwifi / madwifi-ng drivers and install them OR you can get madwifi rpms from Livna (or maybe elsewhere) and install those too, these options ought to work. However, even though both approaches have worked for me I compile and use the madwifi-ng drivers myself, but I suggest you give madwifi RPMS from Livna a shot first, those should work, otherwise go for the compilation and installation.
To Obtain and Install Livna madwifi RPMS:
1- Go Here for 64-bit systems or Here for 32-bit systems
2- Download the following:
kmod-madwifi
madwifi
What I tested on my 64-bit systemI was using the following package versions:
kmod-madwifi-2.6.23.1-42.fc8-0.9.3.3-9.lvn8.x86_64
madwifi-0.9.3.3-1.lvn8.x86_64
on a 32-bit system those would be:
kmod-madwifi-2.6.23.1-42.fc8-0.9.3.3-9.lvn8.i386
madwifi-0.9.3.3-1.lvn8.i386
Just go for the latest versions of the madwifi / kmod-madwifi packages you can get from Livna at the time you are doing this.
After downloading to the directory where the RPMS from Livna have been downloaded, navigate to the directory where you have downloaded the packages then install by either clicking them or via terminal:
As root:
Code:
#yum localinstall kmod-madwifi-0.9.3.3-10.lvn8.x86_64.rpm madwifi-0.9.3.3-1.lvn8.x86_64.rpm
That should be it for Fedora 8!
For best results do a reboot and things should be fine, however if you are having no luck with getting the RPMS to work from Livna and or other places, follow the "Fedora 7 or below" procedures however KEEP the /etc/modprobe.conf file as it is in the Fedora 8 section!
Fedora 7 or below:
Obtaining the files : We all know madwifi RPMS are available from Livna.org and ATRPMS, however I didn't personally obtain any positive results from them under Fedora 7 so I removed all the madwifi RPMS and went for the real stuff, the tar balls.
1 - Make sure your system is up to date as root do the following :
We will need kernel source RPMS installed so do the following:
Code:
yum install kernel-devel
This command is not applicable to Fedora Core 6 or later, as there is no seperate SMP Kernel that is installable from the repo
In case you like me have an SMP kernel installed then do the following:
Code:
yum install kernel-smp-devel
Not required for Fedora 7 according to my tests
Also we need to use yum in order to install another package we will be needing :
Code:
yum install sharutils
Then we head over to MadWiFi's sourceforge.net page and download the latest tar ball and save it in your home directory.
2 -
Note that I recommend using the madwifi-ng drivers which I mention at the bottom in case you apply all the steps correctly and still can't get your card to work right.
In this guide I am using the following version of madwifi : madwifi-0.9.2.tar.gz
So if you are trying to apply these instructions with a newer tar-ball just replace the newer version's name instead of what I have here. From this point forward if a command starts with a $ this means you can execute it without being root, and if a command starts with a # then you will need to become root before you execute it.
* 3
- Navigate to your home directory :
Code:
cd /home/YOUR-USERNAME
- Extract the content of the tar ball :
Code:
$ tar -xzvf madwifi-0.9.2.tar.gz
Some output will scroll down your terminal.
now we need to do some prep before starting things up execute the following scripts in order using these 2 commands (this will help you out a lot in case you were messing around with madwifi drivers before):
Code:
# ./madwifi-unload.bash
Code:
# ./find-madwifi-modules.sh /
Make sure to select the "remove" option once prompted, by simply typing r then Enter.
*4
After preparing the surgery room for the operation we now need to build the madwifi drivers from source.
Lets go up a directory :
build the drivers :
OR
If you have a dual core system you can use the following command instead to speed things up a bit for geeknes sake!
Now install the drivers (remember # means root)
OR
Again for dual core machines ---------------------------------
TIP:
If you are one of them lucky boys to have more than 2 cores on your system, then you just make the number of cores as part of the argument for make!
So since I am geek enough to have two quad-cores on my desktop, I can for example do this:
Followed by a :
This is such a small compilation that you might NOT notice a big difference, however when you are compiling an app as big as Firefox or what not, cutting the time by 8 is a BIG advantage. SO just thought you guys might find this useful 
---------------------------------
*5 If you reached this step without errors, then getting your card to work might not be too far away 
Now we need to create an entry in /etc/modprobe.conf for our new device, so lets as root add the following lines to /etc/modprobe.conf using your favorite text editor as root :
Code:
# gedit /etc/modprobe.conf
Then add the following contents in:
Code:
alias ath0 ath_pci
options ath_pci autocreate=sta
alias wifi0 ath_pci
Now save the changes to the file and close it then restart your system.
Happy Browsing 
Tuxic