[comp.protocols.tcp-ip] SLIP for Ultrix-32

droms@sol.bucknell.EDU ("Ralph E. Droms") (03/22/89)

Can anyone give me a pointer to SLIP for "Ultrix-32 V3.0 (Rev 64)"?

- Ralph Droms                 Computer Science Department
  droms@sol.bucknell.edu      323 Dana Engineering
  droms@bknlvms.bitnet        Bucknell University
  (717) 524-1145              Lewisburg, PA 17837

avolio@decuac.dec.com (Frederick M. Avolio) (03/23/89)

SLIP comes with ULTRIX-32 v3.0.   It is in the ULXBASE030 subset.

Fred

vixie@decwrl.dec.com (Paul A Vixie) (04/05/89)

[Ralph Droms]
# Can anyone give me a pointer to SLIP for "Ultrix-32 V3.0 (Rev 64)"?

There's one there already.  It has three pieces:

	/usr/sys/BINARY.vax/if_sl.o
	/usr/new/slattach
	/etc/sliphosts

The sliphosts file has enough documentation in it to get you going.

By putting the slattach program in /usr/new, Digital is trying to tell you
that it is not supported.  Keep this in mind if you find the driver less
than robust wrt your system's uptime.

I ported the 4.3bsd SLIP driver to Ultrix 3.0 in about an hour.  Mostly it
took some changes to the way buffers were sent upstream into IP, and in
the way things were allocated (see /usr/include/sys/kmalloc.h for the One
True Way to allocate kernel memory in Ultrix).  I also had to call slattach()
from sys/init_main.c, since the Ultrix if_sl.c allocates its interfaces
dynamically (this means they don't appear in "netstat -i" until you open
them) and they didn't need any boot-time initialization.  The 4.3bsd driver
needs to get called at boot time to allocate its if_softc array and initialize
it.  How to modify init_main.c when you don't have sources is a problem, I
admit :-).

The 4.3bsd SLIP driver, once ported, works perfectly with the Ultrix 3.0
/usr/new/slattach program.  This slattach program is awfully nice, in my
somewhat biased opinion, since it will dial up and run a UUCP-ish chat
script for you when you want to connect.  It lacks something when compared
to CSNET's dial-on-demand implementation, but it's a big win over tip(1)
and ~^Z for just getting the interface going.
--
Paul Vixie
Work:    vixie@decwrl.dec.com    decwrl!vixie    +1 415 853 6600
Play:    paul@vixie.sf.ca.us     vixie!paul      +1 415 864 7013