哈哈,搞定了,开心
*************************************************************************************
0.查看网卡类型
lspci | grep Ethernet
1.下载驱动
sudo su - #input your password
wget http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2012-03-12-p.tar.bz2
2.解压和安装
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
这样就OK了,也可以自己看看readme,里面也会告诉你怎么安装~~
*******************************************************************************
新的版本可能会出现如下的error:
make ; fails - scripts/Makefile.build:44~/sourcecode/compat-wireless-2012-09-25.2/drivers/net/ethernet/atheros/alx/Makefile:No such file or directory make[4]: ** No rule to make target'~/sourcecode/compat-wireless-2012-09-25.2/drivers/net/ethernet/atheros/alx/Makefile'.Stop. [snip] make: * [modules] Error 2 |
可以找一个旧的版本,将alx文件夹拷贝进去就可以了~~~
其实就安装这个老版本才是王道