有线网卡Linux驱动安装小记

一直使用无线网,竟然没发现我的有线网卡Atheros AR8162竟然没有驱动,在此小记: ubuntu 12.04 以及 基于ubuntu的mint 13 maya 都有这个问题 在linux下查看硬件信息(网卡为例其他大同小异) lspci | grep Ethernet dmesg | grep eth sudo lshw -C network lspci -vv | grep Ethernet lspci -nn | grep Ethernet dmidecode 最后这个很好很强大能查看很多硬件信息,甚至包括品牌信息,大家可以查看一下自己电脑是不是原装的哦, 这是原版的man信息 dmidecode is a tool for dumping a computer's DMI (some say SMBIOS) ta‐ ble contents in a human-readable format. This table contains a descrip‐ tion of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe for the actual hardware. While this is a good point in terms of report speed and safeness, this also makes the presented information possibly unreliable. ubuntu的论坛给出了解决办法 http://ubuntuforums.org/showthread.php?t=2050126 sudo apt-get install linux-headers-generic build-essential wget http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.5/compat-wireless-3.5.1-1-snpc.tar.bz2 tar -xf compat-wireless-3.5.1-1-snpc.tar.bz2 cd compat-wireless-3.5.1-1-snpc ./scripts/driver-select alx make sudo make install sudo modprobe alx 因为我的无线网卡正常所以折腾起来还是很方便的,最后我采用的是较新的3.6版本, compat-wireless-3.6.6-1-s.tar.bz2 compat-wireless-3.6.6-1-sn.tar.bz2 compat-wireless-3.6.6-1-snp.tar.bz2 compat-wireless-3.6.6-1-snpc.tar.bz2 compat-wireless-3.6.6-1.tar.bz2 不过很纳闷为什么一定要采用snpc版本,于是下载了后两个diff了一下,原来后者里面只有alx的目录没有内容,表示不理解为什么要这么做.

转载于:https://www.cnblogs.com/benhuan/archive/2012/11/26/3302070.html

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值