Ubuntu – How to get an Atheros AR8162 working

atheros

I upgraded from 12.04 to 12.10, my ethernet network card did not work, I tried to do the same procedure as did the version of ubuntu 4.12, but it didn't work.

Does anyone have a clue how to do it?

lo        Link encap:Loopback Local  
          inet end.: 127.0.0.1  Masc:255.0.0.0
          endereço inet6: ::1/128 Escopo:Máquina
          UP LOOPBACK RUNNING  MTU:16436  Métrica:1
          pacotes RX:684 erros:0 descartados:0 excesso:0 quadro:0
          Pacotes TX:684 erros:0 descartados:0 excesso:0 portadora:0
          colisões:0 txqueuelen:0 
          RX bytes:66739 (66.7 KB) TX bytes:66739 (66.7 KB)

wlan0     Link encap:Ethernet  Endereço de HW e0:06:e6:d0:da:3d  
          inet end.: 192.168.1.100  Bcast:192.168.1.255  Masc:255.255.255.0
          endereço inet6: fe80::e206:e6ff:fed0:da3d/64 Escopo:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Métrica:1
          pacotes RX:2040 erros:0 descartados:0 excesso:0 quadro:0
          Pacotes TX:2352 erros:0 descartados:0 excesso:0 portadora:0
          colisões:0 txqueuelen:1000 
          RX bytes:1149462 (1.1 MB) TX bytes:307333 (307.3 KB)

Best Answer

OK, managed to fix the problem. I downloaded and installed compat-wireless-2012-02-28-p.tar.bz2 from http://linuxwireless.org/download/compat-wireless-2.6/ .

tar -xvf compat-wireless-2012-02-28-p.tar
cd compat-wireless-2012-02-28-p
scripts/driver-select alx
make
sudo make install
sudo modprobe alx

Note: This fix will NOT work with newer versions of compat-wireless-2012-02-28-p.tar.bz2. Alx was removed from newer versions. Use the exact file described here.

Update 2012/09/05: working on Dell Inspiron 14z with same chipset using the tarball compat-wireless-2012-09-01-pc.tar.bz2