home *** CD-ROM | disk | FTP | other *** search
- # ============= NOSview [301]
- # /autoexec.nos
- # =============
-
- # This is the configuration file for NOS.
- # This file must be at the NOS root.
-
- # There are many commands which NOS needs to configure the
- # program each time it starts. To save typing them by hand
- # each time, you can put them in this file.
-
- # AUTOEXEC.NOS is the default name for the configuration file.
- # You can also produce alternative versions with different
- # names. This is a very convenient way of setting up different
- # scenarios. To use one of these alternatives, you include
- # its name as the final parameter in the NOS command line.
- # e.g. nos_20m /autoexec.bob
-
- # Many of the commands below are commented out with the # sign.
- # As you gain experience with NOS you can then remove the #
- # signs to try out these commands.
-
- # If NOS hangs when starting up, it could be due to errors in
- # this file. To help discover what is wrong, you can trace the
- # startup using the -v option in the NOS command line.
-
- # Miscellaneous setup ******************************************
- attended on
- escape # <ESC> character
- isat yes # 286/386 clock
- multitask on
- log /dump/session.log
- watchdog off
-
- memory ibufsize 256
- memory nibufs 1
-
- motd "If I'm not here, please leave a message in the mailbox."
-
- # Set up domain defaults ***************************************
- domain cache size 30
- domain suffix ampr.org.
- domain translate on # display host names
- domain verbose off # do not display suffix
- # domain addserver ns9dns
-
- # Station Identification ***************************************
- ip address ns9bob
- hostname ns9bob
- ax25 mycall NS9BOB-5 # This MUST precede 'attach'
-
- # Set up the TNC ***********************************************
- attach asy 0x3f8 4 ax25 tnc0 2048 256 4800 # COM1
- # attach asy 0x2f8 3 ax25 tnc0 2048 256 4800 # COM2
- # attach asy 0x3e8 4 ax25 tnc0 2048 256 4800 # COM3
- # attach asy 0x2e8 3 ax25 tnc0 2048 256 4800 # COM4
-
- # trace tnc0 211
-
- # Initialise the tnc to KISS mode
- dialer tnc0 /scripts/kisson.dia
-
- param tnc0 1 20 # TX delay (x 10mS)
- param tnc0 2 63 # Persistence (0-255)
- param tnc0 3 10 # Slot Time (x 10mS)
- param tnc0 4 10 # TX tail (x 10mS)
- param tnc0 5 0 # 0=HDX
- param tnc0 dtr 1
- param tnc0 rts 1
-
- # Baycom AX.25 Packet Driver ***********************************
- # attach packet 0x60 tnc0 5 512
-
- # Set up AX.25 *************************************************
- ax25 bc tnc0 on
- ax25 bcinterval 840
- ax25 bctext "NS9BOB-5 TCP/IP 44.199.41.1 [London]"
- ax25 digipeat on
- ax25 irtt 2500
- ax25 maxframe 2
- ax25 paclen 256
- ax25 pthresh 128
- ax25 retry 10
- ax25 t3 65000
- ax25 t4 300
- ax25 timertype linear
- ax25 version 2
- ax25 window 2048
-
- mode tnc0 datagram
-
- # Set up the Ethernet interface ********************************
- # attach packet 0x61 en0 8 1500
- # arp add ns9wrm ether 00:00:C0:11:22:33
- # route add ns9wrm en0
-
- # Set up the AXIP wormhole *************************************
- # attach axip ai0 256 ns9wrm NS9BOB-11
-
- # Set up ifconfig **********************************************
- ifconfig tnc0 broadcast 44.255.255.255
- ifconfig tnc0 netmask 0xFF000000
- ifconfig tnc0 description "144.625 MHz port"
-
- # Set up TCP/IP defaults ***************************************
- ip ttl 10
- tcp mss 216
- tcp irtt 65000
- tcp window 216
- tcp timertype linear
-
- # Start network services ***************************************
- start ax25
- start discard
- start echo
- start finger
- start ftp
- start pop2
- start pop3
- # start remote
- start rip
- start smtp
- start telnet
- start ttylink
-
- # Configure NET/ROM ********************************************
- # start netrom
- # attach netrom
- # netrom call NS9BOB-6
- # netrom user NS9BOB-7
- # netrom alias #BOB
- # netrom interface tnc0 192
- # netrom nodetimer 900
- # netrom obsotimer 1200
- # netrom verbose off
- # netrom minquality 10
- # netrom ttl 15
- # netrom acktime 3000
- # netrom qlimit 1024
- # netrom retries 5
- # netrom irtt 5000
- # netrom promiscuous off
- # netrom timertype linear
- # mode netrom vc
-
- # Broadcast your alias for local nodes - 3 times for luck
- # netrom bcnodes tnc0
- # netrom bcnodes tnc0
- # netrom bcnodes tnc0
-
- # Set up NET/ROM filtering *************************************
- # netrom nodefilter mode accept
- # netrom nodefilter add NR9AAA-2 tnc0
- # netrom nodefilter add NS9KEN-6 tnc0
-
- # Set up the IP routing table for NET/ROM **********************
- # route add region47/24 netrom ns9tom
- # route add region41/24 netrom ns9ken
-
- # Set up the ARP table for NET/ROM *****************************
- # arp add ns9tom netrom NS9TOM-6
- # arp add ns9ken netrom NS9KEN-6
-
- # Set up NET/ROM routing ***************************************
- # netrom route add NRA NR9AAA tnc0 192 NR9AAA
- # netrom route add #TOM NS9TOM-6 tnc0 192 NR9AAA
-
- # Set up AX.25 routing *****************************************
- ax25 route add AX9TIM AX9DGA AX9DGB
- ax25 route add NS9PAM-5 AX9DGC
-
- # Set up AX.25 modes *******************************************
- # ax25 route mode AX9AAA vc
-
- # Set up the ARP table *****************************************
- arp add nosland ax25 QST-0
- arp add ns9pam ax25 NS9PAM-5
-
- # Set up IP routing ********************************************
- route addprivate default tnc0
- route addprivate nosland tnc0
- route add ns9liz tnc0 ns9ken
- route add ns9jim tnc0 ns9ken
- route add region45/24 tnc0 ns9ken
- route add ns9sue tnc0 ns9pam
-
- # Set up RIP ***************************************************
- # rip merge no
- # rip add nosland 900 6
- # rip refuse ns9bbb
- # rip refuse ns9ccc
- # rip request nosland
-
- # Set up RSPF **************************************************
- # rspf interface tnc0 8 32
- # rspf rrhtimer 900
- # rspf suspecttimer 2000
- # rspf timer 900
- # rspf message "RSPF routing in use. RIP disabled"
-
- # Set up the hop check (route tracer) environment **************
- hop maxwait 60
- hop maxttl 10
- hop queries 2
-
- # Get every NOS node in range to emit their NET/ROM broadcasts
- # to load our tables. Very heavy on bandwidth!!!
- # remote -s dummy
- # remote nosland kick
-
- # Set up the mailbox *******************************************
- third-party on
-
- smtp timer 600
- # smtp gateway ns9sgw
- smtp usemx on
- smtp mode route
- smtp kick
-
- mbox attend on
- mbox motd "Please use sp ns9bob to leave a message for NS9BOB"
- mbox expert off
- mbox qth "[London]"
- mbox utc 0
- # mbox zipcode "123456"
- mbox nrid on
- # mbox fwdinfo "HNLNET_BBS"
- mbox haddress "BB7BBS.#41.GBR.EU"
- mbox password "Maximum 30-character password."
- mbox kick
-
- # Wake up POP to start shipping any outstanding mail ***********
- # popmail addserver ns9ken pop3 ns9bob bob bobspasswd
- # popmail addserver ns9liz 900 00:00-03:00 pop3 ns9bob ns9bob bobspasswd
- # popmail trace 3
- # popmail quiet no
- # popmail kick ns9liz
-
- # Set up FTP defaults ******************************************
- ftype binary
- eol standard
-
- # Set up function keys *****************************************
- source /scripts/fkeys.scr
-
- cd /dump/record
-
- # THE END