当前位置: > Ubuntu >

ubuntu12.04 获不了IP上不了网,网卡不识别解决

时间:2015-10-12 21:52来源:linux.it.net.cn 作者:IT

How to fix Ubuntu 13.04 alx ethernet driver

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 here  and 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:

  3.  
    1
    2
    3
    4
    cd [path-to-extracted-driver]
    ./scripts/driver-select alx
    make
    sudo make install

     4.  Reboot the system.

网上找了半天,终于还是按照上面的解决了。

 
(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容