Sequent SLIP distribution 1.5

This directory contains everything you will need to install Serial Line IP
into your Sequent Balance/Symmetry System.  The current distribution has been
tested with Dynix release 3.0.4 (with and without NFS).

The entire installation process should take no more than 30 minutes and is
easily backed out.  The following files are included in this distribution 
packager:

	sys/net/if_sl.c		
	sys/net/if_sl.h		
	etc/slattach.c
	etc/Makefile
	man/man8/slattach.8c
	RIACS_Software_Policy


To install SLIP on your system:

	1) copy sys/net/if_sl.[ch] to /usr/sys/net

	2) edit /usr/sys/conf/files.balance and add a line
 	   that looks like:

		"net/if_sl.c		standard sedit src"

	3) edit /usr/sys/conf/conf_tty.c and add the following lines to
	   the bottom of the linesw[] structure:

        	"slopen,         slclose,        nulldev,        nulldev," 
        	"sltioctl,       nulldev,        slinput,        slstart,"

	   then add type definitions for the new routines:

		int	slopen(), slclose(), sltioctl(), slinput(), slstart();

	4) edit /usr/sys/h/ioctl.h and add a line that looks like:

		"#define SLIPDISC 2"

	   *Note: This define should correspond to the correct index in
	          the linesw table for the driver routines.  On most
  		  systems only line disc 0 & 1 are in use (OTTYDISC and
		  NTTYDISC) so SLIPDISC will be 2.

	5) edit the configuration file for your system and add a line like:

		"pseudo-device	sl 1"

	   *Note: You should indicate the number of SLIP lines you intend to
		  use here.  There is no practical limit.

	6) config your system; make and install the new kernel.

	7) make and install slattach.



Once you have SLIP installed into your system it is fairly easy to configure
SLIP on a serial port.  Once you have selected a serial port to use:

	1) /etc/slattach device speed
	2) /etc/ifconfig sl[n] local_address remote_address up

And thats it.  The ifconfig will handle route addition for you so there
is nothing else to do.  If the remote end is also configured then the
link should be up an running. You can use ifconfig and netstat to check 
the status of the link.

Example:

	medusa# /etc/slattach /dev/ttyh0 9600

	medusa# /etc/ifconfig sl0 128.102.80.5 128.102.80.1 up 

	medusa# ifconfig sl0  
	sl0: flags=11<UP,POINTOPOINT>
        	inet 128.102.80.5 --> 128.102.80.1 netmask fffff000 

	medusa# netstat -i -n       
	Name  Mtu   Network     Address      Ipkts   Ierrs Opkts   Oerrs Collis
	sl0   1500  128.102     128.102.80.5 0       0     2       0     0     

	medusa# netstat -r -n
	Routing tables
	Destination     Gateway          Flags    Refcnt Use        Interface
	128.102.80.1    128.102.80.5     UH       0      2          sl0


If you have any problems in installation or operation of SLIP on your system
please feel free to contact me for assistance.  In any case please send
me your e-mail address so I can add you on to the mailing list for the
driver.

--Phil Klimbal
  Research Institute for Advanced Computer Science
  NASA Ames Research Center
  Mail Stop 230-5
  Moffett Field, California 94035
  (415) 694-4911

  klimbal@riacs.edu
  ...!{ames,rutgers,ll-xn}!riacs!klimbal
