Prerequisites (Thanks to Nikhil Pawar for this info):
1. Install kernel-devel and kernel-headers. Do this using the following command:
yum install kernel-devel kernel-headers2. Install compilers. Do this using the following command:
yum install make automake autoconf gcc gcc-c++
1. Download the Atheros ethernet driver for linux from here. Download the file named AR81Family-Linux-v184.108.40.206.tar.gz
2. Extract the contents of the gzip file using the following command
tar zxvf AR81Family-Linux-v220.127.116.11.tar.gz3. Become root using the following command
su4. Enter the root password.
5. Navigate to the src directory of the extracted files by executing the following command.
cd src6. Build the driver from source by executing the following command.
makeNOTE: If it complains about your kernel version being outdated / and / or not being the latest version, do the following:
6.a) Edit the MakeFile. (the one inside the src folder from the file that you extracted on step 2) Comment out the following lines by adding a # sign before all of the lines.
ifeq ($(KKVER), 0)After editing, the said lines should look like the following:
$(error *** Aborting the build.
*** This driver is not supported on kernel versions older than 2.4.0)
# ifeq ($(KKVER), 0)6.b) Save the MakeFile.
# $(error *** Aborting the build.
# *** This driver is not supported on kernel versions older than 2.4.0)
6.c) Execute the make command again. Ignore the warnings that you see, they're annoying.
make7. Install the driver by executing the following command.
make install8. Inside the src folder. Find the file atl1e.ko. Copy it to the following folder.
/lib/modules/"your kernel version"/kernel/drivers/net/atl1e/NOTE: Replace the text "your kernel version" with the version of your kernel. You can find that out by executing the following command:
uname -rFor example, in my machine:
[root@mybox src]$ uname -rSo the command to copy my .ko file to the proper folder will be:
cp ./atl1e.ko /lib/modules/18.104.22.168-147.fc13.i686/kernel/drivers/net/atl1e/9. Make your system automatically load the driver modules during system boot by executing the following command.
modprobe atl1eNOTE: After executing the command above and you got an error that looks like the following:
[root@mybox ~]$ modprobe atl1eDo the following:
FATAL: Module atl1e not found.
9.a) Execute the following command.
depmod -a9.b) Create a .module file inside /etc/sysconfig/modules by executing the following command.
echo /sbin/modprobe atl1e >> /etc/sysconfig/modules/local.modules9.c) Chmod the newly created module file to 755 by executing the following command
chmod 755 /etc/sysconfig/modules/local.modules10. Restart your machine.
Thats it! That should do it! It worked on my machine, I hope it will work on yours too!
Please comment on this post for any questions!
I upgraded my kernel version to 22.214.171.124-147.2.4.fc13.i686, if you upgraded yours too, you'll have to repeat the process above all over again, I'll try to find a way so we can avoid that, but for the meantime, repeating the process above will solve the problem.
For Fedora 14, please refer to Patrik Martinsson's blog post.