home *** CD-ROM | disk | FTP | other *** search
- # AUTOEXEC.NOS - WNOS Configuration and startup File
- #
- # Note that my WNOS 'root' is C:\TCPIP and so configuration files
- # are found and sourced from that directory. Things may be different
- # in your setup!
- #
- #----------------------------------------------------------------------
- # General Setup Details
- #----------------------------------------------------------------------
- #
- # Screen is Mono so display Status Line accordingly
- #
- attribute mono
- #
- # Reboot the machine if free memory drops below 4k
- #
- mem thresh 8000
- mem reboot on
- #
- # Set interrupt buffer sizes (5 buffers each of 2k)
- #
- mem ibufs 2048
- mem nibuf 5
- #
- # Set the suffix to be added to hostnames for domain searches
- #
- domain suffix ampr.org.
- #
- # Set the local hostname
- #
- hostname g6dhu.ampr.org
- #
- # Set MYCALL (used by Mailbox and NET/ROM node)
- #
- ax25 mycall g6dhu-5
- #
- # Set the IP address of this machine
- #
- ip address 44.131.20.3
- #
- #----------------------------------------------------------------------
- # Attach Hardware Ports
- #----------------------------------------------------------------------
- #
- # Attach TNC running KISS on COM2: Serial port speed is 9600bps
- # This is to a 2m radio and the interface is called "144".
- #
- attach asy 0x2f8 3 ax25 144 2048 236 9600
- #
- # Attach SLIP link running 9600bps (to sys2.g6dhu) on COM1:
- # The interface is called "sl0".
- #
- #attach asy 0x3f8 4 slip sl0 2048 236 9600
- #
- # Attach Packet driver looking at interrupt 62 (for G8BPQ TheNode)
- #
- #attach packet 62 slip 5 236
- #
- # Attach Packet driver looking at interrupt 61 (for G8BPQ TheNode)
- #
- #attach packet 61 144 5 236
- #
- # Tell TNC running NORD><LINK The Firmware to switch into KISS mode
- #
- # Send it CR CR ESC @ K CR CR
- #
- #param 144 13 13 27 64 75 13 13
- #
- # Set TNC2-clone into KISS Mode (Tiny-2, PK232 etc)
- #
- # Send CR CR K I S S O N CR
- param 144 13 13 75 73 83 83 32 79 78 13
- #
- # Send CR CR R E S T A R T CR
- param 144 13 13 82 69 83 84 65 82 84 13
- #
- # Attach DRSI card driven by the SCC controller. The 1200baud port
- # is called '650'
- #
- #attach scc 1 init 300 16 2 0 1 0 7 p4915200 8
- #attach scc 0 ax25 650 236 d1200 128
- #attach scc 1 ax25 9600 236 d9600 128
- #
- # Set up the various DRSI card parameters.
- #
- #param 650 1 18
- #param 650 2 40
- #param 650 3 3
- #param 650 4 2
- #param 650 5 0
- #param 650 6 1
- #param 650 7 9
- #param 650 8 7
- #param 650 9 3
- #param 650 10 120
- #
- #------------------ End of attach section -----------------------
- #
- # Set Broadcast Address for direct channel
- #
- ifconfig 144 broadcast 44.255.255.255
- #
- #----------------------------------------------------------------------
- # TCP, IP and ICMP Parameters
- #----------------------------------------------------------------------
- #
- # Maximum Segment size is 512 bytes
- #
- tcp mss 512
- #
- # Window is 1024 bytes (send up to this value before waiting for an ACK)
- #
- tcp window 1024
- #
- # Initial Round Trip Time for new connections is 30 seconds
- #
- tcp irtt 30000
- #
- # Accept Telnet WILL ECHO
- #
- echo accept
- #
- # IP Time To Live is 25 hops
- #
- ip ttl 25
- #
- # Respond to ICMP Echo Requests (pings)
- #
- icmp echo on
- #
- #----------------------------------------------------------------------
- # Startup servers
- #----------------------------------------------------------------------
- #
- start ftp
- start ax25
- start telnet
- start smtp
- start finger
- start echo
- start ttylink
- start netrom
- start discard
- start remote
- start convers
- start xconvers
- start nntp
- #
- #----------------------------------------------------------------------
- # SMTP Parameters
- #----------------------------------------------------------------------
- #
- # Kick out e-mail every 40 or so minutes
- #
- smtp timer 2500
- #
- # I am my own gateway (I need to be for BBS mail forwarding purposes)
- #
- smtp gateway g6dhu.ampr.org
- #
- # We want to route mail to destinations, not queue it
- #
- smtp mode route
- #
- # Only print a message on the console as new mail arrives
- #
- smtp quiet 1
- #
- # Always try delivering mail in compressed mode
- #
- smtp lzw yes
- #
- #----------------------------------------------------------------------
- # AX.25 Parameters
- #----------------------------------------------------------------------
- #
- # Set Auto-routing as the default
- #
- ax25 digipeat 144 2
- #
- # Broadcast ID message every quarter of an hour (UK Regs)
- #
- ax25 bcinterval 900
- ax25 bctext "Bath, Avon - TCP/IP Mailbox and Node"
- #
- # Initial MAXFRAME to use is 7 frames
- #
- ax25 maxframe 144 7
- #
- # PACLEN is 256 bytes
- #
- ax25 paclen 144 256
- #
- # Retry for 10 times
- #
- ax25 retry 144 10
- #
- # Accept 2048 bytes before sending RNR's
- #
- ax25 window 144 2048
- #
- # Poll Threshold is 128 bytes
- #
- ax25 pthresh 144 128
- #
- # Link Inactivity Timer is 15 minutes
- #
- ax25 t3 144 900
- #
- # Link Busy Timer is 200 seconds
- #
- ax25 t4 144 200
- #
- # The default channel is the 2m one
- #
- ax25 route add 144 default
- #
- #----------------------------------------------------------------------
- # Log file location
- #----------------------------------------------------------------------
- #
- log c:/tcpip/net.log
- #
- #----------------------------------------------------------------------
- # NET/ROM Configuration
- #----------------------------------------------------------------------
- #
- attach netrom
- netrom user G6DHU
- #
- # Set our NET/ROM alias
- #
- netrom interface 144 ip1403 192
- #
- # Age routes every hour and send a NODES broadcast at the same interval
- #
- netrom nodetimer 3600
- netrom obsotimer 3600
- #
- # Only broadcast my own route and nobody else's
- #
- netrom verbose no
- #
- # Time To Live is 25 hops
- #
- netrom ttl 25
- #
- # Accept upto 1024 bytes before Choking the L4 connection
- #
- netrom qlimit 1024
- #
- # Any node with a route quality of 1 or greater gets put in the table
- #
- netrom minq 1
- #
- # Retry a Level 4 Info frame three times
- #
- netrom retries 3
- #
- # Initial Round Trip Time on NET/ROM Level 4 is 120secs
- #
- netrom irtt 120
- #
- #----------------------------------------------------------------------
- # Load other configuration files (see UK Distribution Pack)
- #----------------------------------------------------------------------
- #
- # NET/ROM Nodefilter Table
- #
- source /tcpip/nodes.fil
- #
- # NET/ROM Routing
- #
- source /tcpip/nodes.inf
- #
- # ARP Statements
- #
- source /tcpip/nodes.arp
- #
- # AX25 Routing Table
- #
- source /tcpip/nodes.axr
- #
- # IP Routing Table
- #
- source /tcpip/nodes.rou
- #
- # Mode Table
- #
- source /tcpip/nodes.mod
- #
- #----------------------------------------------------------------------
- # Mailbox sign-on texts
- #----------------------------------------------------------------------
- #
- # General Message Of The Day
- #
- motd "Hello from G6DHU's TCP/IP System in Bath (Send Control-X to Escape)"
- #
- # Mailbox Message Of The Day
- #
- mbox motd "Type C to Chat, ? for Command List, and 'S mike' to mail me"
- #
- # Do logging of mail activity (to spool/node.log)
- #
- mbox log yes
- #
- # Allow paging of mail whilst it is read (on telnet connections)
- #
- mbox more yes
- #
- #----------------------------------------------------------------------
- # Mail Forwarding Parameters
- #----------------------------------------------------------------------
- #
- thirdparty on
- #
- # Kick out BBS mail every hour
- #
- mbox ftimer 3600
- #
- # Set the location and hierarchical address of this mailbox
- #
- mbox finfo "Bath, Avon"
- mbox fnic "GB7WRW.#41.GBR.EU"
- #
- #----------------------------------------------------------------------
- # Auto Router Save Times
- #----------------------------------------------------------------------
- #
- ax25 route hold 1
- ax25 route save 120
- route save 115
- arp save 110
- netrom route save yes
- #
- #----------------------------------------------------------------------
- # Enable swap to disk or EMS/XMS RAM
- #----------------------------------------------------------------------
- #
- swap yes
- #
- #----------------------------------------------------------------------
- # NNTP Setup
- #----------------------------------------------------------------------
- #
- #nntp profile sig c:/tcpip/spool/signatur/g6dhu
- #nntp profile reply <g6dhu@g6dhu.ampr.org>
- #nntp profile organ "84 Frankland Close, Bath, Avon, BA1 4EL"
- #nntp profile user g6dhu
- #nntp profile fullname "Michael Chace"
- #nntp ihave 1
- #
- #----------------------------------------------------------------------
- # Set up TNC running TheFirmware (or any other) KISS
- #----------------------------------------------------------------------
- #
- # TXdelay = 36 x 10ms
- #
- param 144 1 36
- #
- # Persistance = 50/255 (Matches local nodes)
- #
- param 144 2 50
- #
- # Slottime = 10 x 10ms (Matches local nodes)
- #
- param 144 3 10
- #
- # TXTail = 3 x 10ms
- #
- param 144 4 3
- #
- # Set Half Duplex Radio Channel working (most are!)
- #
- param 144 5 0
- #
- #----------------------------------------------------------------------
- # Tell local NET/ROM nodes that we are on-air
- #----------------------------------------------------------------------
- #
- netrom bcnodes 144
- netrom bcnodes 144
- netrom bcnodes 144
- #
- # The END
-
-