*****************************************************************************
*                                                                           *
*                     32-Bit PCI Fast Ethernet Adapter                      *
*                                                                           *
*                     Driver Installation for FreeBSD                       *
*                                                                           *
*****************************************************************************

The newest version FreeBSD drivers' source code can be downloaded from URL
http://www.freebsd.org/~wpaul/RealTek

Files Description:
==================
\2.2\if_rl.c            The source code for FreeBSD v2.2.x.
     if_rlreg.h
\3.0\if_rl.c            The source code for FreeBSD v3.x.
     if_rlreg.h
freebsd.txt             This file.

Installation:
=============
1. Plug 32-Bit PCI Fast Ethernet Adapter into PC's PCI-bus slot.

2. Boot into FreeBSD and login as root user. Insert driver diskette to the
   floppy drive A and mount drive A to /mnt directory.

     mount -t msdos /dev/fd0 /mnt

3. Copy the correct version of if_rl.c and if_rlreg.h for the system to
   the /sys/pci directory.

     cd /sys/pci
     cp /mnt/freebsd/2.2/if_rl.c ./if_rl.c
                    ( or cp /mnt/freebsd/3.0/if_rl.c ./if_rl.c )
     cp /mnt/freebsd/2.2/if_rlreg.h ./if_rlreg.h
                    ( or cp /mnt/freebsd/3.0/if_rlreg.h ./if_rlreg.h )

4. Edit /sys/conf/files and add a line about if_rl.c file.

     cd /sys/conf
     vi files

   Add the following line:
     pci/if_rl.c     optional rl device-driver

5. Edit your kernel config file (e.g. /sys/i386/conf/GENERIC) and add a line
   about device rl0.

     cd /sys/i386/conf
     vi GENERIC

   Add the following line:
     device rl0

6. Config, compile a new kernel and reboot it.

     cd /sys/i386/conf
     config GENERIC

   You will see the following:
     Kernel build directory is ../../compile/GENERIC

   Compile kernel and reboot it.
     cd /sys/compile/GENERIC
     make depend all install
     shutdown -r now

7. When system boots, the driver will be loaded. You can run 'dmesg' to
   see the boot message or run 'ifconfig -a' to see if rl0 is up.

8. Run ifconfig to assign your IP address to the rl0 interface.

     ifconfig rl0 inet 192.72.24.10 netmask 255.255.255.0 alias

   Otherwise, you can use editor vi to modify /etc/rc.conf and config the
   above action. The /etc/rc.conf file is created by /stand/sysinstall
   and will be run at boot time.

      cd /etc
      vi rc.conf

   Add and modify the following lines:

      network_interfaces="rl0 lo0"      # List of network interfaces.
                                        # (lo0 is loopback).
      ifconfig_rl0="inet 192.72.24.10"  # Config your IP.
      defaultrouter="192.72.24.254"     # Set to default gateway (or NO).


----
All trademarks or brand names mentioned are properties
of their respective companies.

