home *** CD-ROM | disk | FTP | other *** search
- # Change this file to filename AUTOEXEC.NOS and install in root directory
- #
- # Sample by N1BEE, 22-Sep-91, for GRINOS 910921v0.72
- # Standard user with KISS TNC on a serial port is assumed.
- #
- # DON'T FORGET TO CHANGE ADDRESSES AND CALLSIGNS!!!
- #
- mem eff on
- watchdog on
- #
- # Callsign and SSID (omit SSID if using 0)
- #
- ax25 mycall W1XYZ
- #
- hostname w1xyz.ampr.org
- ip addr [44.104.0.192]
- ifconfig loopback ipaddress [44.104.0.192]
- #
- # Set "domain translate on" if you have a fast enough machine, a small
- # enough DOMAIN.TXT file, and want to see domain names displayed rather
- # than raw IP addresses...
- #
- domain translate off
- domain verbose off
- domain cache size 40
- domain suffix ampr.org.
- #
- log \spool\nos.log
- #
- #----------------------------------------------------------------------------
- # Attach interfaces
- # Syntax: attach <hw type> <I/O address> <vector> <mode> <label>
- # <bufsize> <mtu> [<speed>]
- #
- # Standard address/vectors: COM1, 0x3f8, 4; COM2, 0x2f8, 3;
- # COM3, 0x3e8, 4; COM4, 0x2e8, 3. These may vary on some hardware.
- #
- # COM2: KISS TNC
- attach asy 0x2f8 3 ax25 ax0 2048 256 4800
- #
- # We don't need many of these if we are only attaching an asy device...
- memory nibufs 2
- #
- #----------------------------------------------------------------------------
- #
- ip ttl 16
- #
- # We are going to pick up RSPF routes, so all we need is a route to
- # our local switch. One route is a good way to start out, even if you
- # are not going to run RSPF. It will get you on the network!
- # Always use "addprivate" instead of "add" for the default route; this
- # is a critcal issue for RSPF.
- #
- route addprivate default ax0 [44.104.0.2] 1
- #
- ftype image
- #
- # This is a matter of much debate. Users are obliged to find out what
- # their local standards are and to try and adhere to them. Some groups
- # use "tcp timertype exponential" or "tcp mss 192"; this is local stuff.
- # Don't use tcp mss above 216. Settings for tcp irtt and ip rtimer are
- # not too important and do not really affect the network.
- #
- tcp mss 216
- tcp timertype linear
- tcp irtt 30000
- ip rtimer 240
- #
- # This is just playing around. A server takes on the tcp window size
- # in effect when it is started. This is an attempt to give smtp some
- # priority over the average server by giving it a smaller window, and
- # giving ftp lower priority by giving it a larger window. Taking out
- # all of the "tcp window" commands would probably work just as well.
- #
- # Note that values used for tcp window should be integral multiples
- # of whatever is used for tcp mss above.
- #
- tcp window 216
- start smtp
- start telnet
- tcp window 768
- start ftp
- tcp window 432
- start discard
- start echo
- start ax25
- start finger
- start remote
- start ttylink
- #
- # By the way: "echo" and "discard" are internals, "smtp" receives mail,
- # "telnet" present a mailbox to the outside world, "ftp" allows file
- # transfer sessions to come in, "ax25" allows non-TCPIP users to connect,
- # "finger" lets others find out information about us, "remote" lets
- # others make us transmit a retry (overriding our timers), and "ttylink"
- # allows keyboard to keyboard chats.
- #
- smtp timer 300
- smtp batch on
- echo refuse
- #
- #----------------------------------------------------------------------------
- ax25 timertype linear
- ax25 blimit 15
- ax25 version 2
- ax25 digipeat on
- ax25 paclen 256
- ax25 retry 10
- ax25 t1 9000
- ax25 t2 3000
- ax25 t3 600000
- ax25 window 2048
- ax25 maxframe 3
- #
- #----------------------------------------------------------------------------
- # Here is the experimental setup for RSPF at an end user...
- #
- ifconfig ax0 broadcast [44.255.255.255]
- rspf maxping 3
- rspf interface ax0 8 1
- rspf rrhtimer 900
- rspf timer 900
- rspf suspecttimer 2000
- rspf message "Automatic routing with RSPF v2.1"
- #
- # Don't actually use RSPF unless you know what you're doing! Also,
- # ignore anything in the documentation that instructs adding an ARP
- # entry manually for the broadcast address. It is not needed, and
- # RSPF will keep trying to ping it (without success, obviously).
- #
- #----------------------------------------------------------------------------
- # Change these to whatever you want: they are the function keys.
- # Use the "fkey" command alone from the "net>" prompt to see the
- # coding matrix to map F keys and combinations with Shift, Ctrl, Alt.
- # The '\n' character means a return (newline).
- #
- #f1-f4
- fkey 59 "tcp status\n"
- fkey 60 "mem status\n"
- fkey 61 "status\n"
- fkey 62 "rspf status\n"
- #
- #f5-f8
- fkey 63 "ping wb6nil\n"
- fkey 64 "ping wb6nil 188\n"
- fkey 65 "ping switch.w1cg-9\n"
- fkey 66 "ping switch.w1cg-9 188\n"
- #
- #f9 (trace off)
- fkey 67 "trace ax0 0\n"
- #shift-f9 (trace on)
- fkey 92 "trace ax0 111\n"
- #
- #----------------------------------------------------------------------------
- # Here is the setup for POP...
- #
- pop mailhost [44.104.0.2]
- pop mailbox W1XYZ
- pop userdata w1xyz w1xyz
- pop timer 14400
- pop kick
- #
- #----------------------------------------------------------------------------
- # Most of these are not going to do anything, anyway...
- param ax0 1 40
- param ax0 2 120
- param ax0 3 32
- #
- #End