centos 對r8169驅動 不是很好web
ELRepo is a RPM repository for Enterprise Linux packages. ELRepo supports Red Hat Enterprise Linux and its derivatives (CentOS, Scientific Linux and others). It is the easiest way to get the r8168 driver for the standard upstream kernels.vim
NOTE: If you are using a special kernel like Virtuozzo, OpenVZ or something similar. You MUST compile the module yourself!centos
To install ELRepo for RHEL5, CentOS-5 or SL5:ide
rpm -Uvh http://elrepo.org/elrepo-release-0.1-1.el5.elrepo.noarch.rpm
Import the public key:spa
rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
To install kmod-r8168 Realtek r8168 driver:orm
yum --enablerepo=elrepo install kmod-r8168
After reboot the new driver is used. It stays active even after kernel upgrades.ci