有线网卡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的目录没有内容,表示不理解为什么要这么做.
posted @ 2012-11-26 14:41  benhuan  阅读(601)  评论(0编辑  收藏  举报