================================================================================= = Realtek 8139C/8139C+/8169S/8169SB/8169SC/8168B/8101E Driver for FreeBSD v4.x/5.1 = ================================================================================= This driver is modified by Realtek Semiconductor corp. and it has been tested OK on FreeBSD v5.1, FreeBSD v5.4, and FreeBSD v6.0. To update the driver, you may use method 1. If method 1 failed, you must use method 2 which is more complex. Method 1: 1.Copy if_rl.ko in "modules" directory to "/modules" directory and overwrite the existing file. 2.Modify the file "/boot/defaults/loader.conf" and set "if_rl_load" in "Network drivers" section to "Yes" 3.Reboot. Method 2: Because the FreeBSD kernel has default drivers to support RTL8139C and RTL8169S. To use the RTL8139C+, RTL8169SB, RTL8169SC, RTL8168B, and RTL8101E, you need to update your NIC driver by recompiling your FreeBSD kernel. The main steps you have to do:(FreeBSDSrcDir means the directory of FreeBSD source code and it may be "/usr/src/sys") 0.Replace your NIC with the card listed above. 1.copy if_rl.c and if_rlreg.h to /FreeBSDSrcDir/pci directory 2.recompile your kernel (you must install your FreeBSD source code first !!) # vim /usr/src/sys/i386/conf/GENERIC and delete rl and re # vim /usr/src/sys/module/Makefile and delete rl and re # cd /usr/src/sys/i386/conf # /usr/sbin/config GENERIC # cd ../compile/GENERIC # make depend # make # make install # reboot Question & Answer: Q:How to compile under FreeBSD v4.x ? A:Change the definition of "OS_VER" in if_rlreg.h