How to fix Ubuntu 13.04 alx ethernet driver


Just a couple of days ago, I was trying the latest Ubuntu distribution Raring Ringtail 13.04 on my Asus N56VZ laptop using USB stick. The installation went successfully. However, I cannot, for the life of me, connect or register to any wired network using the built-in AR8161 Gigabit Ethernet adapter despite of manually setting the connection parameters (ip address, subnet mask, default gateway, etc). I tried running ifconfig on the terminal and yes, there is eth0 listed and that means the adapter is detected successfully. But it doesn’t work!

The problem might be due to the incompatibility of the built-in driver in Ubuntu 13.04 release. So I tried recompiling the driver from here and it works perfectly! Here’s the steps to take:

  1. Download compat-drivers source code
  2. Extract the tarball and type the following commands on a terminal:
    cd [path-to-extracted-driver]
    ./scripts/driver-select alx
    sudo make install
  3. Reboot the system.


The alx driver provides support for these chipsets:

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


The driver also supports the following chipsets using atl1c:

  • 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


You can refer to the Linux Foundation website for more information.

You may also like...

  • John

    You, my good man, are an absolute delight.

  • Martin

    Your are brilliant! Thanks a lot!

  • Icky

    I have some problems with this, I’m new on ubuntu, can you give me an example of how to put eh paths on the terminal please?

    • Well, it is simple actually. First, double click the downloaded file, then extract the contents into a folder, e.g. into the Downloads folder. Then, to open up a terminal, press Ctrl+Alt+T. After the terminal is opened, type ‘cd ~/Downloads/compat-drivers-2013-03-04-u’ and press Enter. Continue with the rest of the commands (lines 2-4).

      • Icky

        I did it, no idea of what I’m doing wrong. I’ve got the path from the propieties, so I think is right. What do you think is the problem? thanks ubuntu@ubuntu:~$ cd [/home/ubuntu/Downloads/compat-drivers-2013-03-04-u] bash: cd: [/home/ubuntu/Downloads/compat-drivers-2013-03-04-u]: No such file or directory

        • No, ignore the square bracket. It should be like this: cd ~/Downloads/compat-drivers-2013-03-04-u

          • Icky

            It work, I really appreciate the help thank you. I’ll love my stay with ubuntu.

          • Awesome! You’re welcome. I hope you’ll enjoy working with ubuntu as much as I do 🙂

  • Pingback: ubuntu 13.04 y atheros AR8152 | Linux para las masas()

  • netsky

    Awesome! Thank you for this! Saved me a hard time of search.

  • JoseH_Chicago

    I have a Lenovo G505 after testing out ubuntu 13.04 using the ‘Try It’ option I noticed everything worked ok, keyboard, mouse, network lan/wifi. After installing it permanently the network lan/wifi didn’t work. I was able to fix this issue by re-installing ubuntu 13.04 – from scratch. when I installed it first i chose ‘re-install’ and I guess the drivers became corrupt or something. Ubuntu 13.04 work perfectly on Lenovo G505 laptop with Qualcomm Atheros QCA8172 network driver.

  • Han

    what if just after running the second line terminal says permission denied? =

    • You should be running it as root, otherwise you’ll get the permission error.

  • Mostafa

    how do I uninstall this, it didn’t make make wireless work instead now even cable connection does not work