home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 4.0 PR1 / NeXT_NEXTSTEP_4.0_PR1_(beta).rar / Openstep4-Pr1User.iso / private / etc / uucp / UUAIDS / L.sys.samples < prev    next >
Text File  |  1995-09-02  |  5KB  |  139 lines

  1. #
  2. # Tell my cube that we expect the machine next to poll us, 
  3. # but should not try to call them.
  4. #
  5. next   None None None None
  6. #
  7. # This file contains the majority of the information used to call
  8. # the destination system. It should not be readable to the world, as
  9. # there are logins and passwords stored here
  10. #
  11. # A line beginning with a # is a comment
  12. # If the last character of a line is \
  13. # the next line is considered to be a continuation of the first.
  14. #
  15. # If the time is suffixed with ";N", then N is used as the retry time
  16. # insterad of the default. E.g. Any;1 or Evening;60
  17. #
  18. # If the time is suffixed with "/X", then only files of grade X or
  19. # lower will be sent during this time period.
  20. # Multiple grades may be used in conjunction with the ",". E.g.
  21. #    Any/C,Evening/a,Night
  22. # which send grades C and lower anytime, grades a and lower in the Evening
  23. # and everything at Night
  24. #
  25. # The time may be any of the following:
  26. #    Any        Anytime
  27. #    Evening        When Evening rates are in effect
  28. #    NonPeak        Tymnet/Telenets non-peak rates
  29. #    Night        When Nighttime Phone rates are in effect
  30. #    Wk        Any Week Day
  31. #    Mo        Mondays
  32. #    Tu        Tuesdays
  33. #    We        Wednesdays
  34. #    Th        Thursdays
  35. #    Fr        Fridays
  36. #    Sa        Saturdays
  37. #    Su        Sundays
  38. # These time may be suffixed with a time range nnnn-mmmm in thge 24 hour clock
  39. # E.g. 
  40. #    Evening = Wk1700-0800,Sa,Su
  41. #    NonPeak = Wk1800-0700,Sa,Su
  42. #    Night = Any2300-0800,Sa,Su0800-1700
  43. #    Wk = Mo,Tu,We,Th,Fr
  44. #
  45. # If the expect part of the expect/send sequence is suffixed with a ~number,
  46. # then that number will be used for the timeout instead of the default
  47. # MAXMSGTIME, which is delivered as 45 seconds.
  48. # E.g.   ogin~10-\r-ogin~15-\b-ogin
  49. # will look for ogin for 10 seconds and if it doesn't find it, send a CR
  50. # then look for ogin for 15 seconds and if it doesn't fint it send a break
  51. # then look for ogin for MAXMSTIME seconds then exit
  52. #
  53. #
  54. #    Example L.sys file
  55. #
  56. # The following entry indicates that system 'mcnc' can be called any time,
  57. # and is accessible over a hard-wired tty line (tty01) at 4800 baud.
  58. # The login sequence is:
  59. #    ""        expect nothing (sort of a kludge)
  60. #    ""        send carriage return
  61. #    ogin:--ogin:    look for 'login:', if not received send carriage return
  62. #            and look again.
  63. #    Urti        login as Urti
  64. #    ssword:        look for Password:
  65. #    fatchance    supply the password.
  66. #
  67. mcnc Any DIR 4800 tty01 "" "" ogin:--ogin:--ogin: Urti ssword: fatchance
  68. foobarr Any DIR 9600 cua \
  69.     "" \d\d\d\r\r \
  70.     "" AT \
  71.     "" ATQ0E1S0=1V1 \
  72.     OK AT&M6&H0&I0 \
  73.     OK ATDT12345670000 \
  74.     ATDT \c \
  75.     CONNECT~60 \d\d\r\c \
  76.     "" \r\c \
  77.     ogin:~20 Unext \
  78.     assword:~20 SomePassWord
  79. #
  80. # The following entry shows that the machine 'rti-sel' can be called any time
  81. # via /dev/tty02 at 300 baud.  The send-expect sequence is complex
  82. # because it is operating a Racal-Vadic auto-dialer.  An easier method would
  83. # be to use the code supplied for a Vadic auto-dialer.  See the Notes.L.sys
  84. # and L-devices files.
  85. # This is an unusual use of send-expect, but shows its capabilities.
  86. #    ""        expect nothing
  87. #    \05        send ^E return (activate auto-dialer)
  88. #    *~2-\05-*~2    look for *, wait 2 seconds, if no such reactivate
  89. #            dialer, and look again for 2 seconds
  90. #    d        send 'd' to enter a phone number
  91. #    NUMBER?~3-d...    look for prompt from auto-dialer
  92. #    7654321\r\d    send number, then return, then pause, then return
  93. #    LINE        wait for modem to say 'ON LINE'
  94. #    \r\d\r        send return, pause, then send return again
  95. #    ogin:-\b-...    look for login, if not found send a 'break'
  96. #            look again, if still not found send another 'break'
  97. #            and look one more time before giving up.
  98. #
  99. rti-sel Any ttyh3 300 ttyh3 "" \05 *~2-\05~2-* d NUMBER?~3-d-NUMBER?~3 7654321\r\d LINE \r\d\r ogin:-\b-ogin:-\b-ogin: Urti ssword: fatchance
  100. #
  101. # The next entry is for a normal ACU.  uucp normally handles only a DN11.
  102. # However, the 'condevs.c' routine can be modified to handle any kind
  103. # of auto-dialer desired.  (This is, however, an awful part of uucp.)
  104. # Calls can be placed any day but only between 11pm and 8am.
  105. # The connection is 300 baud.
  106. #
  107. rti-sel Any2300-0800 ACU 300 13057654321 ogin:--ogin: Urti ssword: fatchance
  108. #
  109. # The next entry is for a 4.2BSD TCP-IP connection.
  110. # There must be a #define BSDTCP in uucp.h, and you must install
  111. # a 'uucpd' uucico server daemon in /etc.
  112. # Also, add an entry to /etc/services, such as:
  113. #    uucp        540/tcp        uucpd
  114. # The '540' is the port number chosen for uucpd. 
  115.  
  116. # The fields are: remote uucpname, time-to-call, TCP, portnumber, networkname.
  117. # Sane installations will have identical uucp and networknames. However,
  118. # arpanet machines will probably have to add their domain. Make sure that
  119. # the network name (in this case seismo.CSS.GOV) is the entry returned for
  120. # the sites hostname by gethostbyaddr(). An alias will not (always) work.
  121. # This is mandatory if you are running the domain name server.
  122. #
  123. seismo Any TCP uucp seismo.CSS.GOV ogin: uucplogin ssword: uucppassword
  124. #
  125. # If ncsu cannot be raised by the method above, use the ACU.
  126. # uucico tries each entry for ncsu in turn, until one of them connects.
  127. # Calls on the ACU are only permitted when phone rates are cheap.
  128. # Send grade Z or lower in the evening and if you fail retry as
  129. # fast as 1 minute. send everything else at night.
  130. #
  131. ncsu Evening/Z;1,Night ACU unused 987-6543  ogin:--ogin: Urti  ssword: fatchance
  132. #
  133. # Connect to ihnp4 using PC Pursuit
  134. #
  135. #    chicago is the PCPursuit City name.
  136. #    6907171 is the phone number for ihnp4
  137. #
  138. ihnp4 NonPeak PCP chicago 6907171 "" \d@ ogin:~5-BREAK-ogin:~5-\r-ogin: UULOGIN ssword: PASWORD
  139.