segunda-feira, 27 de janeiro de 2014

Placa de Rede Lenovo G400S

Just a couple of days ago, I was trying the latest Ubuntu distribution Raring Ringtail 13.04 on my Asus N56VZ laptop using USB stick. The installation went successfully. However, I cannot, for the life of me, connect or register to any wired network using the built-in AR8161 Gigabit Ethernet adapter despite of manually setting the connection parameters (ip address, subnet mask, default gateway, etc). I tried running ifconfig on the terminal and yes, there is eth0 listed and that means the adapter is detected successfully. But it doesn’t work!
The problem might be due to the incompatibility of the built-in driver in Ubuntu 13.04 release. So I tried recompiling the driver from hereand it works perfectly! Here’s the steps to take:
  1. Download compat-drivers source codehttps://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/04/compat-drivers-2013-03-04-u.tar.bz2
  2. Extract the tarball and type the following commands on a terminal:
    1
    2
    3
    4
    cd [path-to-extracted-driver]
    ./scripts/driver-select alx
    make
    sudo make install
  3. Reboot the system.

The alx driver provides support for these chipsets:
  • 1969:1091 – AR8161 Gigabit Ethernet
  • 1969:1090 – AR8162 Fast Ethernet
  • 1969:10A1 – QCA8171 Gigabit Ethernet
  • 1969:10A0 – QCA8172 Fast Ethernet

The driver also supports the following chipsets using atl1c:
  • 1969:1063 – AR8131 Gigabit Ethernet
  • 1969:1062 – AR8132 Fast Ethernet
  • 1969:2062 – AR8152 v2.0 Fast Ethernet
  • 1969:2060 – AR8152 v1.1 Fast Ethernet
  • 1969:1073 – AR8151 v1.0 Gigabit Ethernet
  • 1969:1083 – AR8151 v2.0 Gigabit Ethernet

You can refer to the Linux Foundation website for more information.
------------------------------------
# cd /usr/src/kernels/2.6.32-431.el6.i686/include/drm/  
# ln -s /usr/include/drm/drm.h drm.h  
# ln -s /usr/include/drm/drm_sarea.h drm_sarea.h  
# ln -s /usr/include/drm/drm_mode.h drm_mode.h  
# ln -s /usr/include/drm/drm_fourcc.h drm_fourcc.h


Nenhum comentário:

Postar um comentário