[Solved] Ethernet(eth0) not working in Ubuntu 12.04 and 13.04 with Atheros


Here is how I solved the problem that Ethernet does not detected in my Ubuntu 12.04 with Atheros AR8162 network card. The problem might be due to the incompatibility of the built-in drivers in Ubuntu release, updated the kerenel and installed proper driver to make it working.

First you have to upgrade the kernel version to 3.9

Open the terminal(Alt+Ctrl+T) and run the following commands:
cd /tmp
Download the auto installaion script.
wget https://www.dropbox.com/s/6vrphp8dzo89aaa/install_kernel3.9.sh install_kernel3.9.sh
chmod +x install_kernel3.9.sh
Run the script
sudo ./install_kernel3.9.sh
Restart the machine to take effect.
sudo reboot

Now we are going to install the Ethernet driver.

In a Terminal try the following commands to download the ethernet driver and install it.
wget https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/28/compat-drivers-2013-03-28-5-u.tar.bz2
cd compat-drivers-2013-03-28-5-u
./scripts/driver-select alx
make
sudo make install

Finished... Now your Ethernet is up and running.!!

This method will also works on the following Network card devices.

The alx driver provide support for:

1969:1091 - AR8161 Gigabit Ethernet
1969:1090 - AR8162 Fast Ethernet
1969:10A1 - QCA8171 Gigabit Ethernet
1969:10A0 - QCA8172 Fast Ethernet

atl1c provides support for these chipsets:

1969:1063 - AR8131 Gigabit Ethernet
1969:1062 - AR8132 Fast Ethernet
1969:2062 - AR8152 v2.0 Fast Ethernet
1969:2060 - AR8152 v1.1 Fast Ethernet
1969:1073 - AR8151 v1.0 Gigabit Ethernet
1969:1083 - AR8151 v2.0 Gigabit Ethernet


We Would Like To Hear From You..