Install Atheros AR8161 Gigabit Ethernet Driver on Ubuntu 12.04LTS

http://www.linuxwind.org/html/install-atheros-ar8161-ethernet-driver-on-ubuntu12-04.html#comments

2013.03.23 Update

++++++++++++++++++++++++++++++++++++++++++

Please don't forget exec this command, If you have update the Linux kernel.

alan@Alan-dell-14R-Turbo:~$ sudo apt-get install linux-backports-modules-cw-3.6-`uname -r`

It will reload the kernel module.

alan@Alan-dell-14R-Turbo:~$ sudo reboot


++++++++++++++++++++++++++++++++++++++++++++++++++++++++


0.Confirm your Gigabit Ethernet verison

root@Alan-dell-14R-Turbo:~# lspci | grep Ethernet
03:00.0 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet (rev 10)

1.Download Driver Package.

sudo su - #input your password

wget http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2012-03-12-p.tar.bz2

2.Uncompress files and exec commands.

apt-get install linux-headers-generic

tar xvf compat-wireless-2012-03-12-p.tar.bz2

cd compat-wireless-2012-03-12-p

./scripts/driver-select alx

make

make install

./scripts/alx-enable atl1c

./scripts/alx-enable alx

modprobe alx

ifconfig # You will see some information like this

root@Alan-dell-14R-Turbo:~# ifconfig
eth1 Link encap:以太网 硬件地址 5c:f9:dd:xx:xx:xx
inet 地址:192.168.1.102 广播:192.168.1.255 掩码:255.255.255.0
inet6 地址: fe80::5ef9:ddff:fe3d:8c91/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:151919 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:86314 错误:0 丢弃:0 过载:0 载波:3
碰撞:0 发送队列长度:1000
接收字节:224592215 (224.5 MB) 发送字节:6266739 (6.2 MB)
中断:16

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 跃点数:1
接收数据包:581 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:581 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:54360 (54.3 KB) 发送字节:5436k0 (54.3 KB)

root@Alan-dell-14R-Turbo:~#ping www.google.com.hk

PING www.l.google.com (74.125.71.105) 56(84) bytes of data.
64 bytes from hx-in-f105.1e100.net (74.125.71.105): icmp_req=1 ttl=52 time=261 ms
64 bytes from hx-in-f105.1e100.net (74.125.71.105): icmp_req=2 ttl=52 time=264 ms

 

Congratulations.It works.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值