Ubuntu – How to get an Atheros AR8131 ethernet card working

11.10atherosdriversethernet

I have an Atheros AR8131 Ethernet card on a Lenovo b560 laptop. Sometime in the past, probably at some upgrade or other my wired connection stopped functioning. I know the card is ok because it works with windows.

I tried upgrading to Ubuntu 11.10 hoping the problem would go away. It didn't…

Tried to google the problem, but all of the solutions I found didn't work for me.

This is probably a driver problem.

Any help will be appreciated. Please note that I'm a linux newbie so I don't really know what logs to post…

Niv

Best Answer

I was having occasional drop-out issues with my Atheros AR8131 ethernet and found that an updated alx kernel driver was released by Qualcomm and works perfectly.

Note: This alx driver will not be included in the kernel however the code will eventually find its way into the current atl1c kernel driver.

alx Ethernet Driver

  • Remove current atl1c module and blacklist it:

    rmmod atl1c

    Add the line blacklist atl1c to /etc/modprobe.d/blacklist

  • Download the driver tarball and extract it.

  • Install by executing these commands in the extracted driver directory:

    ./scripts/driver-select alx
    make
    sudo make install
    
  • Verify module installed with:

    lspci -v

    Kernel driver in use: alx
    Kernel modules: alx
    
Related Question