home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / network / wnos4doc.zip / SETUP.EXE / AUTOEXEC.NOS < prev    next >
Text File  |  1992-05-23  |  9KB  |  388 lines

  1. # AUTOEXEC.NOS - WNOS Configuration and startup File
  2. #
  3. # Note that my WNOS 'root' is C:\TCPIP and so configuration files
  4. # are found and sourced from that directory. Things may be different
  5. # in your setup!
  6. #
  7. #----------------------------------------------------------------------
  8. # General Setup Details
  9. #----------------------------------------------------------------------
  10. #
  11. # Screen is Mono so display Status Line accordingly
  12. #
  13. attribute mono
  14. #
  15. # Reboot the machine if free memory drops below 4k
  16. #
  17. mem thresh 8000
  18. mem reboot on
  19. #
  20. # Set interrupt buffer sizes (5 buffers each of 2k)
  21. #
  22. mem ibufs 2048
  23. mem nibuf 5
  24. #
  25. # Set the suffix to be added to hostnames for domain searches
  26. #
  27. domain suffix ampr.org.
  28. #
  29. # Set the local hostname
  30. #
  31. hostname g6dhu.ampr.org
  32. #
  33. # Set MYCALL (used by Mailbox and NET/ROM node)
  34. #
  35. ax25 mycall g6dhu-5
  36. #
  37. # Set the IP address of this machine
  38. #
  39. ip address 44.131.20.3
  40. #
  41. #----------------------------------------------------------------------
  42. # Attach Hardware Ports 
  43. #----------------------------------------------------------------------
  44. #
  45. # Attach TNC running KISS on COM2: Serial port speed is 9600bps
  46. # This is to a 2m radio and the interface is called "144".
  47. #
  48. attach asy 0x2f8 3 ax25 144 2048 236 9600
  49. #
  50. # Attach SLIP link running 9600bps (to sys2.g6dhu) on COM1:
  51. # The interface is called "sl0".
  52. #
  53. #attach asy 0x3f8 4 slip sl0 2048 236 9600
  54. #
  55. # Attach Packet driver looking at interrupt 62 (for G8BPQ TheNode)
  56. #
  57. #attach packet 62 slip 5 236
  58. #
  59. # Attach Packet driver looking at interrupt 61 (for G8BPQ TheNode)
  60. #
  61. #attach packet 61 144 5 236
  62. #
  63. # Tell TNC running NORD><LINK The Firmware to switch into KISS mode 
  64. #
  65. # Send it CR CR ESC @ K  CR CR
  66. #
  67. #param 144 13 13 27 64 75 13 13
  68. #
  69. # Set TNC2-clone into KISS Mode (Tiny-2, PK232 etc)
  70. #
  71. # Send     CR CR K  I  S  S     O  N  CR 
  72. param 144 13 13 75 73 83 83 32 79 78 13
  73. #
  74. # Send    CR CR R  E  S  T  A  R  T  CR 
  75. param 144 13 13 82 69 83 84 65 82 84 13
  76. #
  77. # Attach DRSI card driven by the SCC controller. The 1200baud port 
  78. # is called '650'
  79. #
  80. #attach scc 1 init 300 16 2 0 1 0 7 p4915200 8
  81. #attach scc 0 ax25 650 236 d1200 128
  82. #attach scc 1 ax25 9600 236 d9600 128
  83. #
  84. # Set up the various DRSI card parameters. 
  85. #
  86. #param 650 1 18
  87. #param 650 2 40
  88. #param 650 3 3
  89. #param 650 4 2
  90. #param 650 5 0
  91. #param 650 6 1
  92. #param 650 7 9
  93. #param 650 8 7
  94. #param 650 9 3
  95. #param 650 10 120
  96. #
  97. #------------------ End of attach section -----------------------
  98. #
  99. # Set Broadcast Address for direct channel
  100. #
  101. ifconfig 144 broadcast 44.255.255.255
  102. #
  103. #----------------------------------------------------------------------
  104. # TCP, IP and ICMP Parameters
  105. #----------------------------------------------------------------------
  106. #
  107. # Maximum Segment size is 512 bytes 
  108. #
  109. tcp mss 512
  110. #
  111. # Window is 1024 bytes (send up to this value before waiting for an ACK)
  112. #
  113. tcp window 1024
  114. #
  115. # Initial Round Trip Time for new connections is 30 seconds
  116. #
  117. tcp irtt 30000
  118. #
  119. # Accept Telnet WILL ECHO
  120. #
  121. echo accept
  122. #
  123. # IP Time To Live is 25 hops
  124. #
  125. ip ttl 25
  126. #
  127. # Respond to ICMP Echo Requests (pings)
  128. #
  129. icmp echo on
  130. #
  131. #----------------------------------------------------------------------
  132. # Startup servers
  133. #----------------------------------------------------------------------
  134. #
  135. start ftp
  136. start ax25
  137. start telnet
  138. start smtp
  139. start finger
  140. start echo
  141. start ttylink
  142. start netrom
  143. start discard
  144. start remote
  145. start convers
  146. start xconvers
  147. start nntp
  148. #
  149. #----------------------------------------------------------------------
  150. # SMTP Parameters
  151. #----------------------------------------------------------------------
  152. #
  153. # Kick out e-mail every 40 or so minutes
  154. #
  155. smtp timer 2500
  156. #
  157. # I am my own gateway (I need to be for BBS mail forwarding purposes)
  158. #
  159. smtp gateway g6dhu.ampr.org
  160. #
  161. # We want to route mail to destinations, not queue it
  162. #
  163. smtp mode route
  164. #
  165. # Only print a message on the console as new mail arrives
  166. #
  167. smtp quiet 1
  168. #
  169. # Always try delivering mail in compressed mode
  170. #
  171. smtp lzw yes
  172. #
  173. #----------------------------------------------------------------------
  174. # AX.25 Parameters
  175. #----------------------------------------------------------------------
  176. #
  177. # Set Auto-routing as the default
  178. #
  179. ax25 digipeat 144 2
  180. #
  181. # Broadcast ID message every quarter of an hour (UK Regs)
  182. #
  183. ax25 bcinterval 900
  184. ax25 bctext "Bath, Avon - TCP/IP Mailbox and Node"
  185. #
  186. # Initial MAXFRAME to use is 7 frames
  187. #
  188. ax25 maxframe 144 7
  189. #
  190. # PACLEN is 256 bytes
  191. #
  192. ax25 paclen 144 256
  193. #
  194. # Retry for 10 times
  195. #
  196. ax25 retry 144 10
  197. #
  198. # Accept 2048 bytes before sending RNR's
  199. #
  200. ax25 window 144 2048
  201. #
  202. # Poll Threshold is 128 bytes
  203. #
  204. ax25 pthresh 144 128
  205. #
  206. # Link Inactivity Timer is 15 minutes
  207. #
  208. ax25 t3 144 900
  209. #
  210. # Link Busy Timer is 200 seconds
  211. #
  212. ax25 t4 144 200
  213. #
  214. # The default channel is the 2m one
  215. #
  216. ax25 route add 144 default
  217. #
  218. #----------------------------------------------------------------------
  219. # Log file location
  220. #----------------------------------------------------------------------
  221. #
  222. log c:/tcpip/net.log
  223. #
  224. #----------------------------------------------------------------------
  225. # NET/ROM Configuration
  226. #----------------------------------------------------------------------
  227. #
  228. attach netrom
  229. netrom user G6DHU
  230. #
  231. # Set our NET/ROM alias
  232. #
  233. netrom interface 144 ip1403 192
  234. #
  235. # Age routes every hour and send a NODES broadcast at the same interval
  236. #
  237. netrom nodetimer 3600
  238. netrom obsotimer 3600
  239. #
  240. # Only broadcast my own route and nobody else's
  241. #
  242. netrom verbose no
  243. #
  244. # Time To Live is 25 hops
  245. #
  246. netrom ttl 25
  247. #
  248. # Accept upto 1024 bytes before Choking the L4 connection
  249. #
  250. netrom qlimit 1024
  251. #
  252. # Any node with a route quality of 1 or greater gets put in the table
  253. #
  254. netrom minq 1
  255. #
  256. # Retry a Level 4 Info frame three times
  257. #
  258. netrom retries 3
  259. #
  260. # Initial Round Trip Time on NET/ROM Level 4 is 120secs
  261. #
  262. netrom irtt 120
  263. #
  264. #----------------------------------------------------------------------
  265. # Load other configuration files (see UK Distribution Pack)
  266. #----------------------------------------------------------------------
  267. #
  268. # NET/ROM Nodefilter Table 
  269. #
  270. source /tcpip/nodes.fil
  271. #
  272. # NET/ROM Routing
  273. #
  274. source /tcpip/nodes.inf
  275. #
  276. # ARP Statements
  277. #
  278. source /tcpip/nodes.arp
  279. #
  280. # AX25 Routing Table
  281. #
  282. source /tcpip/nodes.axr
  283. #
  284. # IP Routing Table
  285. #
  286. source /tcpip/nodes.rou
  287. #
  288. # Mode Table
  289. #
  290. source /tcpip/nodes.mod
  291. #
  292. #----------------------------------------------------------------------
  293. # Mailbox sign-on texts
  294. #----------------------------------------------------------------------
  295. #
  296. # General Message Of The Day
  297. #
  298. motd "Hello from G6DHU's TCP/IP System in Bath (Send Control-X to Escape)"
  299. #
  300. # Mailbox Message Of The Day
  301. #
  302. mbox motd "Type C to Chat, ? for Command List, and 'S mike' to mail me"
  303. #
  304. # Do logging of mail activity (to spool/node.log)
  305. #
  306. mbox log yes
  307. #
  308. # Allow paging of mail whilst it is read (on telnet connections)
  309. #
  310. mbox more yes
  311. #
  312. #----------------------------------------------------------------------
  313. # Mail Forwarding Parameters
  314. #----------------------------------------------------------------------
  315. #
  316. thirdparty on
  317. #
  318. # Kick out BBS mail every hour
  319. #
  320. mbox ftimer 3600
  321. #
  322. # Set the location and hierarchical address of this mailbox
  323. #
  324. mbox finfo "Bath, Avon"
  325. mbox fnic "GB7WRW.#41.GBR.EU"
  326. #
  327. #----------------------------------------------------------------------
  328. # Auto Router Save Times
  329. #----------------------------------------------------------------------
  330. #
  331. ax25 route hold 1
  332. ax25 route save 120
  333. route save 115
  334. arp save 110
  335. netrom route save yes
  336. #
  337. #----------------------------------------------------------------------
  338. # Enable swap to disk or EMS/XMS RAM
  339. #----------------------------------------------------------------------
  340. #
  341. swap yes
  342. #----------------------------------------------------------------------
  343. # NNTP Setup
  344. #----------------------------------------------------------------------
  345. #
  346. #nntp profile sig c:/tcpip/spool/signatur/g6dhu
  347. #nntp profile reply <g6dhu@g6dhu.ampr.org>
  348. #nntp profile organ "84 Frankland Close, Bath, Avon, BA1 4EL"
  349. #nntp profile user g6dhu
  350. #nntp profile fullname "Michael Chace"
  351. #nntp ihave 1
  352. #
  353. #----------------------------------------------------------------------
  354. # Set up TNC running TheFirmware (or any other) KISS
  355. #----------------------------------------------------------------------
  356. #
  357. # TXdelay = 36 x 10ms
  358. #
  359. param 144 1 36
  360. #
  361. #  Persistance = 50/255 (Matches local nodes)
  362. #
  363. param 144 2 50
  364. #
  365. # Slottime = 10 x 10ms (Matches local nodes)
  366. #
  367. param 144 3 10
  368. #
  369. # TXTail = 3 x 10ms
  370. #
  371. param 144 4 3
  372. #
  373. # Set Half Duplex Radio Channel working (most are!)
  374. #
  375. param 144 5 0
  376. #
  377. #----------------------------------------------------------------------
  378. # Tell local NET/ROM nodes that we are on-air
  379. #----------------------------------------------------------------------
  380. #
  381. netrom bcnodes 144 
  382. netrom bcnodes 144
  383. netrom bcnodes 144
  384. #
  385. # The END
  386.  
  387.