home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / hamradio / nosvw304.zip / NOSGAS.ZIP / AUTOEXEC.NOS < prev    next >
Text File  |  1993-01-17  |  8KB  |  249 lines

  1. # =============                                     NOSview [301]
  2. # /autoexec.nos
  3. # =============
  4.  
  5. #  This is the configuration file for NOS.
  6. #  This file must be at the NOS root.
  7.  
  8. #  There are many commands which NOS needs to configure the
  9. #  program each time it starts.  To save typing them by hand 
  10. #  each time, you can put them in this file.
  11.  
  12. #  AUTOEXEC.NOS is the default name for the configuration file.
  13. #  You can also produce alternative versions with different
  14. #  names.  This is a very convenient way of setting up different
  15. #  scenarios.  To use one of these alternatives, you include
  16. #  its name as the final parameter in the NOS command line.
  17. #    e.g.  nos_20m /autoexec.bob
  18.  
  19. #  Many of the commands below are commented out with the # sign.  
  20. #  As you gain experience with NOS you can then remove the # 
  21. #  signs to try out these commands.
  22.  
  23. #  If NOS hangs when starting up, it could be due to errors in
  24. #  this file.  To help discover what is wrong, you can trace the
  25. #  startup using the -v option in the NOS command line.  
  26.  
  27. # Miscellaneous setup ******************************************
  28. attended         on
  29. escape                          # <ESC> character
  30. isat             yes             # 286/386 clock
  31. multitask        on
  32. log              /dump/session.log
  33. watchdog         off
  34.  
  35. memory ibufsize  256
  36. memory nibufs    1
  37.  
  38. motd  "If I'm not here, please leave a message in the mailbox."
  39.  
  40. # Set up domain defaults ***************************************
  41. domain cache size 30
  42. domain suffix    ampr.org.
  43. domain translate on              # display host names
  44. domain verbose   off             # do not display suffix
  45. # domain addserver ns9dns
  46.  
  47. # Station Identification ***************************************
  48. ip address       ns9bob
  49. hostname         ns9bob
  50. ax25 mycall      NS9BOB-5        # This MUST precede 'attach'
  51.  
  52. # Set up the TNC ***********************************************
  53.   attach asy     0x3f8 4 ax25 tnc0 2048 256 4800       # COM1
  54. # attach asy     0x2f8 3 ax25 tnc0 2048 256 4800       # COM2
  55. # attach asy     0x3e8 4 ax25 tnc0 2048 256 4800       # COM3
  56. # attach asy     0x2e8 3 ax25 tnc0 2048 256 4800       # COM4
  57.  
  58. # trace tnc0     211
  59.  
  60. # Initialise the tnc to KISS mode
  61. dialer tnc0 /scripts/kisson.dia
  62.  
  63. param tnc0       1 20            # TX delay    (x 10mS)
  64. param tnc0       2 63            # Persistence (0-255)
  65. param tnc0       3 10            # Slot Time   (x 10mS)
  66. param tnc0       4 10            # TX tail     (x 10mS)
  67. param tnc0       5 0             # 0=HDX
  68. param tnc0       dtr 1
  69. param tnc0       rts 1
  70.  
  71. # Baycom AX.25 Packet Driver ***********************************
  72. # attach packet    0x60 tnc0 5 512
  73.  
  74. # Set up AX.25 *************************************************
  75. ax25 bc          tnc0 on
  76. ax25 bcinterval  840
  77. ax25 bctext      "NS9BOB-5 TCP/IP 44.199.41.1 [London]"
  78. ax25 digipeat    on
  79. ax25 irtt        2500
  80. ax25 maxframe    2
  81. ax25 paclen      256
  82. ax25 pthresh     128
  83. ax25 retry       10
  84. ax25 t3          65000
  85. ax25 t4          300
  86. ax25 timertype   linear
  87. ax25 version     2
  88. ax25 window      2048
  89.  
  90. mode tnc0        datagram 
  91.  
  92. # Set up the Ethernet interface ********************************
  93. # attach packet 0x61 en0 8 1500
  94. # arp add ns9wrm ether 00:00:C0:11:22:33
  95. # route add ns9wrm en0
  96.  
  97. # Set up the AXIP wormhole *************************************
  98. # attach axip ai0 256 ns9wrm NS9BOB-11
  99.  
  100. # Set up ifconfig **********************************************
  101. ifconfig tnc0     broadcast 44.255.255.255
  102. ifconfig tnc0     netmask 0xFF000000
  103. ifconfig tnc0     description "144.625 MHz port"
  104.  
  105. # Set up TCP/IP defaults ***************************************
  106. ip ttl           10
  107. tcp mss          216
  108. tcp irtt         65000
  109. tcp window       216
  110. tcp timertype    linear
  111.  
  112. # Start network services ***************************************
  113. start            ax25
  114. start            discard
  115. start            echo
  116. start            finger
  117. start            ftp
  118. start            pop2
  119. start            pop3
  120. # start          remote
  121. start            rip
  122. start            smtp
  123. start            telnet
  124. start            ttylink
  125.  
  126. # Configure NET/ROM ********************************************
  127. # start             netrom
  128. # attach            netrom
  129. # netrom call       NS9BOB-6
  130. # netrom user       NS9BOB-7
  131. # netrom alias      #BOB
  132. # netrom interface  tnc0 192
  133. # netrom nodetimer  900
  134. # netrom obsotimer  1200
  135. # netrom verbose    off
  136. # netrom minquality 10
  137. # netrom ttl        15
  138. # netrom acktime    3000
  139. # netrom qlimit     1024
  140. # netrom retries    5
  141. # netrom irtt       5000
  142. # netrom promiscuous off
  143. # netrom timertype  linear
  144. # mode netrom       vc
  145.  
  146. # Broadcast your alias for local nodes - 3 times for luck
  147. # netrom bcnodes    tnc0
  148. # netrom bcnodes    tnc0
  149. # netrom bcnodes    tnc0
  150.  
  151. # Set up NET/ROM filtering *************************************
  152. # netrom nodefilter mode accept
  153. # netrom nodefilter add NR9AAA-2 tnc0
  154. # netrom nodefilter add NS9KEN-6 tnc0
  155.  
  156. # Set up the IP routing table for NET/ROM **********************
  157. # route add       region47/24 netrom ns9tom
  158. # route add       region41/24 netrom ns9ken
  159.  
  160. # Set up the ARP table for NET/ROM *****************************
  161. # arp add         ns9tom netrom NS9TOM-6
  162. # arp add         ns9ken netrom NS9KEN-6
  163.  
  164. # Set up NET/ROM routing ***************************************
  165. # netrom route add NRA NR9AAA tnc0 192 NR9AAA
  166. # netrom route add #TOM NS9TOM-6 tnc0 192 NR9AAA
  167.  
  168. # Set up AX.25 routing *****************************************
  169. ax25 route add  AX9TIM AX9DGA AX9DGB
  170. ax25 route add  NS9PAM-5 AX9DGC
  171.  
  172. # Set up AX.25 modes *******************************************
  173. # ax25 route mode AX9AAA vc
  174.  
  175. # Set up the ARP table *****************************************
  176. arp add         nosland     ax25 QST-0
  177. arp add         ns9pam ax25 NS9PAM-5
  178.  
  179. # Set up IP routing ********************************************
  180. route addprivate default     tnc0
  181. route addprivate nosland     tnc0
  182. route add        ns9liz      tnc0 ns9ken
  183. route add        ns9jim      tnc0 ns9ken
  184. route add        region45/24 tnc0 ns9ken
  185. route add        ns9sue      tnc0 ns9pam
  186.  
  187. # Set up RIP ***************************************************
  188. # rip merge      no
  189. # rip add        nosland 900 6
  190. # rip refuse     ns9bbb
  191. # rip refuse     ns9ccc
  192. # rip request    nosland
  193.  
  194. # Set up RSPF **************************************************
  195. # rspf interface   tnc0 8 32
  196. # rspf rrhtimer    900
  197. # rspf suspecttimer 2000
  198. # rspf timer       900
  199. # rspf message     "RSPF routing in use.  RIP disabled"
  200.  
  201. # Set up the hop check (route tracer) environment **************
  202. hop maxwait        60
  203. hop maxttl         10
  204. hop queries        2
  205.  
  206. # Get every NOS node in range to emit their NET/ROM broadcasts
  207. # to load our tables.  Very heavy on bandwidth!!!
  208. # remote -s        dummy
  209. # remote nosland   kick
  210.  
  211. # Set up the mailbox *******************************************
  212. third-party      on
  213.  
  214. smtp             timer 600
  215. # smtp gateway     ns9sgw
  216. smtp usemx       on
  217. smtp mode        route
  218. smtp kick
  219.  
  220. mbox attend      on
  221. mbox motd  "Please use  sp ns9bob  to leave a message for NS9BOB"
  222. mbox expert      off
  223. mbox qth         "[London]"
  224. mbox utc         0
  225. # mbox zipcode     "123456"
  226. mbox nrid        on
  227. # mbox fwdinfo     "HNLNET_BBS"
  228. mbox haddress    "BB7BBS.#41.GBR.EU"
  229. mbox password    "Maximum 30-character password."
  230. mbox kick
  231.  
  232. # Wake up POP to start shipping any outstanding mail ***********
  233. # popmail addserver ns9ken pop3 ns9bob bob bobspasswd
  234. # popmail addserver ns9liz 900 00:00-03:00 pop3 ns9bob ns9bob bobspasswd
  235. # popmail trace 3
  236. # popmail quiet no
  237. # popmail kick ns9liz
  238.  
  239. # Set up FTP defaults ******************************************
  240. ftype            binary
  241. eol              standard
  242.  
  243. # Set up function keys *****************************************
  244. source           /scripts/fkeys.scr
  245.  
  246. cd /dump/record
  247.  
  248. # THE END
  249.