Step-by-step:
Refference:
http://www.zyxware.com/articles/2680/solved-wired-connection-eth0-not-detected-in-ubuntu-12-04
- Download the alx driver from the following link: compat-wireless-2012-05-10-p.tar.bz2
- Extract the driver file with the command,
tar -xvf compat-wireless-2012-07-03-p.tar.bz2
- Change directory to extracted folder
cd compat-wireless-2012-05-10-p
- Run the following command,
scripts/driver-select alx
- Run command
sudo make
- Run command
sudo make install
- Make the driver work, it's done!
modeprobe alx
It may works not only on Ubuntu OS, but also on other Linux distribution including Ubuntu derivative (Linux Mint, Blankon) and RPM-based OS. Just change the command in appropriate way.
http://www.zyxware.com/articles/2680/solved-wired-connection-eth0-not-detected-in-ubuntu-12-04