Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to compile the compat-wireless-2012-09-25 driver module, without success.

scrips/driver-select alx ; works

make ; fails - scripts/ ~/sourcecode/compat-wireless-2012-09-25.2/drivers/net/ethernet/atheros/alx/Makefile: No such file or directory

make[4]: ** No rule to make target '~/sourcecode/compat-wireless-2012-09-25.2/drivers/net/ethernet/atheros/alx/Makefile'. Stop.


make: * [modules] Error 2

Device is Atheros AR8161 wired ethernet in a Dell Vostro 3460.

I'd be very grateful for assistance in getting this to compile.

share|improve this question
up vote 0 down vote accepted

The alx drivers are a "patch" in compat-wireless instead of being in the main tree. This means that you need to download a compat-wireless archive with the -pc suffix to be able to build them.

Try and it should work.

share|improve this answer
Thank you izx. Simple when you know how. – Paul Carter Sep 28 '12 at 14:24
Paul: since the answer worked, please consider accepting it (check/tick mark on the left) so that it's marked as closed. Thanks :) – izx Sep 28 '12 at 19:33

Note that the alx driver is available packaged now, so you may not need to install it from source. This will save you having to reinstall it each time the kernel version gets bumped.

try: apt-cache search linux-backports-modules

and then depending on your ubuntu version:

sudo apt-get install linux-backports-modules-cw-3.6-quantal-generic
sudo modprobe alx

See: How do I install drivers for the Atheros AR8161 Ethernet controller?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.