Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

scrips/driver-select alx ; works

make ; fails - scripts/Makefile.build:44 ~/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.

[snip]

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
add comment

2 Answers

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 http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2012-09-25-pc.tar.bz2 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
add comment

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
add comment

Your Answer

 
discard

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.