Network Driver - Atheros AR8121/AR8122 Gigabit/Fast Ethernet controller

jervin
Posts: 89
Member Since:
2007-01-07

I need some help...

I have a Foxconn nt330i barebones PC which is an Intel Atom based machine. I would like to get it to work with Trixbox. I have downloaded the most current version 2.8.0.4. I have found that the Atheros AR8121/AR8122 Gigabit/Fast Ethernet controller is not recognized by Centos / Trixbox. No light light up etc. Works with Windows and Ubuntu though so I know the port work.

I found a driver that should work at http://partner.atheros.com/Drivers.aspx and I can get it to my system via USB Drive.

There is a Makefile included. I get the following (signed on as root):

make
make -C ./src
make[1]: Entering directory '/home/.../src'
Makefile:61: *** Linux Kernel source not found. Stop.
make[1]: Leaving directory '/home/.../src'
make: *** [all] Error 2

So, I was wondering how to proceed and if it was feasible to compile this driver. I know that there are subdirectories on the Trixbox site at http://yum.trixbox.org/centos/ that may help, but as I've never compiled a module for Trixbox or Asterisk manually (some might say it's about time), I would like a bit if advice, direction, etc.

Thanks.



jervin
Posts: 89
Member Since:
2007-01-07
Correction

Make that controller on my PC: Atheros AR8131/AR8132 Gigabit/Fast Ethernet Controller



andrew
Posts: 1472
Member Since:
2006-05-30
You can install the kernel

You can install the kernel source and try to build the driver. It's not that hard if you follow the instructions that came with the driver. But if you don't know anything about Linux it might take you a while to get this working. You can buy a USB Ethernet adapter that will work without a driver for about $10. This may be a better option.



jkorkiner
Posts: 1
Member Since:
2010-09-24
Give this a shot

You will need to use the newest atl1e driver, as I just ran into this trying to install CentOS 5.5 on a NT510. I ended up using rpm2cpio to pull out the needed kernel objects (ko), and update the correlating modules-info, modules.alias, and added the kernel obects to the initrd.img file.

You can get the latest files from: http://elrepo.org/

Here is the guide I loosely followed: http://raftaman.net/?p=727 ... Kernel version numbers will be different, but the same concept would apply. Get the initrd.img from the trixbox.iso.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.