home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / util / comm / macnet.sit / autoexec.slf < prev    next >
Encoding:
Text File  |  1989-06-23  |  9.0 KB  |  209 lines

  1. #  A U T O E X E C . N E T
  2. #
  3. #  The configuration file for the MacNET program...  this file
  4. #  *MUST* be in the same directory as MacNET SLFP!
  5. #
  6. #  Note: MacNET SLFP ignores all lines beginning with a pound sign (#).
  7. #
  8. #  **********************************************************
  9. #  **** Read USEGUIDE.DOC to help understand this file! *****
  10. #  **********************************************************
  11. #
  12. #    There are many commands which must be provided to NET.EXE 
  13. #    each time it is started to configure the program.  To keep
  14. #    from having to type them by hand each time, we put them in
  15. #    this file, which is read each time NET starts up.  Commands
  16. #    in this configuration file are entered exactly as they would
  17. #    be typed at the keyboard in the program.
  18. #
  19. #    We've tried to give you intelligent default values for each of
  20. #    the commands below.  You need to read completely through this
  21. #    file, changing things as you go.  If you're not sure what to
  22. #    do with a command, try leaving it like it is!  Once you become
  23. #    familiar with the package, you'll no doubt find things to change.
  24. #    Once you're up and running and are all set, you can delete some or
  25. #    all of the comment lines (the ones that start with '#') to save
  26. #    disk space and make the program load faster, if you wish.
  27. #
  28. #-----------------------------------------------
  29. # This entry tells NET.EXE the name of your machine. 
  30. # Note for Merit users: a hostname is only necessary if you intend to
  31. # send and receive mail directly from your Mac, rather than by estab-
  32. # lishing a mail account on a host. This requires leaving your machine 
  33. # on all the time (which forces your Mac to be a dedicated mailbox).
  34. # IP addresses are assigned by Merit more or less randomly when you log 
  35. # on, so the IP address line here is also of no use (and it would be 
  36. # pretty hard to use your PC for mail when its address keeps changing.)
  37. # Therefore, the mail feature has been disabled in this distribution of 
  38. # KA9Q. The ax25 commands are useful only in ham radio applications.
  39. #
  40. hostname Your_Name.cc.umich.edu
  41. #ax25 mycall n0qrm-0
  42. #ip address [yournumber]
  43. #
  44. #-----------------------------------------------
  45. #
  46. # The attach command tells NET.EXE about the interfaces in your computer
  47. # that you will be using for TCP/IP.  These can include the modem or
  48. # printer ports, or an AppleTalk connection.
  49. # The syntax is:
  50. # attach <hw type> <I/O address> <vector> <mode> <label> <bufsize> 
  51. #        <mtu> [<speed>] [<modem dialing command>]
  52. #
  53. # Merit users:
  54. # This attach command is customized for machines using the 
  55. # modem port. To use the printer port, change the "X" to "Y".  The
  56. # speed of 9600 presumes you are using the hard-wired phone-data 
  57. # connections on campus and that your connection is set for 9600 bps. 
  58. # If it is not, change this number to the correct bps.
  59. #
  60. attach asy  1 a slfp sl0 2048 232 9600
  61. #
  62. # See USEGUIDE.DOC for explanation of the attach command and its options.
  63. #
  64. # Merit Users Only:
  65. #  If you think you have everything right but you still cannot get
  66. #  through, you can try calling the folks at Merit.  Their number 
  67. #  is: (313) 764-9430.  Be patient.  They receive a large number 
  68. #  of calls.  Note that they have little knowledge about KA9Q 
  69. #  itself.  The type of problem they're best equipped to handle is
  70. #  determining whether your hard-wired Merit line is functioning properly.
  71. #  If you don't have a hard-wired Merit line, Merit is just not going to
  72. #  be able to help you.
  73. #
  74. #-------------------------------------------------
  75. # This command is customized for Merit:
  76. #
  77. route add default sl0
  78. #
  79. #-------------------------------------------------
  80. #
  81. # Time To Live is the maximum number of hops a packet can take 
  82. # before it is thrown away. This command prevents an inadvertent 
  83. # infinite loop from occuring with packets in the network.
  84. #
  85. ip ttl 50
  86. #
  87. #-------------------------------------------------
  88. #
  89. # The Maximum Segment Size is the largest single transmission that 
  90. # you will send. An mss of 216 corresponds to the mtu of 256 set
  91. # up in the attach command above, overhead bytes considered.
  92. #
  93. tcp mss 192
  94. #
  95. #-------------------------------------------------
  96. #
  97. # The Window parameter establishes the maximum number of bytes 
  98. # that may be outstanding before your system expects an ack.
  99. # If window is twice as big as mss, for example, there will be two
  100. # active packets on the channel at any given time... large values of
  101. # window provide improved throughput on full-duplex links, but are a
  102. # problem on the air.  Keep  mss <= window <= 2*mss if you're on the air.
  103. #
  104. tcp window 1920
  105. #
  106. #------------------------------------------------- 
  107. #
  108. # This entry will open net.log in the :spool directory and will 
  109. # record the server activity of your system.  If you don't want a log,
  110. # comment out this line... if you do, make sure you have a :spool
  111. # directory!
  112. #
  113. #log \spool\net.log
  114. #
  115. #-------------------------------------------------
  116. #
  117. # Each of the servers (services you will provide) must be turned 
  118. # on before they will be active. The following entries turn all 
  119. # of them on. To turn any function off use the command 'stop' after
  120. # NET gets fired up, or just comment out the line here.  If you
  121. # need more information on any of the servers, see USERGUIDE.DOC.
  122. #
  123. #start smtp 
  124. #start ftp
  125. start echo
  126. start discard
  127. start telnet
  128. #
  129. #---------------------------------------------------
  130. # This version contains the following additions/changes:
  131. #
  132. # 1. Ported to MSC 5.0
  133. #       (mainly affects: PC.C, ALLOC.C, DIRUTIL.C, *.ASM)
  134. #    <ONLY APPLIES TO IBM VERSION>
  135. # 2. Driver for Merit/MIT SL/FP (Serial Line/Framing Protocol) (SLFP*.*)
  136. #       (very like SLIP, but with flow control & auto-IP addr assign)
  137. #       (see AUTOEXEC.SLF for example Hard-wired Merit terminal)
  138. # 3. Driver for Interlan's NI5010 card   (IL*.*)
  139. #       (see AUTOEXEC.IL for example)
  140. #    <NOT APPLICABLE TO MACINTOSH VERSION>
  141. # 4. FTP Password Blanking
  142. #       (instead of "pass" <password>, type "pass" <cr> <password>)
  143. #    <NOT YET AVAILABLE IN MACINTOSH VERSION>
  144. # 5. IP TRACE command
  145. #       (gives snapshot of what goes where - currently only for NI5010)
  146. #    <DOES WORK FOR SLFP IN MACINTOSH VERSION>
  147. # 6. Minor change to CMDPARSE.C allowing subcommand option querying
  148. #       (try "attach ?")
  149. #
  150. # Warning to Users: <refers to IBM version>
  151. #
  152. #    I've been using a solid version based on 871225.16 for the past several
  153. #    months.  This isn't it (see umix.cc.umich.edu's pub/net_0404.arc).
  154. #    This version (umix.cc.umich.edu's pub/net_0727.arc) is based on release
  155. #    871225.22 with lots of Turbo-c porting and who knows what else, and
  156. #    then my stuff folded in.  I finished integrating it last night and ran
  157. #    a few "normal use" tests: pings, ftp (text & binary), telnet, dir, !.
  158. #    These didn't give any problems, but you
  159. #    would be wise to keep an older (known-to-work) version in reserve.
  160. #    I will be leaving the country for five weeks starting August 5th,
  161. #    and have any number of things to do between now and then.  I'll
  162. #    probably also be very busy for a couple of weeks after that, so it's
  163. #    likely that I won't be of much help again until early October.  Still,
  164. #    I don't anticipate many problems.
  165. #
  166. #                     Have fun,
  167. #                          Bill Doster (billdo@um.cc.umich.edu)
  168. #
  169. # P.S.-- A considerable thanks also to Howard Chu for identifying a
  170. # bug that was making it impossible to use a termcap when signed on 
  171. # to UNIX systems. If any of you have additional trouble, say, running
  172. # vi, please send them in writing to: Greg Scott, U.M. Computing Center,
  173. # 535 W. William, Ann Arbor MI 48103. Greg will not be able to answer
  174. # any technical questions at all, but can hold mail for those who can. 
  175. #
  176. #
  177. #
  178. #    About the Macintosh version:
  179. #    Not wanting to be left out, Dave Koziol and I added the SLFP routines
  180. #    to the latest version of the Macintosh port of this program.  While
  181. #    this does allow one to use all of the functions provided by the
  182. #    KA9Q package, except for the termcap support mentioned above, the 
  183. #    only practical use for this program is to directly establish an ftp 
  184. #    connection via a line driver/SCP port or dial-up line, without 
  185. #    requiring that the Macintosh be attached to an AppleTalk network 
  186. #    with a Kinetics Fastpath gateway.  The command-line interface is 
  187. #    very un-Macish, and may be uncomfortable for Macintosh users.
  188. #
  189. #  So why don't you make the program more Mac-like?
  190. #    We won't be doing this for two reasons:
  191. #    1) Another person (in California) has assumed responsibility for 
  192. #       maintaining the Macintosh version.  He didn't include the SLFP 
  193. #       support, and it remains to be seen whether he can be convinced 
  194. #       to add it at this point.  If this is not done, then each time 
  195. #       a new version of the code is introduced, we would need to 
  196. #       reincorporate the SLFP support.  Since we aren't getting paid 
  197. #       for this, it's simply not possible.
  198. #    2) Because of the way the program is written, adding support for
  199. #       multiple, scrolling windows would be very difficult. 
  200. #
  201. #  - regards
  202. #  Gordon Good (gordon_good@um.cc.umich.edu)
  203. #
  204. #
  205. # THE END
  206.