[quote][size=10pt]<Linux device driver for Realtek Ethernet controllers>
This is the Linux device driver released for RealTek RTL8101E and RTL8102E(L), the Fast Ethernet controller with PCI-Express interface.
<Requirements>
- kernel source tree (supported Linux kernel 2.6.x and 2.4.x)
- For linux kernel 2.4.x, this driver supports linux kernel 2.4.20 and latter.
- compiler/binutils for kernel compilation
<Quick install with proper kernel settings>
Check whether the built-in driver, r8169.ko (or r8169.o for kernel 2.4.x), is installed.
# lsmod | grep r8169
If it is installed, please remove it.
# rmmod r8169
note: If the built-in driver cannot removed by rmmod, please edit /etc/modprobe.conf and comment 'alias eth0 r8169'. Then, remmove it again or reboot your computer.
Unpack the tarball :
# tar vjxf r8101-8.aaa.bb.tar.bz2
Change to the directory:
# cd r8101-8.aaa.bb
If you are running the target kernel, then you should be able to do :
# make clean modules (as root or with sudo)
# make install
# depmod -a
# insmod ./src/r8101.ko (or r8101.o for kernel 2.4.x)
You can check whether the driver is loaded by using following commands.
# lsmod | grep r8101
# 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
,where X=0,1,2,...
[root@localhost ~]# yum install kernel kernel-devel
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os error was
[Errno 4] IOError: <urlopen error (-3, ‘Temporary failure in name resolution’)>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again