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

I have downloaded appropriate build-essential and linux headers files (and all dependencies....I think) from the internet and placed them on my desktop.

I am now trying to install the Atheros AR8161 driver from this package: compat-wireless-2012-11-13-pc Here is the output:

You can see from the code...or it appears to me...that build-essential and linux-headers have been installed properly.

But I am still getting these error messages. Why?

share|improve this question

First of all, I don't see build-essential and its dependencies in your pastebin. Did you install it previously? What is the status?

    sudo dpkg -s build-essential

Second, the driver alx doesn't exist in the file you downloaded. Even if it compiled correctly, no alx driver could be built. I suggest you try this:

I just compiled it on a 3.2.0-xx kernel for alx with no warnings or errors.

share|improve this answer
Yes, that is correct. I neglected to include build-essential. I got so caught up in the dependencies, I forgot what they depended on in the first place. I think I have the build and header files installed correctly now. I was attempting to install the compat-wireless-3.5.4-1-snpc.tar.bz2 file you posted and got these errors at the end: – Paul Nov 18 '12 at 13:02
Wow. Are you running on a USB key or a virtual device or ... ?? I am afraid I am not experienced in GRUB. You may need to start a new question. You should be able to load the alx driver temporarily to test: sudo insmod /home/ubuntu/Desktop/compat-wireless-3.5.4-1-snpc/drivers/net/ethernet/atheros/a‌​lx/alx.ko The ethernet should come to life. Test: ifconfig You should have an eth0 interface. – chili555 Nov 18 '12 at 13:50
I am running on USB key. Maybe that is the problem now. – Paul Nov 18 '12 at 14:02
Sorry I can't help with GRUB. Did the alx driver insmod as expected? – chili555 Nov 18 '12 at 15:07
OK, well, I installed Ubuntu on the hard drive and the compat-wireless module installed beautifully. The computer now recognizes my driver. This is a HUGE step. Thank you very much indeed. – Paul Nov 19 '12 at 7:30

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.