1)網卡驅動不適配可能致使linux服務器網絡時斷時續linux
2)去官網下載驅動,檢測到本機網卡類型爲Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet,檢測方法參考http://my.oschina.net/u/555061/blog/487239 第23條 shell
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文件ui
5)安裝完畢,重啓網卡spa
[root@localhost ~]# ifconfig eth0 down [root@localhost ~]# ifconfig eth0 up
註明:這裏的eth0是查看網卡配置來的,查看方法參考http://my.oschina.net/u/555061/blog/526020中的DEVICE="eth0",或者使用/sbin/ifconfig查看網卡配置一樣能查到eth0.net