
          DigitalChina DCN-530TX Fast Ethernet Adapter
               Solaris 2/7/8 Driver Installation

This document describes the steps necessary to install the
drivers for the DigitalChina DCN-530TX Fast Ethernet Adapter in
Solaris 2/7/8 on x86 systems. 

  Contents:
  ---------

  (A) Installing/Uninstalling the driver under Solaris 7/8
  (B) Installing/Uninstalling the driver under Solaris 2
  (C) Changing the Media Type in Solaris

(A) Installing/Uninstalling the driver under Solaris 7/8
================================================================

(A.1) Installing the driver

1. If the system is already on, enter su [ENTER]. You will be 
   prompted for the root password. Otherwise, power up the
   system, and enter the root password when prompted.
2. Insert the Driver Disk. We recommend that you use the command
   'volcheck' to mount the Floppy driver by following command:
	
	# volcheck 
	
3. Add the driver packages by entering the following command:

	# cd /floppy/floppy0/solaris/x86
	# ./installer

   Then following the screen instructions to complete the
   installation.
   	
4. Make hostname.afe0 to make Solaris system load the driver
   during system up.
   
    # uname -n > /etc/hostname.afe0
    
   Now the hostname.afe0 file contains the hostname of your
   Solaris system.
   
5. Configure the Hosts File to configure IP address of the
   adapter. Please Refer to Solaris Document for more detail.

(A.2) Uninstalling the driver
================================================================
To remove the software, simply running "pkgrm" command on the
GEDafed package. If you are not already root, it will prompt
you for the system's root password.
	
	# pkgrm GEDafed


(B) Installing/Uninstalling the driver under Solaris 2
================================================================

(B.1) Installing the driver

1. If the system is already on, enter su [ENTER]. You will be 
   prompted for the root password. Otherwise, power up the
   system, and enter the root password when prompted.
2. Insert the Driver Disk. Mount the Floppy drive by following
   command:
	# mount -F pcfs /dev/fd0 /mnt
3. Copy the driver from Floppy Disk to System
        # cd /mnt/SOLARIS/X86/Packages/I386/GEDafed/RELOC/KERNEL
        # cd DRV
        # cp AFE /kernel/drv/afe
4. Change access mode of the driver by following command:
        # cd /kernel/drv
        # chmod 755 afe
5. Add the driver by following command:
        # add_drv -m "* 0666 root root" -i '"pci1113,1216"' afe
6. Copy the configuration file to System.
        # cd /mnt/SOLARIS/X86
        # cp AFE.CONF /kernel/drv/afe.conf
7. Make hostname.afe0 to make Solaris system load the driver
   during system up.
   
    # uname -n > /etc/hostname.afe0
    
   Now the hostname.afe0 file contains the hostname of your
   Solaris system.
8. Configure the Hosts File to configure IP address of the
   adapter. Please Refer to Solaris Document for more detail.

(B.2) UnInstalling the driver

1. Remove Driver
   # cd /kernel/drv
   # rem_drv afe
2. Remove hostname.afe0
   # rm /etc/hostname.afe0


(C) Changing the Media Type in Solaris
================================================================
After installation, you can set Media Type in afe.conf file
under /kernel/drv/ directory. All the supported Media Types are
listed in the file.
 
Defaults:  The default Media Type will always be "AutoSense".

Following is the default setting in the afe.conf file:

AutoSense;                       ###  AutoSense
#speed=10 full-duplex=0;          ###  10BaseT
#speed=10 full-duplex=1;          ###  10BaseT Full-Duplex
#speed=100 full-duplex=0;         ###  100BaseTx
#speed=100 full-duplex=1;         ###  100BaseTx Full-Duplex

For example, if you want to set Media Type to 100BaseTx, modify
the afe.conf like following:

#AutoSense;                       ###  AutoSense
#speed=10 full-duplex=0;          ###  10BaseT
#speed=10 full-duplex=1;          ###  10BaseT Full-Duplex
speed=100 full-duplex=0;         ###  100BaseTx
#speed=100 full-duplex=1;         ###  100BaseTx Full-Duplex
