Get a free quote now

[Solved] Wired Connection(eth0) not detected in Ubuntu 12.04

July 23, 2012 - 23:11

Some of the latest Laptops especially Dell Inspiron 5420 and Lenovo G580 series comes with Atheros Network driver which has some problem with Ubuntu 12.04. The problem is that it will not detect the wired network connection(eth0) even though wireless connection is working fine. We can solve this issue by installing the proper network driver.

First you have to download the latest driver from here http://linuxwireless.org/download/compat-wireless-2.6/

Open Terminal (Alt+Ctrl+T) and extract the downloaded file using following command.

tar -xvf compat-wireless-2012-07-03-p.tar.bz2

Copy and paste the following commands one by one to change the working directory and install the driver

cd compat-wireless-2012-07-03-p
scripts/driver-select alx
make
sudo make install
sudo modprobe alx

Done... Now you should be able to connect to the Internet using wired network.

Post your comments / questions

I am facing the same problem.So I was trying to follow your instruction.But the alx folder is empty.atlx atl1e atl1c are non-empty

pc.tar.bz2 works. p.tar.bz2 doesn't

Thanks for the last reply! It´s the solution!

Any other comment on that, I am having the same issue with my lenovo T420

Hi, it seems that the latest compat-drivers does not support alx anymore. So try the drivers released before 2012-05-10. Good luck ^_^

It works. Thank You!
(compat-wireless-2012-05-09-p.tar.bz2)

Hello, I tried it with compat-wireless-2012-05-09 too, and it worked till
"make not found/ Error 2" and
FATAL: Module alx not found.
from this point I couldnt continue.. used sudo bash to become super user

I also tried the methode Sandjeev recommendee.. It is a Lenovo G580 and Ubuntu 12.04, the 64 Bit Version

When try to install in my lenovo g580 laptop this error message appearing
1.scripts/driver-select alx

Result:
make -C /lib/modules/3.2.0-23-generic/build M=/home/shravankumar531/Desktop/compat-wireless-2012-07-03-p modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-23-generic'
scripts/Makefile.build:44: /home/shravankumar531/Desktop/compat-wireless-2012-07-03-p/drivers/net/ethernet/atheros/alx/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/shravankumar531/Desktop/compat-wireless-2012-07-03-p/drivers/net/ethernet/atheros/alx/Makefile'. Stop.
make[3]: *** [/home/shravankumar531/Desktop/compat-wireless-2012-07-03-p/drivers/net/ethernet/atheros/alx] Error 2
make[2]: *** [/home/shravankumar531/Desktop/compat-wireless-2012-07-03-p/drivers/net/ethernet/atheros] Error 2
make[1]: *** [_module_/home/shravankumar531/Desktop/compat-wireless-2012-07-03-p] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic'
make: *** [modules] Error 2

2 .make sudo install
Result:
make -C /lib/modules/3.2.0-23-generic/build M=/home/shravankumar531/Desktop/compat-wireless-2012-07-03-p modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-23-generic'
scripts/Makefile.build:44: /home/shravankumar531/Desktop/compat-wireless-2012-07-03-p/drivers/net/ethernet/atheros/alx/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/shravankumar531/Desktop/compat-wireless-2012-07-03-p/drivers/net/ethernet/atheros/alx/Makefile'. Stop.
make[3]: *** [/home/shravankumar531/Desktop/compat-wireless-2012-07-03-p/drivers/net/ethernet/atheros/alx] Error 2
make[2]: *** [/home/shravankumar531/Desktop/compat-wireless-2012-07-03-p/drivers/net/ethernet/atheros] Error 2
make[1]: *** [_module_/home/shravankumar531/Desktop/compat-wireless-2012-07-03-p] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic'
make: *** [modules] Error 2

3.modeprobe alx

No command 'modeprobe' found, did you mean:
Command 'modprobe' from package 'module-init-tools' (main)
modeprobe: command not found

"tar -xvf compact-wireless-2012-07-03-p.tar.bz2" is a typo: the 'compact' should read 'compat'

Thanks for the pointer. Made corrections in the article.

maybe spelling mistake -- I used 'modprobe' instead of modeprobe

Thanks a lot, nitheesh, this solved the problem on a Lenovo G580. A minor correction:
Last 3 terminal commands need sudo, otherwise there will be "permission denied" errors.

I have purchased a laptop g580 3 rd gen my laptop dvd drive is not visible,every time scan hardware change,device manager every time w7 please help me

regards
karthik

in this series the energy management software disable drive after 2 min. if u disable or uninstal energy management software it work fine..

Hi, I downloaded the latest tar (compat-wireless-2012-09-27.pc.tar.bz2) and followed instructions above. All's well, except for one thing: when I reboot the Ethernet isn't recognized again. Am I doing something wrong? Installing in a wrong place (/home/user/Downloads/compat-wireless-2012-09-27/)? Ideas are welcome!
Thanx up front.

In reference to my previous comment I can acknowledge that the procedure works on my Lenovo G580 and Ubuntu 12.04 install from a USB-drive. I had no wireless (Broadcom) and no ethernet (Atheros), but now after two reinstalls (last one fully SUDO'd) and subsequent reboots it also works 4 me ;-) Yeai!

how itwork with you please tell in detail

i am using Lenovo G580 & the latest ubuntu 12.10 with latest kernel version 3.5.0-17
i am facing below issues when executing make command.

avinash@raweng:~/compat-wireless-2012-05-10-p$ make
make -C /lib/modules/3.5.0-17-generic/build M=/home/avinash/compat-wireless-2012-05-10-p modules
make: *** /lib/modules/3.5.0-17-generic/build: No such file or directory. Stop.
make: *** [modules] Error 2

i too got the same error while executing . did u find solution for it budy ?

pc.tar.bz2 works. p.tar.bz2

yes, also worked for me

Hello! I'm a beginning user of linux (ubuntu 12.04. LTS). I have the same problem with my wired connetion. I have just try to follow your tips, but I don't know how to install the driver from the site you indicated. I have saved the file on my lap and I don't know what I have to do with this file in gedit.
I will be very grateful for explaining this issue...

save the file to your home directory

Good day! Would you mind if I share your blog with
my facebook group? There's a lot of people that I think would really appreciate your content. Please let me know. Many thanks

Thanks for all comments, now my wired eth0 is working. Just let me upgrade comments above:
I have downloaded "-pc" driver not "-p" driver (the last one is not working) and later follow these steps:
tar -xvf compat-wireless-2012-07-03-pc.tar.bz2
cd compat-wireless-2012-07-03-p
scripts/driver-select alx
sudo make
sudo make install
sudo modprobe alx

when i use "make" command it successed, but when i use
"make install" is gives an error (Permission Denied)
it is unable to write to modules.bin.temp
and i discovered that what exists in the directory is modules.bin only and there is no permission too to write or modify the file
also when i try to change the directory to root it gives "Permission Denied"

Please help.

Make install problem(lenovo g580)

You need to be super user to for that command
try "sudo make install"

I also have Lenovo G580 and trying to install the driver on my system. I Failed at the last stage i.e. modprobe saying that alx not found FATAL error.I tested with all the drivers naming compat-wireless-2012-07-03-p.tar.bz2, compat-wireless-2012-07-03-pc.tar.bz2 and the latest release given on the link above. I tried SUDO aslo...
Will you please help me to solve the problem

Hi,
Thank you for posting these valuable steps. I followed all the steps. But still couldnt solve the issue. It doesnt show eth0 in the interface file.
Thank you.

For user of lenovo G580 & Ubuntu 12.10, this is solution for problem with wired network:

http://conquer-ur-computer.blogspot.com/2012/11/lenovo-g580-atheros-ar81...

:)

Lenovo G580 (Atheros AR8132 ethernet) and Ubuntu 12.10:
To get Atheros AR8132 gigabit ethernet in Lenovo G580 laptop, in UBUNTU 12.10; Download the following file

http://www.mediafire.com/file/310t77l4h4zqm70/atheros_AR8132_Lenovo_G580...

Download it and keep it on Desktop...

Now open a terminal and type in the following...
The following applies for both 32-bit and 64-bit users...
cd ~/Desktop
tar -xzvf atheros_AR8132_Lenovo_G580.tar.gz
cd atheros_AR8132_Lenovo_G580
chmod +x ./install.sh
./install.sh

Cheers,
SANJEEV

Thanks Sanjeev, it works.

plz help me to run the internet on Lenovo G480 also

plz help me to run the internet on Lenovo G480 also

Hi Sanjeev I downloaded the package you recommended and ran the installation script. Bu there is an error saying 'gcc not found' and after that 'module alx' not found. I checked the system and I found that gcc as well as build essential is installed. Please help me solve this issue. Thanks in advance

Hi,
Thanks a lot this solved my issue(Ubuntu 12.04),really thankful for the post i did not find the solution for the problem any where and this worked for me,thank you very much brother for the solution.

Thanks and Regards,
Rakesh Sharma D.

Will this work for Lenovo T420.

Waiting for reply , thanks in advance.

friends i've newly brought lenovo g580...and i wish to work with ubuntu 12.10 fully is there any conflict!can any one guide me to install the OS and it's drivers!
Thanks in advance

copied the tar file in the home dir but still in the terminal when i type the cmd to extract the tar file it says file not found.pls help

I am nit able to execute the second command....scripts/driver....it says permission denied....

I installed the correct driver but still it does not work. Wireless connection works fine.

I tried all the steps but did not worked for me. At the execution of last step giving error that "alx Not Found"...
Please help,I tried for both p.tar.gz2 and also for pc.tar.gz2

hello,
i use wi fi and it shows
interface 802.11 WiFi (eth0)

but my connecting light not blinking and even i can,t connect to LAN so anyone please help me

The last line of the code is giving some kind of error to me , please give me solution. Thanx in advance.

Hello, I tried to take compat-wireless-2012-05-09.tar.bz2 but in the last lines it replied
make : Error 2
alx: Fatal Error

We installed Ubuntu 12.04 and the Laptop is a Lenovo G 580

I also tried the method Sandjeev recommended, but works neither.

Thanks for you help!