标签:
1)网卡驱动不适配可能导致linux服务器网络时断时续
2)去官网下载驱动,检测到本机网卡类型为Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet,检测方法参考http://my.oschina.net/u/555061/blog/487239
3)到官网下载驱动,一般下载下来就是10k左右
4)查看Read Me文件
<Quick install with proper kernel settings> Unpack the tarball : # tar vjxf r8168-8.aaa.bb.tar.bz2 Change to the directory: # cd r8168-8.aaa.bb If you are running the target kernel, then you should be able to do : # ./autorun.sh (as root or with sudo) You can check whether the driver is loaded by using following commands. # lsmod | grep r8168 # ifconfig -a If there is a device name, ethX, shown on the monitor, the linux driver is loaded. Then, you can use the following command to activate the ethX. # ifconfig ethX up ,where X=0,1,2,...
也就是第一步解压,第二步进入目录,第三步执行autorun.sh,不同驱动情况不同,但都有ReadMe文件
5)安装完毕,重启网卡
[root@localhost ~]# ifconfig eth0 down [root@localhost ~]# ifconfig eth0 up
注明:这里的eth0是查看网卡配置来的,查看方法参考http://my.oschina.net/u/555061/blog/526020中的DEVICE="eth0",或者使用/sbin/ifconfig查看网卡配置同样能查到eth0
标签:
原文地址:http://my.oschina.net/u/555061/blog/526044