Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How do I install drivers for the Atheros AR8161 Ethernet controller?
# From:
echo 'Rebuilding drivers for Atheros ar8161 Ethernet Controller...'
echo 'Internet required for this to work'
cd ~
sudo apt-get install build-essential linux-headers-generic linux-headers-`uname -r`
wget -O- | tar -xj
cd compat-wireless-2012-07-03-pc
./scripts/driver-select alx
sudo make install
echo 'Make Completed...'
sudo modprobe alx
echo "
Reloading drivers..."
echo "Removing files: compat-wireless-2012-07-03-pc"
rm -rfv ~/compat-wireless-2012-07-03-pc
# optionally if this doesn't work restart:
# sudo /etc/init.d/networking restart
Copy link

chrisjlee commented Oct 12, 2012

In order to execute this just curl and redirect output to bash (url to raw may change):

curl -o- | bash

Copy link

BorislavSabev commented Jan 9, 2013

This is now in backports (for Ubuntu at the least):
sudo apt-get install linux-backports-modules-cw-3.6-precise-generic
and then:
sudo modprobe alx

This package may also be available in higher versions - >=3.6 so check the repos first.

For Debian you can search for alx in the repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment