I am having the same trouble as others getting my Atheros AR8131 Ethernet card recognised by Ubuntu 12.10 on my new HP Pavillion P7-1449 PC. I found the same question where the answer suggested the following:
- Download Tarball
compact-wireless-3.6.8-1-snpc
Run
./scripts/driver-select alx make sudo make install
The problem is when I run the make
command I get the following:
make -C /lib/modules/3.5.0-21-generic/build M=/home/chris/Downloads/compat-wireless-3.6.8-1-snpc modules
make: *** /lib/modules/3.5.0-21-generic/build: No such file or directory. Stop.
make: *** [modules] Error 2
Found a link to an alternative patch file (compat-wireless-2012-09-25-pc) but then I get the similar error:
make -C /lib/modules/3.5.0-21-generic/build M=/home/chris/Desktop/compat-wireless-2012-09-25-pc modules
make: *** /lib/modules/3.5.0-21-generic/build: No such file or directory. Stop.
make: *** [modules] Error 2
Any help you could provide would be greatly appreciated.
linux-backports-modules-cw-3.6-quantal-generic
. Compiling from source should be attempted only as a last resort, in my opinion. – gertvdijk Dec 31 '12 at 01:04sudo apt-get install linux-backports-modules-cw-3.6-quantal-generic
3) reboot 4) report back. – gertvdijk Dec 31 '12 at 02:28