From: ejones@desire.wright.edu
Newsgroups: comp.unix.ultrix
Subject: Info on SLIP w/ DECstation and PC through a LAT term server
Date: 28 Jul 92 17:30:15 GMT
Organization: Wright State University

Several days ago I posted this to several newsgroups:


I would like to be able to run SLIP between a pc at home and our DECstation
5000 at school. I need to dial up to a terminal server and connect to our
machine over LAT. I have set up the DECtstation end correctly. (I think) But,
how do I connect to it from the PC? I tired using procomm to dial the modem
and connct to our machine. Then, I exit procomm without hanging up the line.
Then, I run the slip packet driver SLIP8250 and the run CUTCP. But, how
does cutcp know that I am connected to the machine? There must be something
I am missing out on. What would be the best way to accomplish what I am 
looking for? Your help is greatly needed/appreciated.
	
	Ed Jones
	Wright State University
	Dept. of Psychology
	ejones@desire.wright.edu 

-------------------------------------------------------------

The answer to my question was using the -s qualifier to telbin to
set it into server mode so it would know it was already connected
to a slip line. But, there were LOTS of people who sent me mail
wondering how to set this up. Well, I will attempt to remember all
of the steps I took. It really isn't bad.

Equipment:
   DECstation 5000/200
   IBM PC clone 386/40
   2  USRobitics V.32bis modems
   DECserver 200 running LAT
Software
   CUTCP (Clarkson's version of NCSA) for the IBM
   SLIP8250 packet driver for the IBM
   Procomm for the pc to dial the phone
   slattach and sliphosts on the DECstation

Procedure
1. Install CUTCP on PC.
   a. edit config.tel file to be set up for slip (see attached)
2. Install slip driver. This was recommended to me a very helpful
   individual.  :)  SLIP8250 0x60 -h SLIP 3 0x2fd 9600 1500
   this assumes you are using COM2
3. Put an entry into the passwd file on the DECstation with a user
   name that is the name of the PC. You need to put slattach in
   place of the normal shell. Like this:
   SDLPC1:No_Way_Man:17033:79:Pc at My house:/usr/new/slattach
4. Edit the /etc/sliphosts file to contain a field that defines
   the machine you are connecting (the pc) here is mine:
   sdlpc1 sdlpc1.psych.wright.edu sdl 255.255.255.0 any /dev/tty
   Where:  sdlpc1 is the name of the pc and sdl is the DECstation
5. I used procomm to dial the terminal server and connected to my
   machine (the DECstation). At the login prompt type sdlpc1 (for me)
   and then the password. On our system the motd came up and then
   it just sat there waiting for slip stuff to come across the tty.
   Then, exit out of procomm without hanging up the line.
6. Go to your telnet directory and type telbin -h config.tel -s
   This will set you into server mode and make the SLIP connection.
   (If the above steps went well) Then, you can make a connection
   by hitting ALT-A and choosing the name of the machine you want
   to telnet to. 

WARNING: I am VERY new to this so am in no means an expert. There
         others that are. I am just posting my experiences for
         the people with similar setups. There are still other
         things I wan to try like header compression and connecting
         the modem directly to the back of the DECstation instead
         of on the terminal server.

My config.tel for slip:
This assumes SLIP8250 was run as above

---------------------------------------------------------------

#
#  Example host file for Telnet 2.3
#
#  "funny, this configuration file is readable ..."
# 
#  This file is free form
#  Separators are any char <33 and :;=
#
#  The form is keyword=value for each parameter.
#  The first set of parameters refer to the whole program's defaults.
#  These parameter values can be in any order.
#  Following this are the individual machine specs.
#  If the first machine is name "default", then it contains default
#  values for the rest of the machines.
#


#cursortop=6            # option to set the top of the cursor block
#cursorbottom=7         # option to set the bottom of the cursor block
#windowgoaway=yes       # whether windows go away when closed
#autoscroll=no          # whether to autoscroll when at the top of the
			# screen in scrollback
clock=on                # whether the clock is displayed or not

#myname=arrakis.ncsa.uiuc.edu  # used in LPR to notify the LPR server
			       # who is printing

termtype="vt100"               # the type of terminal emulation to perform
			       # currently only vt100 is supported

#keyfile=keymap.key            # path name of your keyboard re-mapping file

#myip=RARP                     # receive my IP number from a RARP server
#myip=BOOTP                    # receive my IP number from a BOOTP server
myip=130.108.137.67
netmask=255.255.255.0          # subnetting mask

hardware=packet                         # network adapter board (packet driver interface)
ioaddr=60                               # ioaddr is the interrupt used by the driver


tek=yes                         # enable tektronix graphics
video=vga                       # type of video screen
				#    Legal values for video are: 
				#    cga,ega,pga,no9,hercules,ega43,vga50

bios=no                         # don't use slow BIOS screen access
				#    bios=yes to reduce flicker on cga
				#    bios=yes for TopView or Windows
ftp=yes                         # do you want ftp enabled?
#passfile="c:\ncsa\pass.fil"     # name of file to find FTP passwords in

rcp=no                          # do you want rcp enabled?
#capfile=c:\ncsa\capfile.out    # default name for capture file
domain="psych.wright.edu"
#hpfile=c:\ncsa\hpfile.out      # file to write HPGL to, 
				#    COM1 can be used for attached plotter
#psfile=ps.out                  # file to write postscript to
#tekfile=tek.out                # file to write Tek codes to
arptime=8                       # arp timeout in seconds
				#    affects machines on your local network
beep=yes                        # notify which session beeped
#services="c:\ncsa\services"    # name of UNIX style services file
#
#  Following are individual machine specifications
#  Gateways are used in order that they appear in the file
#  Nameservers rotate, #1, #2, #3, #1, #2 when a request fails
#
#  The machine named "default" contains the fields which are automatically
#  filled in for later hosts
#
name = default                  # Session name, "default" is a reserved name
				#   Not a real machine, default parameters only
scrollback=400                  # number of lines of scrollback per session
#clearsave=on                   # whether to save cleared line in scrollback

# color codes for a specific session:
#       black, blue, green, cyan, red, magenta, yellow, white
#       BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, YELLOW, WHITE
#
#       NOTE: when the highlighted colors are used for a background color,
#               they produce blinking text.

nfcolor=green                   # vt100 normal foreground color
nbcolor=black                    # vt100 normal background color
bfcolor=red                             # vt100 blink foreground color
bbcolor=cyan                    # vt100 blink background color
rfcolor=red                    # vt100 reverse foreground color
rbcolor=cyan                    # vt100 reverse background color
ufcolor=red                            # vt100 underline foreground color
ubcolor=cyan                    # vt100 underline background color

erase=backspace                 # use delete code or backspace code for <- key?
				#   legal values are "delete" and "backspace"
vtwrap=yes                      # should VT100 be in wrap mode or not?
crmap=4.3BSDCRNUL               # map of the CR key for compatibility
#duplex=half                    # modifier for non-echo mode, forces send
#  The following entries affect the tuning of TCP connections to this host.
#  They should be set by the network administrator who is familiar with
#    the requirements of your specific network.

contime=20                      # timeout in seconds to try connection
				#   before returning error to user
retrans=7                       # starting retransmit time out in ticks
				#   1/18ths of sec
mtu=1024                        # maximum transmit unit in bytes
				#   outgoing packet size, MAX=1024
maxseg=1024                     # largest segment we can receive
				#   whatever the hardware can take, MAX=2048
rwin=2048                       # most bytes we can receive without ACK
				#   =TCP window size, MAX=4096
				#   larger isn't always better
#
#  Below this line, most of the communication parameters are obtained
#   from the "default" host entry.
#  Machine names, IP addresses, and special communication parameters are
#   present when needed.
#
name=desire; hostip=130.108.128.200 nameserver=1
#name=nss; hostip=128.101.101.101 nameserver=2

#
#  The line below should be changed to reflect the gateway your
#  department uses.
#
name=dummy; hostip=130.108.137.1 gateway=1


Don't forget to setup your nameserver and gateway corecctly!
Hope this helps.

		Ed Jones