Saturday, 4 August 2012

Installing Driver for Ethernet Atheros Commuications AR8162

After I installed ubuntu I noticed a few major problems. The first is that I do not have any internet connection, neither ethernet nor wifi. So I needed to find out how to fix that.
First, I found out what controllers are installed using the lspci command.
The output (last two lines) gave me the following:
Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
Ethernet controller: Atheros Communications Inc. AR8162 Fast Ethernet (rev 10)

After googling around, I found out that the driver for the ethernet is not installed on my system, so I need to do that manually. As I did not have an internet connection, I downloaded the driver from this website. According to the forum post above, I need to use the following file:
compat-wireless-2012-02-28-p.tar.bz2
I saved it onto a flash drive and copied it onto the Desktop. Then I ran the following commands:
cd ~/Desktop
tar -xvf compat-wireless-2012-02-28-p.tar.bz2
cd compat-wireless-2012-02-28-p
scripts/driver-select alx
make
sudo make install
I got a lot of output, some referencing to the grub bootloader and Windows 7, so I rebooted into Windows 7 to check everything was still ok, which it was. I then booted back into ubuntu, and voila, the ethernet connection was working.

I then ran an update of Ubuntu using
sudo apt-get update

4 comments:

  1. Thanks a lot for your post! After following your steps my ethernet was working. Great! :)

    ReplyDelete
  2. tar: compat-wireless-2012-02-28-p.tar.bz2: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    i'dont know this, error??

    ReplyDelete
    Replies
    1. Mas jumadi. kalau gak bisa ya di ekstrak secara manual aj baru di install

      Delete
  3. You first have to download the file via the link above.

    ReplyDelete