home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / exam / net / autoexec.net next >
Text File  |  1987-12-27  |  8KB  |  207 lines

  1. #  A U T O E X E C . N E T
  2. #
  3. #  The configuration file for the NET.EXE program...  this file
  4. #  *MUST* be in the root directory ( \ ) of your current disk when
  5. #  NET.EXE is run!
  6. #
  7. #  Note: NET.EXE ignores all lines beginning with a pound sign (#).
  8. #
  9. #  **********************************************************
  10. #  **** Read USEGUIDE.DOC to help understand this file! *****
  11. #  **********************************************************
  12. #
  13. #    There are many commands which must be provided to NET.EXE 
  14. #    each time it is started to configure the program.  To keep
  15. #    from having to type them by hand each time, we put them in
  16. #    this file, which is read each time NET starts up.  Commands
  17. #    in this configuration file are entered exactly as they would
  18. #    be typed at the keyboard in the program.
  19. #
  20. #    We've tried to give you intelligent default values for each of
  21. #    the commands below.  You need to read completely through this
  22. #    file, changing things as you go.  If you're not sure what to
  23. #    do with a command, try leaving it like it is!  Once you become
  24. #    familiar with the package, you'll no doubt find things to change.
  25. #    Once you're up and running and are all set, you can delete some or
  26. #    all of the comment lines (the ones that start with '#') to save
  27. #    disk space and make the program load faster, if you wish.
  28. #
  29. #-----------------------------------------------
  30. # This entry tells NET.EXE the name of your machine. The suffix 
  31. # 'ampr' is not officially confirmed *yet*, but for now we'll use
  32. # it to identify this station as an "AMateur Packet Radio" station.
  33. # Your hostname will show up in mail headers, etc.
  34. #
  35. hostname n0qrm.ampr 
  36. #
  37. #-----------------------------------------------
  38. #
  39. # The next line does the same thing that "MYCALL" did in your AX.25 
  40. # TNC... it identifies the callsign you're using on the air in AX.25
  41. # packets.
  42. #
  43. ax25 mycall n0qrm-0
  44. #
  45. #-----------------------------------------------
  46. #
  47. # This one contains your IP address.  If you have not as yet 
  48. # obtained an IP address you may temporarily use the one shown
  49. # but insert a random number (between 1 and 255) in lieu of
  50. # the '*'.  Try to insure that no one else in your area is using
  51. # the same number as you are!  Brackets are required.
  52. #
  53. ip address [44.128.0.*]
  54. #
  55. #------------------------------------------------
  56. #
  57. # The attach command tells NET.EXE about the interfaces in your computer
  58. # that you will be using for TCP/IP.  These can include normal IBM-type
  59. # serial "comm ports", Ethernet controllers, or dedicated packet cards.
  60. # The syntax is:
  61. # attach <hw type> <I/O address> <vector> <mode> <label> <bufsize> 
  62. #        <mtu> [<speed>]
  63. #
  64. # See USEGUIDE.DOC for explanation of the attach command and its options.
  65. #
  66. # This entry sets you up on COM1 as a 4800 baud KISS connection 
  67. # for use with KISS TNC's.  This is a reasonable place to start...
  68. #
  69. attach asy 0x3f8 4 ax25 ax0 2048 256 4800
  70. #
  71. # ...and here are some other possible attach commands you may find useful
  72. # as given, or just as examples of what you can do... see USEGUIDE.DOC for
  73. # more examples.
  74. #
  75. # COM2: set up as a 1200 baud KISS connection
  76. #
  77. #attach asy 0x2f8 3 ax25 ax1 2048 256 1200
  78. #
  79. # COM1: set up as a 9600 baud slip link to another computer
  80. #
  81. #attach asy 0x3f8 4 slip sl0 8092 576 9600
  82. #
  83. #-------------------------------------------------
  84. #
  85. # The KISS computer-to-tnc protocol includes a "command packet" that
  86. # you can use to twiddle TNC parameters like TXDELAY, TXTAIL, PERSIST,
  87. # and SLOTTIME.  Since most KISS implementations include good default
  88. # values, you shouldn't have to use this feature, but if things don't
  89. # work, you can use the "param" command to try tweaking the TNC.  If
  90. # you think you need to do this, read the KISS protocol documentation,
  91. # and/or talk to a friend who's an expert, *before* you go dorking with
  92. # your TNC settings!  All TNC's were not created equal, so you *MUST* read
  93. # the docs for the KISS implementation for your TNC as well.
  94. #
  95. # WHEW!  Good thing you probably don't have to do this, right?
  96. #
  97. # As an example, N3EUA's TNC-1 with a gross old crystal
  98. # rig likes longer TXDELAY and TXTAIL values than the defaults:
  99. #
  100. #          param ax0 1 20
  101. #          param ax0 4 10
  102. #
  103. # The format is:  param <label> <hex value> <hex value> <hex value> ...
  104. #
  105. #-------------------------------------------------
  106. #
  107. # The following entry tells the program to route all packets out 
  108. # the interface labeled ax0 in the attach command.  Notice that if you
  109. # are using the attach line from above for COM2, the label is 'ax1'
  110. # instead.  
  111. #
  112. route add default ax0
  113. #
  114. #-------------------------------------------------
  115. #
  116. # Time To Live is the maximum number of hops a packet can take 
  117. # before it is thrown away. This command prevents an inadvertent 
  118. # infinite loop from occuring with packets in the network.
  119. #
  120. ip ttl 16
  121. #
  122. #-------------------------------------------------
  123. #
  124. # The Maximum Segment Size is the largest single transmission that 
  125. # you will send. An mss of 216 corresponds to the mtu of 256 set
  126. # up in the attach command above, overhead bytes considered.
  127. #
  128. tcp mss 216
  129. #
  130. #-------------------------------------------------
  131. #
  132. # The Window parameter establishes the maximum number of bytes 
  133. # that may be outstanding before your system expects an ack.
  134. # If window is twice as big as mss, for example, there will be two
  135. # active packets on the channel at any given time... large values of
  136. # window provide improved throughput on full-duplex links, but are a
  137. # problem on the air.  Keep  mss <= window <= 2*mss if you're on the air.
  138. #
  139. tcp window 432
  140. #
  141. #------------------------------------------------- 
  142. #
  143. # This entry will open net.log in the \spool directory and will 
  144. # record the server activity of your system.  If you don't want a log,
  145. # comment out this line... if you do, make sure you have a \spool
  146. # directory!
  147. #
  148. log \spool\net.log
  149. #
  150. #-------------------------------------------------
  151. #
  152. # Each of the servers (services you will provide) must be turned 
  153. # on before they will be active. The following entries turn all 
  154. # of them on. To turn any function off use the command 'stop' after
  155. # NET gets fired up, or just comment out the line here.
  156. #
  157. start smtp
  158. start ftp
  159. start echo
  160. start discard
  161. start telnet
  162. #
  163. #-------------------------------------------------- 
  164. #
  165. # AX.25 Configuration 
  166. #
  167. # The values in the following entries reflect default values.
  168. # These values come into play when you are operating in the 
  169. # AX.25 mode, along with your ax25 mycall entry above. 
  170. #                                                                    
  171. # If you want to operate as a digipeater (for those poor souls
  172. # not operating TCP/IP!), change 'off' to 'on'.
  173. #
  174. ax25 digipeat off
  175. #
  176. #---------------------------------------------------
  177. #
  178. # Maxframe sets the max number of frames allowed to remain 
  179. # unacknowledged. Cannot be greater than 7.  1 is a good number!
  180. #
  181. ax25 maxframe 1
  182. #
  183. #---------------------------------------------------
  184. #
  185. # Paclen limits the size of I=fields. 
  186. #
  187. ax25 paclen 256
  188. #
  189. #---------------------------------------------------
  190. #
  191. # Retry limits the number of unsuccessful retransmissions.
  192. #
  193. ax25 retry 20
  194. #
  195. #---------------------------------------------------
  196. #
  197. # ax25 window sets the number of bytes that can be pending on an 
  198. # AX.25 receive queue.
  199. #
  200. ax25 window 2048
  201. #
  202. #---------------------------------------------------
  203. # THE END
  204.