有些主板装linux之后网卡没驱动的。就要安装驱动 方法如下:
先用这个命令
kudzu --probe --class=network
查看网卡型号
Atheros Communications AR8131 Gigabit Ethernet 查看出是这个
Atheros 这个公司的网卡芯片.再到这个网站下载
下载之后复制到系统里面,然后
1 解压tar zxf arl1e-x.x.x.x.tar.gz
2.cd arl1e-x.x.x.x/src/
3.make install
4. /lib/modules/2.6.18-238.5.1.el5/kernel/drivers/net/atl1e/atl1e.ko
5 insmod arl1e /lib/modules/2.6.18-238.5.1.el5/kernel/drivers/net/atl1e/atl1e.ko (加载第4步骤里的刚安装的网卡)
重启搞定
进入src,make install 重启搞定
重启之后重启网卡出错,Error: Connection activation failed: Device not managed by NetworkManager
于是在网上找了解决方法:
chkconfig NetworkManager off
chkconfig network on
service NetworkManager stop
service network restart