home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / ultrix / 5944 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  9.1 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!sdd.hp.com!caen!malgudi.oar.net!uoft02.utoledo.edu!desire.wright.edu!ejones
  2. From: ejones@desire.wright.edu
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Info on SLIP w/ DECstation and PC through a LAT term server
  5. Message-ID: <1992Jul28.123015.3126@desire.wright.edu>
  6. Date: 28 Jul 92 17:30:15 GMT
  7. Organization: Wright State University
  8. Lines: 207
  9.  
  10. Several days ago I posted this to several newsgroups:
  11.  
  12.  
  13. I would like to be able to run SLIP between a pc at home and our DECstation
  14. 5000 at school. I need to dial up to a terminal server and connect to our
  15. machine over LAT. I have set up the DECtstation end correctly. (I think) But,
  16. how do I connect to it from the PC? I tired using procomm to dial the modem
  17. and connct to our machine. Then, I exit procomm without hanging up the line.
  18. Then, I run the slip packet driver SLIP8250 and the run CUTCP. But, how
  19. does cutcp know that I am connected to the machine? There must be something
  20. I am missing out on. What would be the best way to accomplish what I am 
  21. looking for? Your help is greatly needed/appreciated.
  22.     
  23.     Ed Jones
  24.     Wright State University
  25.     Dept. of Psychology
  26.     ejones@desire.wright.edu 
  27.  
  28. -------------------------------------------------------------
  29.  
  30. The answer to my question was using the -s qualifier to telbin to
  31. set it into server mode so it would know it was already connected
  32. to a slip line. But, there were LOTS of people who sent me mail
  33. wondering how to set this up. Well, I will attempt to remember all
  34. of the steps I took. It really isn't bad.
  35.  
  36. Equipment:
  37.    DECstation 5000/200
  38.    IBM PC clone 386/40
  39.    2  USRobitics V.32bis modems
  40.    DECserver 200 running LAT
  41. Software
  42.    CUTCP (Clarkson's version of NCSA) for the IBM
  43.    SLIP8250 packet driver for the IBM
  44.    Procomm for the pc to dial the phone
  45.    slattach and sliphosts on the DECstation
  46.  
  47. Procedure
  48. 1. Install CUTCP on PC.
  49.    a. edit config.tel file to be set up for slip (see attached)
  50. 2. Install slip driver. This was recommended to me a very helpful
  51.    individual.  :)  SLIP8250 0x60 -h SLIP 3 0x2fd 9600 1500
  52.    this assumes you are using COM2
  53. 3. Put an entry into the passwd file on the DECstation with a user
  54.    name that is the name of the PC. You need to put slattach in
  55.    place of the normal shell. Like this:
  56.    SDLPC1:No_Way_Man:17033:79:Pc at My house:/usr/new/slattach
  57. 4. Edit the /etc/sliphosts file to contain a field that defines
  58.    the machine you are connecting (the pc) here is mine:
  59.    sdlpc1 sdlpc1.psych.wright.edu sdl 255.255.255.0 any /dev/tty
  60.    Where:  sdlpc1 is the name of the pc and sdl is the DECstation
  61. 5. I used procomm to dial the terminal server and connected to my
  62.    machine (the DECstation). At the login prompt type sdlpc1 (for me)
  63.    and then the password. On our system the motd came up and then
  64.    it just sat there waiting for slip stuff to come across the tty.
  65.    Then, exit out of procomm without hanging up the line.
  66. 6. Go to your telnet directory and type telbin -h config.tel -s
  67.    This will set you into server mode and make the SLIP connection.
  68.    (If the above steps went well) Then, you can make a connection
  69.    by hitting ALT-A and choosing the name of the machine you want
  70.    to telnet to. 
  71.  
  72. WARNING: I am VERY new to this so am in no means an expert. There
  73.          others that are. I am just posting my experiences for
  74.          the people with similar setups. There are still other
  75.          things I wan to try like header compression and connecting
  76.          the modem directly to the back of the DECstation instead
  77.          of on the terminal server.
  78.  
  79. My config.tel for slip:
  80. This assumes SLIP8250 was run as above
  81.  
  82. ---------------------------------------------------------------
  83.  
  84. #
  85. #  Example host file for Telnet 2.3
  86. #
  87. #  "funny, this configuration file is readable ..."
  88. #  This file is free form
  89. #  Separators are any char <33 and :;=
  90. #
  91. #  The form is keyword=value for each parameter.
  92. #  The first set of parameters refer to the whole program's defaults.
  93. #  These parameter values can be in any order.
  94. #  Following this are the individual machine specs.
  95. #  If the first machine is name "default", then it contains default
  96. #  values for the rest of the machines.
  97. #
  98.  
  99.  
  100. #cursortop=6            # option to set the top of the cursor block
  101. #cursorbottom=7         # option to set the bottom of the cursor block
  102. #windowgoaway=yes       # whether windows go away when closed
  103. #autoscroll=no          # whether to autoscroll when at the top of the
  104.             # screen in scrollback
  105. clock=on                # whether the clock is displayed or not
  106.  
  107. #myname=arrakis.ncsa.uiuc.edu  # used in LPR to notify the LPR server
  108.                    # who is printing
  109.  
  110. termtype="vt100"               # the type of terminal emulation to perform
  111.                    # currently only vt100 is supported
  112.  
  113. #keyfile=keymap.key            # path name of your keyboard re-mapping file
  114.  
  115. #myip=RARP                     # receive my IP number from a RARP server
  116. #myip=BOOTP                    # receive my IP number from a BOOTP server
  117. myip=130.108.137.67
  118. netmask=255.255.255.0          # subnetting mask
  119.  
  120. hardware=packet                         # network adapter board (packet driver interface)
  121. ioaddr=60                               # ioaddr is the interrupt used by the driver
  122.  
  123.  
  124. tek=yes                         # enable tektronix graphics
  125. video=vga                       # type of video screen
  126.                 #    Legal values for video are: 
  127.                 #    cga,ega,pga,no9,hercules,ega43,vga50
  128.  
  129. bios=no                         # don't use slow BIOS screen access
  130.                 #    bios=yes to reduce flicker on cga
  131.                 #    bios=yes for TopView or Windows
  132. ftp=yes                         # do you want ftp enabled?
  133. #passfile="c:\ncsa\pass.fil"     # name of file to find FTP passwords in
  134.  
  135. rcp=no                          # do you want rcp enabled?
  136. #capfile=c:\ncsa\capfile.out    # default name for capture file
  137. domain="psych.wright.edu"
  138. #hpfile=c:\ncsa\hpfile.out      # file to write HPGL to, 
  139.                 #    COM1 can be used for attached plotter
  140. #psfile=ps.out                  # file to write postscript to
  141. #tekfile=tek.out                # file to write Tek codes to
  142. arptime=8                       # arp timeout in seconds
  143.                 #    affects machines on your local network
  144. beep=yes                        # notify which session beeped
  145. #services="c:\ncsa\services"    # name of UNIX style services file
  146. #
  147. #  Following are individual machine specifications
  148. #  Gateways are used in order that they appear in the file
  149. #  Nameservers rotate, #1, #2, #3, #1, #2 when a request fails
  150. #
  151. #  The machine named "default" contains the fields which are automatically
  152. #  filled in for later hosts
  153. #
  154. name = default                  # Session name, "default" is a reserved name
  155.                 #   Not a real machine, default parameters only
  156. scrollback=400                  # number of lines of scrollback per session
  157. #clearsave=on                   # whether to save cleared line in scrollback
  158.  
  159. # color codes for a specific session:
  160. #       black, blue, green, cyan, red, magenta, yellow, white
  161. #       BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, YELLOW, WHITE
  162. #
  163. #       NOTE: when the highlighted colors are used for a background color,
  164. #               they produce blinking text.
  165.  
  166. nfcolor=green                   # vt100 normal foreground color
  167. nbcolor=black                    # vt100 normal background color
  168. bfcolor=red                             # vt100 blink foreground color
  169. bbcolor=cyan                    # vt100 blink background color
  170. rfcolor=red                    # vt100 reverse foreground color
  171. rbcolor=cyan                    # vt100 reverse background color
  172. ufcolor=red                            # vt100 underline foreground color
  173. ubcolor=cyan                    # vt100 underline background color
  174.  
  175. erase=backspace                 # use delete code or backspace code for <- key?
  176.                 #   legal values are "delete" and "backspace"
  177. vtwrap=yes                      # should VT100 be in wrap mode or not?
  178. crmap=4.3BSDCRNUL               # map of the CR key for compatibility
  179. #duplex=half                    # modifier for non-echo mode, forces send
  180. #  The following entries affect the tuning of TCP connections to this host.
  181. #  They should be set by the network administrator who is familiar with
  182. #    the requirements of your specific network.
  183.  
  184. contime=20                      # timeout in seconds to try connection
  185.                 #   before returning error to user
  186. retrans=7                       # starting retransmit time out in ticks
  187.                 #   1/18ths of sec
  188. mtu=1024                        # maximum transmit unit in bytes
  189.                 #   outgoing packet size, MAX=1024
  190. maxseg=1024                     # largest segment we can receive
  191.                 #   whatever the hardware can take, MAX=2048
  192. rwin=2048                       # most bytes we can receive without ACK
  193.                 #   =TCP window size, MAX=4096
  194.                 #   larger isn't always better
  195. #
  196. #  Below this line, most of the communication parameters are obtained
  197. #   from the "default" host entry.
  198. #  Machine names, IP addresses, and special communication parameters are
  199. #   present when needed.
  200. #
  201. name=desire; hostip=130.108.128.200 nameserver=1
  202. #name=nss; hostip=128.101.101.101 nameserver=2
  203.  
  204. #
  205. #  The line below should be changed to reflect the gateway your
  206. #  department uses.
  207. #
  208. name=dummy; hostip=130.108.137.1 gateway=1
  209.  
  210.  
  211. Don't forget to setup your nameserver and gateway corecctly!
  212. Hope this helps.
  213.  
  214.         Ed Jones
  215.  
  216.