Onboard NIC driver for Asus P5P43TD on Centos

timbraun
timbraun used Ask the Experts™
on
I've installed Centos on a custom PC and can't get the onboard NIC to work.

I've installed 2 pci-e siig network cards and working but I also need the onboard to work totalling 3 network ports.

How could I get it to work?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2017

Commented:
You would need to add the drivers for Atheros network components.
http://partner.atheros.com/Drivers.aspx
lspci | more will confirm whether you have the atheros AR81 network card.

Author

Commented:
Thanks arnold, I ran the lspci | more command right after CentOS install. I got the following line in there.

02:00.0 Ethernet controller: Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet controller (rev b0)

However, the ethernet on the onboard port is not working. The light comes on when I plug the network cable but I cannot ping out and not ping to it (I've given it static IP that works on the cards.)

Only 2 devices show in the Network configuration window. eth0 and eth1. I believe the driver is included with CentOS but does not work.

Any idea how I could get it to work?
Distinguished Expert 2017

Commented:
It might not be the correct driver.  Could you try the link I provided for the manufacturer and download the drivers they are providing.  Follow the instruction on installing these drivers and (you could use DKMS http://linux.dell.com/dkms/) which will simplify help in driver/module addition/managed.

What is the output of /sbin/ifconfig -a?

run modprobe --list
Should you be charging more for IT Services?

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
arnold, when I try to extract the AR81 family linux driver from http://partner.atheros.com/Drivers.aspx, I just get extract errors. I was able to extract on windows and copy to linux but then there were make errors. Which of those drivers is it and how do I install?

Also, see the output of ifconfig -a and modprobe --list attached.

Thanks for your help so far!!
ifconfig--a
modprobe.txt
Distinguished Expert 2017

Commented:
you should get http://partner.atheros.com/Download.aspx?id=162

You first have to uncompress the gzip file.

When you have the tar.gz file. you should run gzip -cd < downloaded_filename.tar.gz | tar -vtf -

This will list the table of contents.

(You might be able to use tar -zfx downloaded_filename.tar.gz to uncompress/extract the archive.)

Replace vt with x to to get the archive unpacked and created.
 
Could you post the output of lspci?



Author

Commented:
Alright so I got it unpacked. This is still all pretty new to me.

In a previous post you said I should use DKMS from dell to help with module management. I have no idea how to use it or go on from here. Could you please help me with that?

lspci output attached. Thanks!
lspci.txt
Distinguished Expert 2017
Commented:
ok.

now in the director where you extracted/uncompressed you should have

10 files and a src director.

it might be best to create a new director and move those files into it:
mkdir atheros
mv src copying release_notes.txt readme Makefile atl1e.7     at_osdep.h  dkms.conf atl1e.spec  copying     ldistrib.txt  pci.updates atheros/

cd atheros
make
make install

This will install the driver onto your system.
now look in the readme file for the additional instructions.
you can then use dkms to add/manage the module such that when you update your kernel, you would not lose this interface and would need to recompile/reinstall.  With dkms you can precompile and preinstall or it will do it when the system boots with a new kernel.

/usr/sbin/dkms -c dkms.conf

It is up to you whether you want to let dkms compile and install the atheros driver when the system boots with a new kernel, or whether you will use dkms to precompile/preinstall the atheros driver into the new kernel prior to reboot.






Author

Commented:
When I try to run the make command I get the following error. I don't really know how it works, but I think my pc has this kernel. 2.6.18-194.el5xen

make -C ./src
make[1]: Entering directory `/root/Desktop/ar81/src'
Makefile:61: *** Linux kernel source not found.  Stop.
make[1]: Leaving directory `/root/Desktop/ar81/src'
make: *** [all] Error 2

Am I doing something wrong?
Michael WorshamStaff Infrastructure Architect
Commented:
You just need to install the kernel header source.

Yum install kernel-devel
Michael WorshamStaff Infrastructure Architect

Commented:
You just need to install the kernel header source.

Yum install kernel-devel
Top Expert 2015

Commented:
remove all added controllers and generate lspci -nv output

Atheros is mostly unsupported, probably best left disabled and replaced with cheap realtek....

Author

Commented:
I had a linux tech fix this up. Don't know what he did, but I tried all the stuff in here, all did not quite work.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial