home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / MSDOS / KA9Q / DOCS / NOSBGNLP.ZIP / nosbgn20.lp
Encoding:
Text File  |  1992-04-08  |  161.0 KB  |  4,621 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. 1.  Introduction
  8.  
  9. TCP/IP is the common name for a set of protocols developed to allow
  10. cooperating computers to share resources across a network.  A protocol is
  11. simply a set of conventions or rules which must be adhered to by the
  12. communicating computers on a network to ensure that the information being
  13. exchanged is received and interpreted correctly.  In the amateur radio
  14. software implementation of TCP/IP networking, the command set of the TNC is
  15. replaced with a very basic set of commands and the protocols are run in the
  16. user's computer.  This opens up the real power of computer-to-computer
  17. networking via packet radio.
  18.  
  19.      TCP/IP provides for file transfer, electronic mail, remote login
  20. services, and network file access.   It was originally designed for the
  21. Department of Defense to connect unlike mainframe computers in the military,
  22. government, research institutions, private industry, and universities so that
  23. all could share resources on a common network.  For more information on
  24. TCP/IP, consult "Introduction to the Internet Protocols," by Charles L.
  25. Hedrick (Rutgers University, 1987).  This document is often available in
  26. electronic form on amateur radio packet systems.  TCP/IP has been adapted for
  27. use on amateur radio networks and it complies with FCC rules on amateur radio
  28. digital transmissions.  The amateur radio implementation of TCP/IP also
  29. provides services for keyboard chats, bulletin boards, AX.25 packet, and
  30. NET/ROM networking.
  31.  
  32.      While there are many commands in a TCP/IP software package, the basic
  33. commands are not difficult to learn or to use. The user first sends a few
  34. software commands to the TNC to substitute its limited command set with an
  35. even simpler command set (called "KISS," for "keep it simple stupid") and
  36. transfers control to the TCP/IP software in the user's computer.  The user can
  37. then engage in TCP/IP communications, or, since the software package has the
  38. capability of communicating in normal AX.25 packet, the user can operate with
  39. AX.25 packet bulletin boards, keyboard connects, digipeaters, or NET/ROM
  40. nodes.
  41.  
  42.      TCP/IP has several advantages over normal AX.25 packet.  At its lower
  43. levels, its strategies for retransmission of packets, exponential backoff in
  44. the face of channel congestion, handling of lost and duplicated packets, and
  45. packetization of data to be transmitted often lead to better overall channel
  46. throughput.  It is designed to be a multi-connect, store-and-forward system.
  47. With TCP/IP, your local switch (similar to a node on AX.25 or NET/ROM) will
  48. hold your mail and on your request, forward the mail to your computer.  Mail
  49. can also be forwarded to and from an AX.25 PBBS.  There is never a "station
  50. busy" reply on TCP/IP, since the software provides for multiple sessions, with
  51. the switch passing out mail to connected stations much like a dealer dealing
  52. cards, while handling a file transfer at the same time. Another advantage of
  53. the TCP/IP protocols and software is that the routing of packets through
  54. several systems to the eventual destination is simpler for the user than that
  55. in AX.25 or NET/ROM forwarding.  You do not need to know the full route to the
  56. destination.  Rather, you set up a routing table to the stations that you can
  57. communicate with directly.  If all other systems set up accurate routing
  58. tables, your packets will be forwarded properly to the desired destination.
  59.  
  60.      The most accurate name for this set of protocols is the "Internet
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                     - 2 -
  71.  
  72.  
  73. protocol suite," a layered family of protocols.  TCP (transmission control
  74. protocol) and IP (internet protocol) are two of the lower level protocols.
  75. While the end-user of the suite does not often interact with the TCP or IP
  76. protocols, they are the best known of the protocols, and it has become common
  77. to use the term TCP/IP to refer to the whole family.
  78.  
  79.      This document is a beginner's guide to use of the KA9Q Internet Software
  80. Package on the amateur radio packet network (AMPRNET).  This software is the
  81. result of several years of development by Phil Karn, KA9Q, and an
  82. international group of collaborators.  Phil developed the earlier NET TCP/IP
  83. software in the mid-1980's and it was "officially released" to the amateur
  84. radio community in April, 1989.  He then began the development of NOS (Network
  85. Operating System), based on a multitasking networking kernel.  The resulting
  86. software is extremely versatile.  It was written for the IBM PC and clones,
  87. but has been ported to the Apple Macintosh, Atari ST, Commodore Amiga, and to
  88. several versions of UNIX machines.  It has drivers for several hardware
  89. interfaces, allowing communication on wire networks as well as packet radio
  90. networks.  Since the source code has been made available, there are numerous
  91. versions of this software.  This beginner's guide documents the use of KA9Q
  92. NOS 911229 (written December 12, 1991) as modified in version 2.0h by Gerard
  93. van der Grinten, PA0GRI.
  94.  
  95.      The NOS software provides the following services:
  96.  
  97. keyboard chat   A modified telnet protocol, called "ttylink," as implemented
  98.                 in NOS, allows users to "chat" from keyboard to keyboard.
  99.  
  100. mail            The simple mail transfer protocol (SMTP) provides services for
  101.                 sending and receiving mail.  The sending, receiving, and
  102.                 forwarding computers can run unattended during this transfer,
  103.                 so it is not necessary to log into a PBBS to pick up your
  104.                 mail.  A separate program, Bdale's Mailer (BM), first written
  105.                 by Bdale Garbee, N3EUA, is available to compose and read mail
  106.                 messages.  It is also documented in this guide.
  107.  
  108. file transfer   The file transfer protocol (FTP) allows a user on any computer
  109.                 to get files from another computer, or to send files to
  110.                 another computer.  Security is handled by requiring the user
  111.                 to specify a user name and password for the other computer.
  112.                 Both text (AASCI) and binary (executables or encoded text)
  113.                 files can be transferred.
  114.  
  115. mailbox or BBS  A mailbox, with a user interface similar to that of an AX.25
  116.                 packet BBS, allows both TCP/IP and AX.25 packet users to read
  117.                 and compose mail.  It also allows AX.25 users access to many
  118.                 of the TCP/IP services, providing them with an introduction to
  119.                 NOS and possibly an inducement to switch to the use of NOS.
  120.  
  121. finger          Finger is typically used to find out specific information
  122.                 about users on local or remote hosts.  By fingering a user,
  123.                 you can find out such information as a user's name, mailing
  124.                 address, telephone number, QSL information, and other useful
  125.                 facts.
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                     - 3 -
  137.  
  138.  
  139. ax25            Regular AX.25 services are also provided, so that NOS can be
  140.                 used for all of your packet radio activities.  You can connect
  141.                 to a friend who is not running TCP/IP and conduct a keyboard
  142.                 chat or you can login to an AX.25 packet BBS.
  143.  
  144. NET/ROM         NOS also allows your packet system to serve as a NET/ROM node,
  145.                 although this will not be documented in this guide.
  146.  
  147.      There are many other TCP/IP services that may be made available for use
  148. on packet radio in the future.  Callsign servers are available on some
  149. systems.  Access to network news via the network news transport protocol
  150. (NNTP) is also becoming available.  Methods are being developed to set up
  151. routing tables and keep them up-to-date automatically, without requiring the
  152. user to edit the table.  When multi-tasking computers become commonplace
  153. hobbyist machines, you will be able to remotely login to these systems to
  154. execute programs on them.  Network file systems may become available, so that
  155. you can store your files on a remote disk and access them through the packet
  156. radio network.  Most of these potential services will require higher baud rate
  157. networks, as a 1200 baud radio link is just too slow to support them.
  158.  
  159.      It should be noted that the primary focus of many of the users of the
  160. TCP/IP software on amateur radio is experimentation with new prototocols and
  161. new versions of the software.  While there are many full-service TCP/IP
  162. systems operating 24 hours a day providing services to the general user
  163. community, many others are on the air only sporadically to test new software.
  164. Thus, unless you enjoy dealing with constant technological change, you may be
  165. disappointed with TCP/IP networking in the amateur community.
  166.  
  167. 1.1.  Objectives of This Guide
  168.  
  169. The objectives of this guide are intentionally limited.  The guide is intended
  170. to encourage more hams to use the NOS software on the amateur packet radio
  171. network (AMPRNET) and thus, it is aimed at beginners.  It provides information
  172. on installing and using KA9Q NOS version 911229 (PA0GRI v.0f) and version
  173. 3.3.2 of BM on an IBM PC or clone, with a serial interface to a TNC running
  174. the KISS (Keep It Simple, Stupid) firmware.  Installation and use of other
  175. versions of this software running on PCs or other machines is similar to that
  176. described in this guide, but no attempt has been made in this guide to deal
  177. with the many other versions of the software.
  178.  
  179.      This guide only documents the subset of the NOS commands that are of most
  180. use to a beginning end-user of the software and the packet network.  Short
  181. descriptions of all of the top-level NOS commands are given in Appendix D.
  182. Further details are available in the "Network Operating System User Reference
  183. Manual," by Phil Karn, KA9Q, and Gerard van der Grinten, PA0GRI, reflecting
  184. version 911229 of NOS 2.0h as released to the public by PA0GRI.  This manual
  185. is often available on-line on the packet radio network.  It should be
  186. consulted for details which are beyond the scope of this guide.
  187.  
  188. 1.2.  Acknowledgements
  189.  
  190. Version 1.0 of this guide, dated May 9, 1990, was based on KA9Q NET 890421 and
  191. BM 3.3.1 and much of the material in this version was taken from "The KA9Q
  192. Internet Software Package," with permission from the author, Bdale Garbee.
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.                                     - 4 -
  203.  
  204.  
  205. Shayne Hughes, N6SPE, Jim Pearce, N6ESV, and Chuck Bland, N6DBT, also provided
  206. many useful comments on the manuscript.  Much of this material remains intact
  207. in this newer version of the guide.
  208.  
  209.      This current version of the guide is based on the "Network Operating
  210. System User Reference Manual," by Phil Karn, KA9Q, and Gerard van der Grinten,
  211. PA0GRI.  To document the mailbox, I relied on the help files that were
  212. recently revised by Jim Mankin, KB3KJ, who couldn't recall who had written the
  213. original files.  Dell Tucker, WA6IUK, and Gary James, N6CNG, provided comments
  214. on the manuscript.
  215.  
  216.      I would appreciate receiving any comments you have about this guide.  I
  217. can be contacted at the following addresses:
  218.  
  219.         AX.25 PBBS:  N6GF@WA6NWE.#NOCAL.CA.USA.NA
  220.         Internet:    ford@eecs.ucdavis.edu
  221.         U.S. Mail:   226 Diablo Ave., Davis, CA 95616
  222.  
  223.  
  224.  
  225.  
  226.  
  227. 2.  Necessary Resources
  228.  
  229. The purpose of this section of the guide is to describe the necessary
  230. resources you must have available to be able to set up an amateur packet radio
  231. system running TCP/IP.  The hardware requirements of TCP/IP are nearly the
  232. same as any AX.25 packet station, although this guide assumes that the host
  233. computer is a PC or clone.
  234.  
  235. 2.1.  Computer
  236.  
  237. The computer required to run the version of NOS described in this guide is an
  238. IBM PC or clone running the MS-DOS or PC-DOS operating system (to be referred
  239. to simply as DOS for the remainder of this guide).  The PC can range from the
  240. original PC (8086) to the XT, AT (286), 386, or 486 machines.  This computer
  241. must have at least one serial port and a floppy disk drive.  A hard disk is
  242. preferred, but is not absolutely necessary.
  243.  
  244.      It is assumed that the reader of this guide is familiar with the basics
  245. of DOS.  You should be able to set up directories, manage files, and have
  246. available and know how to use a text editor.
  247.  
  248. 2.2.  TNC
  249.  
  250. The TNC (terminal node controller) used for TCP/IP must run the KISS firmware.
  251. This includes the TAPR TNC-1, TNC-2 and clones produced by several
  252. manufacturers, equipped with a ROM running KISS.  For the TNC-2 or clones,
  253. version 1.1.6 of the firmware, or later, is required.  Most of the more recent
  254. TNCs also run the KISS firmware.
  255.  
  256.      Attach your TNC to your PC serial port using an RS-232C cable, following
  257. your TNC manufacturer's instructions.  Set the baud rate between the computer
  258. and the TNC as recommended in the TNC instructions.  Verify that the TNC works
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.                                     - 5 -
  269.  
  270.  
  271. properly in the AX.25 mode, again following the TNC instructions, and then
  272. enter the commands to run KISS.  Further information on running the KISS mode
  273. is given in Appendix A.
  274.  
  275. 2.3.  Radio
  276.  
  277. The majority of the TCP/IP packet operations are on 2 meters, so you will need
  278. a 2m FM transceiver.  The radio requirements for TCP/IP are the same as those
  279. for AX.25 packet.  Follow the directions in your TNC manual to interface the
  280. transceiver to the TNC.
  281.  
  282.      In most areas in the U.S., TCP/IP packet operations are found in the
  283. frequency ranges 144.91-145.09 MHz and 145.71-145.79 MHz.  You will have to
  284. ask around to find out what frequency is being used in your area.  One way to
  285. find the TCP/IP operation is to operate your TNC in the AX.25 mode and monitor
  286. the frequencies with "MONITOR ON."  The TCP/IP frequency is the one that
  287. causes the most "garbage" to be displayed on your screen, although NET/ROM
  288. nodes also cause this problem as well.  The reason for this is that AX.25 TNCs
  289. do not decode the TCP/IP or NET/ROM control information.
  290.  
  291. 2.4.  IP Address
  292.  
  293. IP addresses are 32 bit numbers that uniquely identify a given machine (or
  294. "host") running the TCP/IP protocol suite.  All of the possible 32 bit numbers
  295. are coordinated by an entity known as the Network Information Center, or NIC.
  296. Amateur Radio operators are fortunate in that a "Class A Subnet" consisting of
  297. 24 bits of address, in the range 44.X.X.X, has been reserved for our use.
  298. Brian Kantor, WB6CYT, of San Diego, CA, serves as the top level administrator
  299. of the 44.X.X.X address space, and assigns blocks of addresses to regional
  300. coordinators from around the world.  The list of these regional coordinators,
  301. as of January 1992, is given in Appendix C.  This list is updated several
  302. times a year and is generally available on AX.25 PBBS systems.
  303.  
  304.      You need to acquire an IP address before you can link in with the local
  305. AMPRNET community.  To do this, contact the coordinator for your region,
  306. listed in Appendix C, or in a more recent list posted on your local PBBS.
  307. Your coordinator will assign you an address from the block for your area.  If
  308. you need help in contacting this coordinator, you should ask around the local
  309. packet community for assistance.  If all else fails, Brian Kantor can be
  310. reached as brian@ucsd.edu on the Internet if you have access to this wire
  311. network.  He can help to locate your IP address coordinator.
  312.  
  313.      If you have not yet obtained your IP address and want to get on the air
  314. immediately, you may temporarily use [44.128.0.*], with "*" replaced by a
  315. number between 1 and 255.  Try to ensure that no one else in your area is
  316. using the same number.
  317.  
  318. 2.5.  KA9Q NOS Software
  319.  
  320. The KA9Q TCP/IP program NOS and the mailer BM are likely to be available in
  321. your local area.  You should inquire about availability on your local packet
  322. BBS.  This would not only provide you with the software, but also contact with
  323. someone who has used the software and could help you with its installation and
  324. use.  Further, since the source code to these programs is available, many
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.                                     - 6 -
  335.  
  336.  
  337. local versions are available and it is often to your advantage to use these
  338. local versions.
  339.  
  340.      The programs NOS and BM must be installed and configured on your
  341. computer.  The easiest way to do this is to edit the sample configuration
  342. files that are often included in distributions of the software.  Local
  343. distributions may also include configuration information appropriate for your
  344. local network, so it is to your advantage to acquire the software locally.  If
  345. your distribution does not include the sample files, detailed information on
  346. installation and configuration is given in Appendix B of this guide.  The
  347. information in this appendix can also be used to understand the commands given
  348. in the sample files.
  349.  
  350.  
  351.  
  352.  
  353. 3.  Definitions, Conventions, and Notation
  354.  
  355. In this section, some terms used in TCP/IP networking are defined and the
  356. conventions and notation used in the guide are explained.
  357.  
  358.      Each system on the amateur packet radio network is referred to as a
  359. "node" or "host," terms that are derived from wire networks.  Since each
  360. TCP/IP node includes a computer, the term "machine" is also used
  361. interchangeably with "node" and "host."  As a user, you employ a "local host"
  362. and you communicate with a "remote host."  The local host often requests
  363. services from the remote host, and as a result, the remote host is known as a
  364. "server" and the local host is a "client."  Actually, each host provides a
  365. server and a client for each of the supported protocols.
  366.  
  367.      Some hosts are set up not for use by an end user, but rather to forward
  368. packets from many users, in some ways similar to the function of an AX.25
  369. digipeater, and to serve as a file repository.  These systems are generally
  370. operated 24 hours a day and are known as "switches" or "gateways."  Some of
  371. these systems are set up to serve as mail gateways to and from AX.25 PBBS
  372. systems.  Note, however, that end user hosts can also be used to forward
  373. TCP/IP packets.
  374.  
  375.      Each host on the AMPRNET is identified by an IP address, as discussed in
  376. Section 2.4.  Hosts are also known by a symbolic name which is linked to the
  377. IP address in the configuration file, DOMAIN.TXT.  The convention on AMPRNET
  378. is to choose the user's callsign as the symbolic host name.
  379.  
  380.      The conventions used in this guide are described below.  The intent was
  381. to produce this guide in the form of a simple ASCII (plain text) file that
  382. could be distributed through the AMPRNET.  Thus, it was not possible to use
  383. bold or italic fonts, changes in point size, or underlining to clarify
  384. meaning.
  385.  
  386. 3.1.  NOS Commands
  387.  
  388. NOS has a command line-driven user interface.  The commands have the following
  389. forms:
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.                                     - 7 -
  401.  
  402.  
  403.         command
  404.         command arguments
  405.         command subcommand arguments
  406.  
  407. Commands and subcommands are character strings, usually consisting only of
  408. letters, but occasionally also including numbers.  The arguments may be
  409. optional or required and the conventions for these arguments are given in the
  410. next section.
  411.  
  412.      The NOS commands are case-sensitive and must be entered in lower case.
  413. However, file names are not case-sensitive and can be entered in either upper
  414. case or lower case.
  415.  
  416.      All of the NOS commands and many of the subcommands may be abbreviated.
  417. You only need to type enough of a command to distinguish it from other
  418. commands that begin with the same letters.  Arguments, however, must be typed
  419. in full.
  420.  
  421.      If a required subcommand or argument is omitted, an error message will
  422. summarize the available subcommands or required arguments.  Typing "?" in
  423. place of a required subcommand or argument will also generate this error
  424. message, which is useful when the command name alone is a valid command.  When
  425. a command takes an optional value parameter, issuing the command without an
  426. argument generally displays the current value of the parameter.
  427.  
  428. 3.2.  NOS Command Arguments
  429.  
  430. NOS command arguments are also referred to as parameters, and are of the
  431. following types:
  432.  
  433. parameter    Literal argument.  A character string such as "clear" with no
  434.              surrounding brackets, is a required portion of a command and is
  435.              to be typed exactly as shown.  Many commands have subcommands
  436.              which are required parameters.
  437.  
  438. <parameter>  Variable argument.  A command argument enclosed by arrow
  439.              brackets, such as "<directory>," is a variable.  An appropriate
  440.              value for the variable must be used in the command.  Appropriate
  441.              values to be substituted are described as needed in this guide.
  442.  
  443. [parameter]  Optional argument.  A command argument enclosed by square
  444.              brackets, such as "[on]," is an optional argument.  The effect of
  445.              including, or not including, this argument in a command is
  446.              described in this guide.
  447.  
  448. [<parameter>]Optional variable argument.  A command argument enclosed by first
  449.              by arrow brackets and then by square brackets, such as
  450.              "[<msglist>]," is an optional variable argument.
  451.  
  452. |            "OR" operator.  Command arguments separated by "|" mean that
  453.              either one or the other argument is to be used.  For example,
  454.              "<host>|clear" means that you are to either enter the variable
  455.              <host> or the literal argument "clear."
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.                                     - 8 -
  467.  
  468.  
  469. 3.3.  Notation
  470.  
  471. The following is the notation to be used in describing the commands in this
  472. guide.
  473.  
  474. <ip_addr>    The numeric IP address of a host in dotted decimal notation,
  475.              optionally enclosed in brackets, e.g. 44.2.0.100 or [44.2.0.100].
  476.  
  477. <host_name>  The symbolic name of a host, e.g. "n6gf" or "eyolo".
  478.  
  479. <host>       Denotes a host, switch, or gateway, which may be specified either
  480.              as a symbolic name (<host_name>), or as a numeric IP address
  481.              (<ip_addr>).  The mappings between IP addresses and symbolic
  482.              names are defined in the file "DOMAIN.TXT" described in section
  483.              B.5 of Appendix B.
  484.  
  485. <callsign>   An amateur callsign, either in upper or lower case.
  486.  
  487. <directory>  The name of an existing directory on the host computer.
  488.              Directory references can either be relative to the current
  489.              directory, or absolute, beginning at the root (\ or /).  Note
  490.              that either back slashes (\) or forward slashes (/) can be used
  491.              in directory names in NOS, while DOS requires back slashes (\).
  492.              To refer to the parent directory, ".." can be used and for the
  493.              current (working) directory "." can be used.
  494.  
  495. <file>       The name of a file, e.g. DOMAIN.TXT.  DOS is not case-sensitive,
  496.              so file names can be given in either upper case or lower case
  497.              with no differences implied.  NOS displays file names in lower
  498.              case.  This guide generally gives file names in upper case when
  499.              the files must be accessed by DOS commands and in lower case when
  500.              they are accessed by NOS commands.
  501.  
  502. . . .        "Continued" notation.  A command argument ending with ". . ."
  503.              means that that multiple arguments of this type may be given.
  504.              This is often used when multiple file names can be specified.
  505.  
  506. <value>      An integer number.
  507.  
  508. <string>     Any string of ASCII characters, surrounded by double quotes (")
  509.              if the string contains spaces, such as "N6GF, Davis, CA".
  510.  
  511. <cr>         A carriage return, usually marked "Return" or "Enter" on most
  512.              keyboards.  Note that all commands given in this guide must be
  513.              followed by a carriage return, although the <cr> notation will
  514.              not be used in this case.  <cr> is only used when the "command"
  515.              needed is a carriage return on an otherwise empty line.
  516.  
  517. <F10>        The command key labeled "F10" or "f10" at the top or left side of
  518.              the keyboard.
  519.  
  520. <space>      The space bar.
  521.  
  522. CTRL-X       The CTRL-X character is entered by holding down the "Ctrl" key
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.                                     - 9 -
  533.  
  534.  
  535.              while pressing the "x" key.  Other common combinations of this
  536.              type are CTRL-Z and CTRL-A.
  537.  
  538.  
  539.  
  540.  
  541. 4.  NOS
  542.  
  543. The program that implements the Internet protocols is NOS.EXE.  In this
  544. section, information on executing NOS, its command and converse modes,
  545. managing multiple sessions, NOS utility commands, escaping back to DOS and
  546. exiting NOS are provided.  Information on the major NOS commands is given in
  547. later sections.
  548.  
  549. 4.1.  Executing NOS
  550.  
  551. If you have installed NOS in your root directory, it is invoked by simply
  552. typing the following at a DOS prompt:
  553.  
  554.         nos
  555.  
  556.  
  557.      If you have installed NOS in a directory other than the root and this
  558. directory is specified in the "path" command in your AUTOEXEC.BAT file, NOS is
  559. invoked by typing the following at a DOS prompt:
  560.  
  561.         nos -d <directory>
  562.  
  563. where <directory> is the directory where NOS has been installed.  For
  564. information on installing NOS, see Appendix B.
  565.  
  566.      When NOS is executed, it first opens the configuration file
  567. "AUTOEXEC.NOS" in the NOS directory.  This file is described in section B.4 of
  568. Appendix B.  NOS then displays the following:
  569.  
  570.         KA9Q NOS version 911229 (PA0GRI v2.0h)
  571.         This version produced by PA0GRI
  572.         Copyright 1991 by Phil Karn (KA9Q) and contributors.
  573.         net>
  574.  
  575. The last line above is the NOS prompt "net>".  If this message is not
  576. displayed, something is wrong.  Check your installation to see if you missed
  577. something.  If you still have troubles, find a NOS user and ask for help.
  578.  
  579.      NOS can also be invoked by typing:
  580.  
  581.         net [-d <directory>] <file>
  582.  
  583. NOS will first attempt to open <file> as an alternate configuration file,
  584. which is read instead of AUTOEXEC.NOS.
  585.  
  586. 4.2.  Command and Converse Modes
  587.  
  588. NOS may be in one of two modes:  command mode or converse mode.  In command
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.                                     - 10 -
  599.  
  600.  
  601. mode, the prompt "net>" is displayed and any of the NOS commands described in
  602. this guide may be entered.  In converse mode, keyboard input is processed
  603. according to the "current session."   Sessions include keyboard chats, file
  604. transfers (ftp), directory listings, AX.25 connections and several others,
  605. which will be described below.  Not all NOS commands initiate a new session,
  606. but for those which do, this guide indicates that a new session will be
  607. created.  In several of the sessions, keyboard input is sent to the remote
  608. host and any output from the remote host is displayed on the console.  In an
  609. ftp session, only ftp converse mode commands may be entered.  In these
  610. sessions, the user remains in converse mode until either the session is
  611. terminated (described in the command sections of this guide) or by escaping
  612. back to command mode, as described below.
  613.  
  614. 4.2.1.  <F10>
  615.  
  616. The user may escape back to command mode from converse mode by pressing <F10>.
  617. The command mode prompt "net>" will be displayed and any of the NOS commands
  618. may be entered.  The session that the user "escaped" from will remain active.
  619.  
  620. 4.2.2.  <cr>
  621.  
  622. By entering <cr> at a "net>" prompt, the user will return to converse mode in
  623. the "current session."  If there is no current session, NOS remains in command
  624. mode and reissues the "net>" prompt.  Multiple sessions can be handled by NOS.
  625. For more information on multiple sessions, see the next section.
  626.  
  627. 4.3.  Managing Multiple Sessions
  628.  
  629. The NOS program can handle multiple sessions.  For example, you can have an
  630. ftp file transfer running at the same time as a keyboard chat session.
  631. However, you should limit your use of multiple sessions that are transmitted
  632. on a 1200 baud radio channel, as you will cause considerable congestion.  Note
  633. that not all sessions, such as local host directory listing sessions, will
  634. result in packet transmissions.
  635.  
  636.      To start a second session, escape from the first session to the "net>"
  637. prompt by pressing <F10>.  Start the second session as you would normally (as
  638. described in the command sections of this guide).
  639.  
  640.      To monitor the multiple sessions, use the "session" command from the
  641. "net>" prompt.  The syntax for this command is:
  642.  
  643.         session [<session #>]
  644.  
  645.  
  646. Without arguments, "session" displays a list of current sessions, including
  647. the active session number(#), the sequential session number since NOS was
  648. first executed (S#), the number of characters in the receive and send queues,
  649. the state of the session, and the remote socket (host and protocol).  An
  650. example of a session list:
  651.  
  652.  #  S#  Type     Rcv-Q Snd-Q State        Remote socket
  653.  1  138 AX25         0     0 Connected    n6spe-1 (N6SPE-1 on ax0)
  654. *2  141 FTP         69     0 Established  eyolo (44.2.0.96:ftp)
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.                                     - 11 -
  665.  
  666.  
  667. An asterisk (*) is shown next to the "current" session; entering <cr> at a
  668. "net>" prompt will put you in converse mode with this session.  Entering an
  669. active session number as an argument to the session command will put you in
  670. converse mode with that session.
  671.  
  672.      Each session (including the "command session") has its own screen.  When
  673. a new session is created, the command display is saved in memory and the
  674. screen is cleared.  When the command escape key <F10> is hit, the current
  675. session screen is saved and the command screen is restored.  When a session is
  676. resumed, its screen is restored exactly as it appeared when it was last
  677. current.
  678.  
  679.      When a session is closed (through commands which will be described
  680. below), the following will be displayed on its screen:
  681.  
  682.         Hit enter to continue
  683.  
  684. When you hit enter, you are returned to the command session ("net>" prompt).
  685.  
  686.      The output of many sessions, such as directory listings, finger listings,
  687. and others, is managed by the "more" function, described in Section 4.4.2
  688. below.  The more function displays one screen at a time, pausing for a command
  689. from the user before continuing the output.  The more function has been
  690. activated when "--More--" is displayed at the bottom of the screen.
  691.  
  692. 4.4.  Utility Commands
  693.  
  694. NOS provides several utility commands to provide help information, display
  695. files, and to manage directories and files.
  696.  
  697. 4.4.1.  help
  698.  
  699. Displays a list of the main NOS commands.  The command "?" is equivalent to
  700. "help." Note that several commands are listed that are not described in this
  701. guide.  Concise descriptions of the commands listed by help are given in
  702. Appendix D.
  703.  
  704. 4.4.2.  more <file> [<file> ...]
  705.  
  706. Displays the specified file(s) a screen at a time.  The prompt "--More--"
  707. appears at the bottom of the screen.  To display the next screen, press the
  708. space bar.  To display the next line, hit <cr>.
  709.  
  710.      This command creates a session that can be suspended or resumed. To close
  711. the session, hit the "q" key at a "--More--" prompt.
  712.  
  713.  
  714.      Note that screen output from other sessions is automatically processed
  715. with the "more" command.  This is indicated by the "--More--" prompt.
  716.  
  717. 4.4.3.  tail <file>
  718.  
  719. Displays the "tail" (the last 18 lines) of the specified file.
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.                                     - 12 -
  731.  
  732.  
  733. 4.4.4.  pwd
  734.  
  735. Displays the name of the current directory on the local machine.
  736.  
  737. 4.4.5.  cd <directory>
  738.  
  739. Changes the current directory to <directory>, which must be an existing
  740. directory on the local machine.  The directory specified can be relative to
  741. the current directory, or absolute, with the name beginning at the DOS root (\
  742. or /).  The name of the new directory is displayed.
  743.  
  744. 4.4.6.  dir [<directory>]
  745.  
  746. List the contents of the specified directory on the console.  If no argument
  747. is given, the current directory is listed.  This command first lists the
  748. directory into a temporary file, then creates a "more" session to display it.
  749. After this completes, the temporary file is deleted.  For example, a listing
  750. of a NOS directory:
  751.  
  752. alias             3,615 21:28  3/02/92   autoexec.nos        805 10:09  3/21/92
  753. bm.exe           33,500  9:59  7/08/90   bm.rc               184 20:39  1/04/92
  754. domain.txt       12,732 18:03  2/29/92   finger/                 21:11 11/17/91
  755. ftpusers             83 22:05 12/30/91   nansi.sys         3,044 19:30  3/20/91
  756. spool/                  20:40 12/12/91   nos.exe         199,573 10:47  3/07/92
  757. 10 files. 30,277,632 bytes free. Disk size 63,809,536 bytes.
  758.  
  759. Note that this 2-column listing gives the file names (a trailing / indicates a
  760. directory name), file size in bytes, and the time and date the file was last
  761. modified.
  762.  
  763. 4.4.7.  rename <oldfile> <newfile>
  764.  
  765. Renames <oldfile> as <newfile>.
  766.  
  767. 4.4.8.  delete <file>
  768.  
  769. Delete the specified file.
  770.  
  771. 4.4.9.  mkdir <directory>
  772.  
  773. Create a sub-directory <directory> in the current working directory.
  774.  
  775. 4.4.10.  rmdir <directory>
  776.  
  777. Remove the sub-directory <directory> from the current working directory.  The
  778. sub-directory must be empty before "rmdir" can be used.
  779.  
  780. 4.5.  Executing DOS Commands
  781.  
  782. While running NOS, you may need to execute some DOS commands or to run a
  783. program such as a text editor.  This can be done by escaping to DOS and then
  784. returning to NOS when you are finished.  To escape to DOS, enter at a "net>"
  785. prompt:
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.                                     - 13 -
  797.  
  798.  
  799.         !
  800.  
  801. You will be returned to your DOS prompt and you can execute any DOS command.
  802. Note that the command "shell" is the same as the "!" command.  If the command
  803. "multitask" is set to "on", NOS will continue to run while you are at the DOS
  804. prompt, but if it is set to "off", all NOS sessions will be suspended.  For
  805. more information on "multitask", see Section B.4.7 of Appendix B.  To return
  806. to NOS, enter at an DOS prompt:
  807.  
  808.         exit
  809.  
  810. You will be returned to the "net>" prompt.
  811.  
  812. 4.6.  Exiting NOS
  813.  
  814. Before you exit NOS, you should check to see if you have any sessions active
  815. and if there is anyone logged into your mailbox.  To check both sessions that
  816. you initiated as well as sessions initiated remotely, you will need to use the
  817. "tcp status" command, described in section 11.1.1.  Mailbox activity can be
  818. checked with the "mbox status" command, described in section 10.6.
  819.  
  820.      When you are sure you want to exit the NOS program and return to DOS,
  821. enter at a "net>" prompt:
  822.  
  823.         exit
  824.  
  825.  
  826.  
  827.  
  828.  
  829. 5.  Keyboard Chat
  830.  
  831. The ttylink command allows you to initiate a keyboard chat connection with a
  832. user at a remote host and a ttylink server on the local host allows a keyboard
  833. chat session to be initiated by a remote user.  A split screen interface is
  834. used to allow easy conversation.  The "telnet" protocol is used to implement
  835. this capability, so it is often called a telnet session.
  836.  
  837. 5.1.  Chat Session Messages
  838.  
  839. There are two commands which control messages that are sent to hosts
  840. attempting to establish a chat session.
  841.  
  842. 5.1.1.  attended [on | off]
  843.  
  844. This tells the host initiating the chat session if your system is attended or
  845. not.  The command "attended on" generates the message "The system is attended"
  846. and the command "attended off" leads to the message "The system is
  847. unattended."  Without an argument, the current attend state is displayed.  The
  848. default is "attended on" so if you do not regularly attend your system, you
  849. should include "attended off" in your AUTOEXEC.NOS file, as described in
  850. Appendix B.
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.                                     - 14 -
  863.  
  864.  
  865. 5.1.2.  motd <string>
  866.  
  867. The specified string is the "message of the day," which is sent following the
  868. attended message to the host initiating the chat session.  If you are not
  869. attending your system, you might use the following example:
  870.  
  871.         motd "If unattended please leave a message in the mailbox"
  872.  
  873.  
  874. 5.2.  Initiating a Chat Session
  875.  
  876. The command to initiate a keyboard chat session with the specified host and
  877. enter chat converse mode is:
  878.  
  879.         ttylink <host>
  880.  
  881. For example:
  882.  
  883.         ttylink n6spe
  884.  
  885. A new session will be established and if the desired host is on the air and
  886. reachable on the network, a message similar to the following will be
  887. displayed:
  888.  
  889. Welcome to TTY-Link at n6spe.ampr.org - The system is attended
  890.  
  891. If the remote system is attended, as indicated in the above example, you can
  892. then type back and forth in much the same way as in an AX.25 connection.  When
  893. you're done, use the <F10> key to escape back to command mode, and then type
  894. "close" to close the connection, as described in section 5.5 below.
  895.  
  896. 5.3.  Accepting a Chat Session
  897.  
  898. If a remote host requests a chat session, a message similar to the following
  899. will be displayed on your console:
  900.  
  901. Incoming Telnet session 2 from 44.2.0.96:1026 on Sat Mar 14 23:16:48 1992
  902.  
  903. A session number is automatically assigned.  You may then select this chat
  904. session and converse with the remote as though you had initiated the session.
  905. If you are in command mode when the request arrives, enter <cr> at a "net>"
  906. prompt and you will enter converse mode for the chat session.  If you are in
  907. converse mode in a session, use the <F10> key to escape back to command mode,
  908. use the "session" command to list the active sessions, and then use the
  909. "session <session#>" command to enter converse mode on the desired telnet
  910. session.
  911.  
  912. 5.4.  File Upload and Download
  913.  
  914. The telnet session can be recorded to a file, or an ASCII file can be uploaded
  915. instead of entering the information at the keyboard.
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.                                     - 15 -
  929.  
  930.  
  931. 5.4.1.  record <file> | off
  932.  
  933. Opens <file> and appends to it all data received or sent on the current
  934. ttylink session.  If you are in telnet converse mode and want to initiate
  935. recording, you will need to use the <F10> key to escape back to command mode
  936. to issue the record command.  The message "Recording into <file>" will be
  937. displayed and another "net>" prompt will be issued.  Enter <cr> on a blank
  938. line and you will return to the ttylink converse mode with recording
  939. activated.  The command "record off" stops recording and closes the file.
  940.  
  941. 5.4.2.  upload <file>
  942.  
  943. Opens <file> (must be an ASCII, file, not a binary file) and sends it on the
  944. current ttylink session as though it were typed on the terminal.  If you are
  945. in ttylink converse mode and want to initiate uploading, you will need to use
  946. the <F10> key to escape back to command mode to issue the upload command.  The
  947. uploading is initiated, but the file contents are not displayed on the screen
  948. during the uploading and no message is displayed to indicate that the
  949. uploading is complete.  Enter <cr> on a blank line at the "net>" prompt and
  950. you will return to the ttylink converse mode.
  951.  
  952. 5.5.  Closing a Chat Session
  953.  
  954. To close a ttylink chat session, the following command is used:
  955.  
  956.         close [<session #>]
  957.  
  958.  
  959. If you are in ttylink converse mode, press <F10> to escape to the "net>"
  960. prompt to issue this command.  If you are running only one session, entering
  961. close without arguments will close the session.  If you have multiple
  962. sessions, entering close without arguments will initiate a close on the
  963. current session.  If you are running multiple sessions, the "session" command
  964. will display a list of these sessions.  Entering close with a session number
  965. argument will initiate a close on the specified session.  Only one of the
  966. hosts involved in the ttylink session needs to initiate the close.
  967. "Disconnect" is functionally the same command as "close."
  968.  
  969.  
  970.  
  971.  
  972. 6.  Mail
  973.  
  974. One of the most useful features of TCP/IP is electronic mail.  Mail can be
  975. delivered to your unattended machine and you can read it at your leisure.
  976. There is no need to log into a PBBS to pick up your messages.  Your messages
  977. can also be temporarily stored on your local switch and be delivered to your
  978. machine when you run NOS.
  979.  
  980.      NOS sends and receives mail using the simple mail transport protocol
  981. (SMTP).  There are two basic ways to compose and read these mail messages:
  982. through the NOS mailbox or BBS, described in section 8 below or through an
  983. external mail program.  There are several external mail programs which can be
  984. used, but only the simplest of these, the program BM, will be described in
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.                                     - 16 -
  995.  
  996.  
  997. this guide.  This section concentrates primarily on BM, but a few comments on
  998. SMTP are given in subsection 6.5.  In addition, a few comments on the post
  999. office protocol (POP) for mail store and forward are given in subsection 6.6.
  1000.  
  1001.      The BM.EXE mail user interface program was created by Bdale Garbee,
  1002. N3EUA, and despite popular belief, "BM" really stands for "Bdale's Mailer."
  1003. It was later extended by Gerard van der Grinten, PA0GRI, and Dave Trulli,
  1004. NN2Z.  BM version 3.3.2 890801 is documented here.
  1005.  
  1006. 6.1.  Executing BM
  1007.  
  1008. BM is a separate program from NOS and thus, it must be executed from a DOS
  1009. shell or subshell.  However, NOS provides a simple command which escapes to a
  1010. DOS subshell and executes BM.  When you quit BM, you also exit the subshell
  1011. and return to NOS command mode.
  1012.  
  1013.      If the command "multitask" is set to "on", NOS will continue to run while
  1014. the user is in BM.  If "multitask" is set to "off", all NOS sessions will be
  1015. suspended while the user is in BM.  For more information on "multitask", see
  1016. Section B.4.7 of Appendix B.
  1017.  
  1018.      BM is invoked by typing the following from a "net>" prompt:
  1019.  
  1020.         mail
  1021.  
  1022. BM will first read the mail configuration file, BM.RC, described in section
  1023. B.6 of Appendix B, and then will read the user mailbox defined in this
  1024. configuration file.  Using the BM main menu commands described in section 6.2,
  1025. you can then compose or read mail messages or manage your mailbox.
  1026.  
  1027.      If you use the command "!" to escape to a DOS subshell, BM may also be
  1028. invoked in another way:
  1029.  
  1030.         bm -u <mailbox> | -f <file>
  1031.  
  1032. With the argument "-u <mailbox>," you can specify which mailbox to read,
  1033. overriding that defined in BM.RC.  With the argument "-f <file>," BM will read
  1034. the messages from <file> instead of a mailbox.  This is useful if you have
  1035. saved previously received messages to a file, using the "s" command described
  1036. in section 6.2.6.
  1037.  
  1038.      When you invoke BM, a banner will be displayed, followed by two lines of
  1039. copyright information and then the mail header information, as described in
  1040. section 6.2.1 below.  Finally, there is a line reminding you to "Type ? for
  1041. help" and then a prompt, consisting of your user name in quotes followed by an
  1042. arrow (>).
  1043.  
  1044. 6.2.  BM Main Menu Commands
  1045.  
  1046. All BM main menu commands are single letters followed by optional arguments.
  1047.  
  1048.      A <msglist> is a space-delimited list of message numbers, for example:
  1049.  
  1050.         1 3 4 5
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.                                     - 17 -
  1061.  
  1062.  
  1063. The message numbers are given in the message headers.
  1064.  
  1065. 6.2.1.  h
  1066.  
  1067. Display message headers.  The message headers contain the message number, the
  1068. status indicating whether it has been read or deleted, the sender, size, date,
  1069. and subject.  For example:
  1070.  
  1071. Mailbox /nos/spool/mail/n6gf.txt - 3 messages, 1 new
  1072.  
  1073.  DY  1  n6cng@n6cng               02 Apr 16:31 7198 TCP/IP FTPUSERS
  1074.   Y  2  N6SPE@n6spe.ampr.org      02 Apr 17:40  576 Re: eyolo
  1075. > N  3  N6SPE@n6spe.ampr.org      02 Apr 17:42  942 Re: NOS log
  1076.  
  1077. In the first line above, "D" indicates that the message has been marked for
  1078. deletion and "Y" indicates that it has been read.  The message number is 1,
  1079. the sender is n6cng@n6cng it was sent on April 2 at 16:31, it 7198 characters
  1080. long and the subject is "TCP/IP FTPUSERS."  In the third line above, ">"
  1081. indicates that this is the current message and "N" means that it has not yet
  1082. been read.
  1083.  
  1084. 6.2.2.  ?
  1085.  
  1086. Display a help menu for BM commands.
  1087.  
  1088. 6.2.3.  [<msg#>]
  1089.  
  1090. Entering a message number from the header listing will cause the message text
  1091. to be displayed.  If a carriage return is entered on a blank line, the current
  1092. message will be displayed.
  1093.  
  1094. 6.2.4.  d [<msglist>]
  1095.  
  1096. Mark messages for deletion.  With no argument, the current message (indicated
  1097. by ">" in the first column of the message header) is marked for deletion.
  1098. Messages marked for deletion are removed when exiting BM via the "q" command,
  1099. when changing to an alternate mailbox with the "n" command, or when updating
  1100. with the "$" command.
  1101.  
  1102. 6.2.5.  u [<msglist>]
  1103.  
  1104. Undelete a message that is marked for deletion.  The status of a message can
  1105. be determined by looking at the status field of the message using the "h"
  1106. command.
  1107.  
  1108. 6.2.6.  s [<msglist>] [<file>]
  1109.  
  1110. The "s" command is used to save messages in a file.  If no file name is given
  1111. the file specified by the mbox variable in BM.RC is used.  If no message
  1112. number is supplied then the current message is saved.  If <file> does not
  1113. exist, it will be created.  If <file> does exist, the messages will be
  1114. appended to this file.  The messages are stored in the same format as a
  1115. mailbox file with all mail headers left intact.  This file can later be read
  1116. into BM by invoking BM with the "-f <file>" argument.
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.                                     - 18 -
  1127.  
  1128.  
  1129. 6.2.7.  w [<msglist>] <file>
  1130.  
  1131. The "w" command is used to save messages in a file.  Only the message body is
  1132. saved.  All mail headers are removed.  If no message number is supplied then
  1133. the current message is saved.
  1134.  
  1135. 6.2.8.  p [<msglist>]
  1136.  
  1137. The "p" command is used to send messages to the printer.  This command uses
  1138. the DOS device PRN for output.  If no message number is supplied then the
  1139. current message is printed.
  1140.  
  1141. 6.2.9.  m [<recipient_list>]
  1142.  
  1143. The "m" command is used to compose a message to be mailed to the list of
  1144. recipients, specified by mail addresses or aliases, which are described in
  1145. section 6.4.  All local recipient addresses (those which don't contain an "@")
  1146. are checked for possible aliases in the ALIAS file, described in section B.7
  1147. of Appendix B.  Each alias that is found, is expanded into its list of
  1148. addresses.  If no recipient list is supplied with the "m" command, you will be
  1149. prompted for a recipient list.
  1150.  
  1151.      When you are composing a message, several commands are available such as
  1152. invoking an editor or reading in text from other messages or files, as
  1153. described in section 6.3.  To end a message enter a line containing a single
  1154. period.
  1155.  
  1156.      It is important to remember that the input line buffer has a 128
  1157. character limit.  You should format your text by entering a carriage return at
  1158. the end of each line.  Typing excessively long lines may cause data loss due
  1159. to truncation when passing the message through other hosts.  Keeping lines
  1160. less than 80 characters is always a good idea.
  1161.  
  1162. 6.2.10.  r [<msg#>]
  1163.  
  1164. Reply to a message.  Reply reads the header information in order to construct
  1165. a reply to the sender.  The destination information is taken from the "From:"
  1166. or the "Reply-To:" header, if included.  If no message number is supplied the
  1167. current message is used.
  1168.  
  1169. 6.2.11.  f [<msg#>]
  1170.  
  1171. The "f" command is used to forward a mail message to another recipient.  If no
  1172. message number is supplied the current message is used.  The user is prompted
  1173. for the recipients and a subject.  The mail header is added to the message
  1174. text while retaining the complete original message in the body.  Also see the
  1175. ~m command.
  1176.  
  1177. 6.2.12.  b [<msg#>]
  1178.  
  1179. Bounce a message.  Bounce is similar to forwarding but instead of your user
  1180. information, the original sender information is maintained.  If no message
  1181. number is supplied the current message is used.
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.                                     - 19 -
  1193.  
  1194.  
  1195. 6.2.13.  n [<mailbox>]
  1196.  
  1197. Display or change the mailbox.  The "n" command with no arguments will display
  1198. a list of mailboxes containing mail.  If an argument is supplied, then the
  1199. current mailbox is closed and a new mailbox is opened.
  1200.  
  1201. 6.2.14.  l
  1202.  
  1203. List outbound messages.  The job number, the sender, and the destination for
  1204. each message is displayed.  A status of "L" will appear if the SMTP sender has
  1205. the file locked, meaning the message has begun to be sent to its destination.
  1206. If you find that a message has been in the locked state for a long period of
  1207. time, the corresponding SMTP session may be "stuck."  See section 11.1 for a
  1208. description of how to monitor the status of SMTP sessions and to reset them if
  1209. they get stuck.
  1210.  
  1211. 6.2.15.  k [<msglist>]
  1212.  
  1213.      Remove an outbound message from the send queue.  A message can be removed
  1214. from the send queue by specifying the job number obtained by the l command.
  1215. If the message is locked you will be warned that you may be removing a file
  1216. that is currently being sent by SMTP.  It is best not to remove locked
  1217. messages.  They are better handled with the "tcp reset" command, described in
  1218. section 11.1.2.
  1219.  
  1220. 6.2.16.  $
  1221.  
  1222. Update the mailbox, deleting messages marked for deletion.  If you have a
  1223. large number of messages in your mailbox and are cleaning it up by marking
  1224. unwanted messages for deletion, updating the mailbox will shorten the header
  1225. list.
  1226.  
  1227. 6.2.17.  x
  1228.  
  1229. Exit to DOS without changing the data in the mailbox.  Messages marked for
  1230. deletion will NOT be deleted.
  1231.  
  1232. 6.2.18.  q
  1233.  
  1234. Quit to DOS updating the mailbox.  Messages marked for deletion WILL be
  1235. deleted.
  1236.  
  1237. 6.3.  Text Input Commands
  1238.  
  1239. The following commands are available while composing a message.  The tilde
  1240. character (~) must be entered as the first character on a line.
  1241.  
  1242.      ~r <file>   Read <file> into the message buffer.
  1243.  
  1244.      ~m <msg#>   Read <msg#> into the message buffer.
  1245.  
  1246.      ~p          Display the text in the message buffer.
  1247.  
  1248.      ~e          Invoke the editor defined in BM.RC with a temporary file
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.                                     - 20 -
  1259.  
  1260.  
  1261.                  containing
  1262.  
  1263.                  the text in the message buffer.
  1264.  
  1265.      ~q          Abort the current message.  No data is sent.
  1266.  
  1267.      ~~          Insert a single tilde character into the message.
  1268.  
  1269.      ~?          Display the help menu of tilde escape commands.
  1270.  
  1271. 6.4.  Mail Addresses
  1272.  
  1273. Mail is addressed to a recipient, which is either a user at a host  or an
  1274. "alias," which is an alternative name for one or more recipients.  Aliases are
  1275. defined in the ALIAS file, described in section B.7 of Appendix B.  These
  1276. recipients can be on the local host or a remote host.
  1277.  
  1278.      Mail addressing varies from simple to mildly confusing.  The simplest
  1279. form is:
  1280.  
  1281.         <recipient>[@<host>]
  1282.  
  1283. If @<host> is not included, BM will search to see if <recipient> is in the
  1284. ALIAS file on the local host.  If it is, it will be expanded to the recipient
  1285. list given for the alias.  If <recipient> is not given in the alias file, the
  1286. message will be sent to <recipient> on the local host (this is probably not
  1287. what you intended, unless you have more than one user on your host).
  1288.  
  1289.      If the address <recipient>@<host> is used, the message will be sent to
  1290. <host>, where <recipient> is first looked up in the ALIAS file on <host>.  If
  1291. <recipient> is found to be an alias, it will be expanded to the recipient list
  1292. given for the alias, and the message will be forwarded to these recipients.
  1293. If <recipient> is not found in the alias file, the message will be delivered
  1294. to <recipient> on <host>.
  1295.  
  1296.      Host names can be found in your DOMAIN.TXT file, described in section B.5
  1297. of Appendix B.  Valid mail user names for a given host can be found using the
  1298. finger command, as described in section 10.2, if the finger files have been
  1299. set up on the the host.  If an ALIAS file has been distributed for your area,
  1300. mail addresses and aliases will be found there.  Otherwise, you will have to
  1301. contact the intended recipient and ask for his or her address.
  1302.  
  1303.      If the remote host of the recipient is not on the air when you try to
  1304. send the message, it will remain in your mail queue until some time when both
  1305. hosts are on the air at the time you attempt to send the message.  To avoid
  1306. this delay, switches have been set up in many areas which run 24 hours a day
  1307. and can be used for mail forwarding.  If the switch your recipient
  1308. communicates with is <switch> (a host name) and this switch forwards the mail
  1309. to your recipient using POP (post office protocol), then the mail can be
  1310. addressed as:
  1311.  
  1312.         <recipient>@<switch>
  1313.  
  1314. If POP is not used, then the address to be used is:
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.                                     - 21 -
  1325.  
  1326.  
  1327.         <recipient>%<host>@<switch>
  1328.  
  1329. Your mail will be transferred to <switch> and then forwarded to
  1330. <recipient>@<host>.
  1331.  
  1332. 6.5.  SMTP
  1333.  
  1334. NOS sends and receives mail using the simple mail transport protocol (SMTP).
  1335. This is handled automatically by NOS, although, you may want to "kick" out
  1336. your outgoing mail manually, as described below.
  1337.  
  1338.      When mail is received, SMTP displays the message:
  1339.  
  1340.         New mail arrived for <user> from <sender>
  1341.  
  1342. where <user> is the addressee of the received mail and <sender> is the mail
  1343. address of the person who sent the mail.
  1344.  
  1345.      If you have included the "smtp timer" command in your AUTOEXEC.NOS file
  1346. (see section B.4 of Appendix B), SMTP will check your outbound mail queue at
  1347. the time interval you have set to determine if there is any new outgoing mail
  1348. that should be sent.  If you haven't included this command, or you want to
  1349. send out your mail before the next timer interval, you can manually "kick" out
  1350. your outgoing mail, as described below.
  1351.  
  1352. 6.5.1.  smtp kick
  1353.  
  1354. Reviews the outgoing mail queue and attempts to deliver any pending mail.
  1355. This allows the user to "kick" the mail system manually.  The command can be
  1356. entered at a "net>" prompt after you have composed mail messages.
  1357.  
  1358. 6.5.2.  smtp list
  1359.  
  1360. List the messages in the outgoing mail queue.  For example:
  1361.  
  1362.          S  Job    Size Date  Time  Host    From
  1363.          L  171     244 03/13 07:13 n6spe   n6gf@n6gf
  1364.            n6spe%n6spe@eyolo
  1365.             173     243 03/13 07:14 n6yuv   n6gf@n6gf
  1366.            n6yuv%n6yuv@eyolo
  1367.  
  1368. The "L" entry in the "S" status column indicates that the message entry is
  1369. locked by SMTP; in other words, SMTP is attempting to send the message.
  1370.  
  1371. 6.5.3.  smtp kill <job_number>
  1372.  
  1373. Kills outgoing message number <job_number>, which is given in the "Job" column
  1374. in the "smtp list" command, as shown above.
  1375.  
  1376. 6.5.4.  smtp quiet [on|off]
  1377.  
  1378. Display or set the SMTP quiet flag.  This flag determines whether the bell
  1379. sounds when the system announces that incoming mail has arrived.  When quiet
  1380. is set to "off, you hear the bell.  With no arguments, "smtp quiet" displays
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.                                     - 22 -
  1391.  
  1392.  
  1393. the status of the flag.
  1394.  
  1395. 6.6.  POP
  1396.  
  1397. The Post Office Protocol (POP) stores mail on a host, then forwards it on
  1398. demand to a user's host.  It is well-adapted to amateur radio, in which many
  1399. users are only occasionally active on the network.  With the use of POP, the
  1400. forwarding host does not have to keep trying to establish an SMTP connection
  1401. to a destination host that is not always on the air, but rather, it waits for
  1402. the destination host to request that the mail be forwarded.
  1403.  
  1404.      You will have to inquire if POP service is provided in your area.  If so,
  1405. you will need to include "popmail" commands in your AUTOEXEC.NOS file, as
  1406. explained in Sections B.4.28 to B.4.30 in Appendix B.  The only command you
  1407. might want to use otherwise "kicks" the mail out of the forwarding host.
  1408.  
  1409. 6.6.1.  popmail kick <host>
  1410.  
  1411. Starts a pop forwarding session from the specified host.  This command is
  1412. needed when no interval is specified in the "popmail addserver" command,
  1413. described in Section B.4.28 in Appendix B.
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419. 7.  File Transfer
  1420.  
  1421. The ftp command provides for the transfer of files using the file transport
  1422. protocol.  It enables you to do the following:
  1423.  
  1424.         Transfer text and binary files between local and remote host
  1425.         List directories on a remote host
  1426.         Delete files on a remote host
  1427.         Create and remove directories on a remote host
  1428.  
  1429.  
  1430.      The remote host can be unattended and the ftp server on that host will
  1431. provide the requested services. File access privileges are defined in the
  1432. FTPUSERS file, described in section B.8 of Appendix B.  This file defines user
  1433. login names, passwords, directories to be accessed and file access privileges.
  1434. It is a common convention to allow arbitrary users limited access to files
  1435. under the special login names "anonymous" or "guest."
  1436.  
  1437. 7.1.  Ftp Command
  1438.  
  1439. The command ftp is used to initiate an ftp session.  It is invoked as:
  1440.  
  1441.         ftp <host>
  1442.  
  1443. where <host> is the desired remote host.  If the session is established, you
  1444. will enter converse mode on the new ftp session.  Only the ftp commands
  1445. described below are valid in an ftp session.
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.                                     - 23 -
  1457.  
  1458.  
  1459.      When the connection between the two machines is opened, you'll get a
  1460. banner from the remote machine, followed by a login prompt and a password
  1461. prompt.  If you've negotiated with the manager of the remote machine to have a
  1462. special login name and password set up for you in the FTPUSERS file, use these
  1463. names in your login.  If not, use one of the special login names, "anonymous"
  1464. or "guest," and in these cases, use your call sign as your password.  Your
  1465. login and password are recorded in the log file on the remote host, allowing
  1466. the manager of that host to keep track of ftp activity.  After you have logged
  1467. in, you will be presented with the ftp prompt: "ftp>".
  1468.  
  1469. 7.2.  Ftp Converse Mode Commands
  1470.  
  1471. The following are the ftp commands that are valid in ftp converse mode, issued
  1472. at the ftp prompt "ftp>".  Note that you may not have been granted permission
  1473. to use all of these commands.  Refer to Section B.8 of Appendix B for
  1474. information on the user permissions that are generally granted to remote
  1475. users.
  1476.  
  1477. 7.2.1.  dir [<remote_file>|<remote_directory> [<local_file>]]
  1478.  
  1479. Without arguments, "dir" requests that a full directory listing of the remote
  1480. server's current directory be sent to your display.  If one argument is given,
  1481. it is interpreted as a specific file or sub-directory on the remote file
  1482. system that is to be listed.  To refer to the current working directory, use
  1483. "." as the directory specification.  If two arguments are given, the second is
  1484. taken as the local file into which the directory listing should be written
  1485. (instead of being sent to the display).  The full listing gives the file
  1486. names, sizes, and creation dates.
  1487.  
  1488.      You should request a directory listing when you first log into an
  1489. unfamiliar machine.  There will often be a file named "readme" or
  1490. "whathere.txt" that will give some information about the files available on
  1491. the remote machine.  This file can then be acquired with a "get" command
  1492. (described below), and read on your machine to learn more about the files
  1493. available on the remote host.
  1494.  
  1495. 7.2.2.  ls [<file>|<directory> [<localfile>]]
  1496.  
  1497. "ls" is identical to the "dir" command except that an abbreviated directory
  1498. listing is provided.  This listing gives only the file names.
  1499.  
  1500. 7.2.3.  pwd
  1501.  
  1502. Displays the name of the current directory on the remote host ("pwd" literally
  1503. means "print working directory").
  1504.  
  1505. 7.2.4.  cd <remote_directory>
  1506.  
  1507. Changes the current directory on the remote host to the directory indicated by
  1508. <directory>, which must be an existing directory on the remote host.  The
  1509. directory specified can be relative to the current directory, or absolute,
  1510. with the name beginning at the root (\ or /).
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.                                     - 24 -
  1523.  
  1524.  
  1525. 7.2.5.  get <remote_file> [<local_file>]
  1526.  
  1527. Asks the remote host to send the file specified in the first argument and to
  1528. write the file on the local machine.  The second argument, if given, will be
  1529. the name of the file on the local machine; otherwise it will have the same
  1530. name as on the remote host.   See the "type" command below if the file
  1531. requested is other than an ASCII file.   If the file is over 10,000 characters
  1532. in size, you should only start the transfer when the radio channel is
  1533. relatively quiet.  Use the "abort" command described in section 7.3 below if
  1534. you want to terminate the transfer before it has been completed.
  1535.  
  1536. 7.2.6.  mget <remote_filename> [<remote_filename> ...]
  1537.  
  1538. Send a collection of files from the remote host.  File names may include wild
  1539. card characters; they will be interpreted and expanded into a list of files by
  1540. the remote host.  For example:
  1541.  
  1542.         mget *.txt
  1543.  
  1544. will send all files having a file name extension of ".txt".  The files will
  1545. have the same name on the local host that they had on the remote host.  See
  1546. the "type" command below if the files requested are other than ASCII files.
  1547. Use the "abort" command described in section 7.3 below if you want to
  1548. terminate the transfer before it has been completed.
  1549.  
  1550. 7.2.7.  put <local_file> [<remote_file>]
  1551.  
  1552. Asks the local host to send the file specified in the first argument and to
  1553. write the file on the remote machine.  The second argument, if given, will be
  1554. the name of the file on the remote host; otherwise it will have the same name
  1555. as on the local machine.  You must have write privilege on the remote host to
  1556. use this command.  Use the "abort" command below if you want to terminate the
  1557. transfer before it has been completed.  See the "type" command below if the
  1558. file to be sent is other than an ASCII file.
  1559.  
  1560. 7.2.8.  mput <local_filename> [<local_filename> ...]
  1561.  
  1562. Send a collection of files to the server.  File names may include wild card
  1563. characters; they will be expanded locally into a list of files to be sent.
  1564. For example:
  1565.  
  1566.         mput *.txt
  1567.  
  1568. will transfer all files having the file name extension ".txt" on the local
  1569. host.  The files will have the same name on the server as on the local system.
  1570. If the files you want to send are other than ASCII files, you must use the
  1571. "type" command below before initiating the transfer.  You must have write
  1572. privilege on the remote host to use this command.
  1573.  
  1574. 7.2.9.  quit
  1575.  
  1576. Terminates the ftp session.
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.                                     - 25 -
  1589.  
  1590.  
  1591. 7.2.10.  type [a | i]
  1592.  
  1593. Tells both the local and remote hosts the type of file that is to be
  1594. transferred.  Without arguments, the current mode is displayed.  The default
  1595. is "a", which means ASCII (i.e., a text file).  In "i" mode, which means
  1596. "image", files are sent exactly as they appear in the file system.  This mode
  1597. must be used when exchanging raw binary files (executables, compressed
  1598. archives, etc).  The file type must be set before a "get" or "put" command is
  1599. initiated.  The file type remains in effect until it is changed by a
  1600. subsequent "type" command.
  1601.  
  1602. 7.2.11.  dele <remote_file>
  1603.  
  1604. Deletes a file on the remote machine.  You must have delete privilege on the
  1605. remote host to use this command.
  1606.  
  1607. 7.2.12.  mkdir <remote_directory>
  1608.  
  1609. Creates a directory with the name <remote_directory> on the remote machine.
  1610. You must have write privilege on the remote host to use this command.
  1611.  
  1612. 7.2.13.  rmdir <remote_directory>
  1613.  
  1614. Deletes <remote_directory> on the remote machine.  The remote directory must
  1615. be empty before you can remove it.  You must have delete privilege on the
  1616. remote host to use this command.
  1617.  
  1618. 7.2.14.  verbose [0 | 1 | 2 | 3]
  1619.  
  1620. Set or display the level of message output in file transfers.  Verbose 0 gives
  1621. the least output, and verbose 3 the most, as follows:
  1622.  
  1623.      0: Display error messages only.
  1624.  
  1625.      1: Display error messages plus a one-line summary after each transfer
  1626.         giving the name of the file, its size, and the transfer time and rate.
  1627.  
  1628.      2: Display error and summary messages plus the progress messages
  1629.         generated by the remote FTP server.
  1630.  
  1631.      3: Display all messages. In addition, a "hash mark" (#) is displayed for
  1632.         every 1,000 bytes sent or received.
  1633.  
  1634. 7.2.15.  hash
  1635.  
  1636. A synonym for the "verbose 3" command.
  1637.  
  1638.  
  1639. 7.2.16.  user <username>
  1640.  
  1641. Normally you will be asked for your username when you log in to FTP.  However,
  1642. if you mistype your name and the remote system rejects it, you can then try
  1643. again with the "user" command.
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.                                     - 26 -
  1655.  
  1656.  
  1657. 7.2.17.  pass <password>
  1658.  
  1659. Normally you will be asked for your password when you log into FTP.  However,
  1660. if you mistype your password and the remote system rejects it, you can then
  1661. try again with the "pass" command.
  1662.  
  1663. 7.3.  Aborting a File Transfer
  1664.  
  1665. To abort a get, mget, put, mput, dir or ls operation in progress, it is
  1666. necessary to escape back to the command mode ("net>" prompt) and use the
  1667. "abort" command (this command works only on FTP sessions).
  1668.  
  1669. 7.3.1.  abort [<session #>]
  1670.  
  1671. Aborts an ftp file transfer operation in progress on the indicated session.
  1672. Issued without an argument, the current session is aborted.  Abort is valid
  1673. only when a transfer is in progress.  When a file transfer operation is
  1674. aborted, a partial copy of the transferred file will be left on the
  1675. destination machine, which must be removed manually if it is unwanted.  This
  1676. is also true for a dir or ls operation when the directory listing is written
  1677. as a local file.  After the abort is completed, you can return to the ftp
  1678. session and use other ftp converse commands.
  1679.  
  1680. 7.4.  Ftp Example
  1681.  
  1682. In the ftp example below, the user initiates an ftp session with the remote
  1683. host "eyolo," logs in as the user "anonymous," requests a directory listing,
  1684. changes to subdirectory, gets a binary file and terminates the session.  The
  1685. text given in parentheses to the right of the commands indicate what has been
  1686. typed by the user.
  1687.  
  1688. net> ftp eyolo                                              (ftp eyolo)
  1689. Resolving eyolo... Trying 44.2.0.96:ftp...
  1690. FTP session 1 connected to eyolo
  1691. 220 eyolo.ampr.org FTP version 911229 ready at Mon Mar 23 16:16:54 1992
  1692. Enter user name: anonymous                                  (anonymous)
  1693. 331 Enter PASS command
  1694. Password: n6gf                                              (n6gf)
  1695. 230 Logged in as anonymous, restrictions apply
  1696. ftp> dir                                                    (dir)
  1697. 200 Port command okay
  1698. 150 opening data connection for LIST /public
  1699. docs/                   16:42  3/02/92  lists/                  16:40  3/02/92
  1700. programs/               14:40  3/02/92  utility/                16:42  3/02/92
  1701. whathere.txt     1,755  18:22  3/21/92
  1702. 5 files. 6,959,104 bytes free.  Disk size 10,584,064 bytes.
  1703. LIST: 265 bytes in 13 sec (20/sec)
  1704. 226 File sent OK
  1705. ftp> cd programs                                            (cd programs)
  1706. 257 "/public/programs" is current directory
  1707. ftp> dir                                                    (dir)
  1708. 200 Port command okay
  1709. 150 Opening data connection for LIST /public/programs
  1710. bm.exe          41,225  17:55  2/25/92  nos.exe        174,454  17:43  2/25/92
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.                                     - 27 -
  1721.  
  1722.  
  1723. 2 files. 6,959,104 bytes free.  Disk size 10,584,064 bytes.
  1724. LIST: 135 bytes in 6 sec (23/sec)
  1725. 226 File sent OK
  1726. ftp> type i                                                 (type i)
  1727. ftp> get bm.exe                                             (get bm.exe)
  1728. 200 Type OK
  1729. 200 Port command okay
  1730. 150 opening data connection for RETR bm.exe
  1731. RETR: 41225 bytes in 1521 sec (27/sec)
  1732. 226 File sent OK
  1733. ftp> quit                                                   (quit)
  1734. 221 Goodbye!
  1735. FTP session 1 closed: EOF
  1736. Hit enter to continue
  1737.  
  1738.  
  1739.      The user's callsign was used as the password, which is shown in this
  1740. example.  However, the password is not echoed to the screen by the software.
  1741. After logging in, the prompt is "ftp>".  The display generated by the "dir"
  1742. command in this example shows that the user was logged into the /public
  1743. directory.  The listing shows that there is one file, named "whathere.txt," of
  1744. size 1755 bytes, created at 18:40 on 3/21/92.  There are also four
  1745. subdirectories, indicated by "/" at the end of their names: "docs/," "lists/,"
  1746. "programs/," and "utility/," all created on 3/2/92.  The dir output is
  1747. finished with the "226 File sent OK" message.  The command "cd programs" is
  1748. issued to change to the subdirectory programs.  A dir command on this
  1749. subdirectory shows that there are two files, "bm.exe" and "net.exe."  These
  1750. are executable programs since the file name extensions are "exe" and
  1751. therefore, they are binary files.  The "type i" command is issued so that a
  1752. binary file can be transferred.  Note that due to an apparent bug in the
  1753. program, the response to this command "200 Type OK" does not get displayed
  1754. until after the next ftp command is issued.  The "get" command is issued and
  1755. there will be a delay as the "bm.exe" file is retrieved.  This is also
  1756. finished when the message "226 File sent OK" is received.
  1757.  
  1758.  
  1759.  
  1760.  
  1761. 8.  Mailbox or BBS
  1762.  
  1763. NOS provides a service known either as a mailbox or a bulletin board system
  1764. (BBS).  This provides services for reading and composing mail, reading and
  1765. composing bulletins, listing file directories on a remote host, uploading and
  1766. downloading files, AX.25 connections from a remote host, and other services to
  1767. be explained below.  Note that many of these services are provided more
  1768. conveniently by other NOS commands.  The best use of these services by NOS
  1769. users is as an alternative to BM for reading and composing mail messages.
  1770. While I think that BM offers better services for these functions, the mailbox
  1771. has the advantage that it does not need the additional memory required by the
  1772. DOS subshell for running BM.
  1773.  
  1774.      The primary value of the NOS mailbox (BBS) is in providing TCP/IP
  1775. services for AX.25 users.  An AX.25 connection to a host running NOS enters
  1776. through the mailbox, giving the AX.25 user access to the AMPRNET.  This
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.                                     - 28 -
  1787.  
  1788.  
  1789. introduction to TCP/IP should encourage AX.25 users to switch to NOS and
  1790. become part of AMPRNET.  Since this service is not expected to be heavily
  1791. used, the documentation provided here is not very detailed.
  1792.  
  1793. 8.1.  Mailbox Messages
  1794.  
  1795. There are two commands that control messages that are sent to users who log
  1796. into your mailbox.
  1797.  
  1798. 8.1.1.  mbox motd <string>
  1799.  
  1800. Send <string> as the message of the day to a user who has just logged into
  1801. your mailbox.  Since many users may be unfamiliar with the use of this
  1802. mailbox, I use the following message of the day:
  1803.  
  1804.         mbox motd "Type 'H<cr>' for help, 'I<cr>' for information"
  1805.  
  1806. This message can be defined in the AUTOEXEC.NOS file, as described in Appendix
  1807. B.
  1808.  
  1809. 8.1.2.  mbox attend [on | off]
  1810.  
  1811. Display or set the mailbox "attended" flag.  This is used to announce in the
  1812. mailbox whether or not the station manager is present and willing to chat (via
  1813. the mailbox "Operator" command).  If the mailbox attended flag is off, the
  1814. response to the chat command is the message: "Sorry - the system is
  1815. unattended" and the mailbox prompt is again displayed.  If the mailbox
  1816. attended flag is on, a chat session is initiated.
  1817.  
  1818. 8.2.  Initiating a Mailbox Session
  1819.  
  1820. A mailbox session is initiated with the command
  1821.  
  1822.         telnet <host>
  1823.  
  1824. where <host> is either the local host (for reading and composing your own
  1825. mail) or a remote host.  To initiate a session on the local host, an
  1826. alternative command is:
  1827.  
  1828.         bbs
  1829.  
  1830. The mailbox session begins with a banner message including "KA9Q NOS" and the
  1831. name of the host.  The user is then prompted for a login name and a password.
  1832. You should always use your callsign for the login name.  If you have not used
  1833. the mailbox on this host before, you can usually use anything for the
  1834. password, including simply <cr>.  Until you have requested additional
  1835. permissions from the host manager (sysop), your privileges on this host will
  1836. be limited.  When the sysop gives you added privileges, you will also be given
  1837. a specific password.  Login names, passwords, and user permissions are defined
  1838. in the FTPUSERS file -- see Section B.8 of Appendix B.
  1839.  
  1840.      After entering your login name and password, some welcome information and
  1841. then a mailbox prompt is displayed; for example, on my local switch:
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.                                     - 29 -
  1853.  
  1854.  
  1855.  
  1856.         [NOS-H$]
  1857.         Welcome n6gf,
  1858.         to the eyolo.ampr.org TCP/IP Mailbox (911229 (PA0GRI v2.0h))
  1859.         Type 'H<cr>' for help, 'I<cr>' for information
  1860.  
  1861.         You have 2 messages  -  1 new
  1862.         Current msg# 1 :
  1863.          ?,A,B,C,D,E,F,H,I,J,K,L,M,N,O,P,R,S,T,U,V,W,X,Z >
  1864.  
  1865. The line after the "welcome" message is the "mbox motd" described above.  You
  1866. are told how many messages are waiting for you and how many of these are new.
  1867. Then the mailbox prompt is displayed, indicating the current message number
  1868. and reminding you of the first letters of all of the mailbox commands.
  1869.  
  1870.      An AX.25 user initiates a mailbox session by simply connecting to the
  1871. callsign of the TCP/IP host.  The login proceeds as for a NOS user.
  1872.  
  1873. 8.3.  Mailbox Commands
  1874.  
  1875. As indicated by the prompt above, there is a long list of mailbox commands.
  1876. These commands can be typed in full, or abbreviated by the first letter of the
  1877. command.  Note again that you may not have permission to use all of these
  1878. commands.  For details on the permission codes, see Section B.8 of Appendix B.
  1879.  
  1880. 8.3.1.  ?
  1881.  
  1882. Displays a summary of mailbox commands:
  1883.  
  1884. (?)help    (A)rea  (B)ye    (C)onnect (D)ownload (E)scape  (F)inger
  1885. (H)elp     (I)nfo  (J)heard (K)ill    (L)ist     (M)busers (N)odes
  1886. (O)perator (P)orts (R)ead   (S)end    (T)elnet   (U)pload  (V)erbose
  1887. (W)hat     (X)pert (Z)ap
  1888.  
  1889.  
  1890. 8.3.2.  Area [<area_name>]
  1891.  
  1892. The Area command, without an argument, lists the mail areas (i.e. mailboxes)
  1893. that contain messages you may read.  The list gives the name of each area,
  1894. followed by a description of the area's contents. When the Area command is
  1895. followed by a valid <area_name>, your current mail context will be switched to
  1896. the new area.  You may then use the Read and List commands to review messages
  1897. in the selected area.  To add your own message to one of these areas, first
  1898. select the area with the Area command, and then use the Send command to send
  1899. mail to that area.  The mail areas are defined in the AREAS file, described in
  1900. section B.10 of Appendix B.
  1901.  
  1902. 8.3.3.  Bye
  1903.  
  1904. The Bye command allows you to exit from the NOS mailbox. This closes your
  1905. mailbox file, removes any messages that you have deleted with the Kill command
  1906. and terminates the session.
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.                                     - 30 -
  1919.  
  1920.  
  1921. 8.3.4.  Connect [<port>] [<callsign> | <node>] [<digipeater> . . .]
  1922.  
  1923. The connect command allows you to connect to another AX.25 station through the
  1924. mailbox systems's radio port(s) or through a NET/ROM node known to the mailbox
  1925. system, or to initiate a keyboard chat with the mailbox system operator.
  1926.  
  1927.      You connect via AX.25 if you specify a <port> on the command line.  You
  1928. can determine what AX.25 ports are available by using the "Ports" command.
  1929. The connection will use your callsign with the SSID modified.  The station you
  1930. want to connect to is specified in the "<callsign>" parameter.  If you need to
  1931. reach this station via one or more digipeaters, enter the list list of
  1932. digipeaters following the destination station's callsign (note that the word
  1933. "via" is not needed).
  1934.  
  1935.      If you don't specify a <port> on the connect command, the system will
  1936. attempt to make a NET/ROM connection to the node given by the "<node>"
  1937. parameter.  You can get a list of nodes known to this system by using the
  1938. "Nodes" command.
  1939.  
  1940. 8.3.5.  Download [<directory>/] <filename>
  1941.  
  1942. The Download command sends an ASCII (plain text) file from the remote host to
  1943. the current directory of the local host. The optional <directory> is to be
  1944. included if the desired file is not in the current directory, as determined
  1945. with the What command.
  1946.  
  1947. 8.3.6.  DU [<directory>/] <filename>
  1948.  
  1949. The DU (download uuencoded) command sends a binary file, converted to
  1950. uuencoded ASCII from the remote host.  You will need the UUDECODE.EXE program
  1951. to convert this ASCII file back to binary after the download.
  1952.  
  1953. 8.3.7.  Escape [<escape_character>]
  1954.  
  1955. Without an argument, Escape displays the current escape character.  This
  1956. character is used to exit from a chat session. The escape character may be
  1957. changed to one of your preference by entering "Escape" followed by <space> and
  1958. the character that will become the new escape character.  This must be a
  1959. single typed character (the <CTRL> key may be used in addition).
  1960.  
  1961. 8.3.8.  Finger [<username>][@<host>]
  1962.  
  1963. The Finger command retrieves personal information about users of a system.
  1964. When issued without parameters, a list of known users on the mailbox host is
  1965. displayed.  For more information on the finger command, see section 10.2.
  1966.  
  1967. 8.3.9.  Help [<command_name>]
  1968.  
  1969. The Help command will display help for a given command.  Without a parameter,
  1970. "Help" will display the following list of command names for which help
  1971. information is available:
  1972.  
  1973. area        bye         connect     download    escape      finger
  1974. help        info        jheard      kill        list        musers
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.                                     - 31 -
  1985.  
  1986.  
  1987. nodes       operator    ports       read        send        telnet
  1988. upload      verbose     xpert       what        zap
  1989.  
  1990.  
  1991.      To provide help information on your own system, you will need to install
  1992. the mailbox help files, described in Section B.11 of Appendix B.
  1993.  
  1994. 8.3.10.  Info
  1995.  
  1996. The Info command provides information about the mailbox host.  This
  1997. information must be made available by the mailbox manager, as described in
  1998. Section B.11 of Appendix B.
  1999.  
  2000. 8.3.11.  Jheard [<interface>]
  2001.  
  2002. The Jheard command displays a list of all the station callsigns that have been
  2003. heard by the mailbox host packet station on the specified interface.  With no
  2004. argument, the "heard" lists for all interfaces is displayed.  The format of
  2005. the display is the same as that for the "ax heard" command, described in
  2006. section 10.1.
  2007.  
  2008. 8.3.12.  Kill <message_number> [<message_number> ...]
  2009.  
  2010. The Kill command deletes messages from the current mailbox area (if you have
  2011. been given that permission by the operator).  At least one message number must
  2012. be supplied.
  2013.  
  2014. 8.3.13.  List [<starting_msg_number> [<ending_msg_number>] ]
  2015.  
  2016. The List command displays a list of the messages in the current mailbox (or
  2017. "area").  For each message, the list contains the subject header line, the
  2018. time and date it was created, who it is from, how many bytes long it is, and
  2019. whether or not it has been read.  You may include an optional
  2020. <starting_msg_number> from which to begin displaying  the list.  If you
  2021. specify a starting message number, then  you may also specify an ending number
  2022. as well.  This will limit the display for you in case there are a large number
  2023. of messages in a particular "area" mailbox.
  2024.  
  2025. 8.3.14.  Musers
  2026.  
  2027. The Musers command displays a list of all the current users of the mailbox and
  2028. how they have connected to it.
  2029.  
  2030. 8.3.15.  Nodes [<node>]
  2031.  
  2032. The Nodes command without a parameter prints a list of NET/ROM nodes that are
  2033. known to the mailbox system.  For a specified known node, information on the
  2034. node is displayed.  A connection to one of these nodes can be attempted with
  2035. the "Connect <node>" command.
  2036.  
  2037. 8.3.16.  Operator
  2038.  
  2039. The Operator command initiates a keyboard chat with the operator of the
  2040. mailbox system. When you select this mode, a new  window  will be  opened on
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.                                     - 32 -
  2051.  
  2052.  
  2053. the  operator's  console, and whatever you type will be  visible  there.  If
  2054. the operator is present, and types something in return, it will be sent back
  2055. to you.  If the operator is not present (the mailbox attended flag is off on
  2056. the operator's host), you will receive the message "Sorry -- the system is
  2057. unattended" and the mailbox prompt will again be displayed.
  2058.  
  2059.      When you wish to  terminate the chat session, type  the  escape character
  2060. on your keyboard, and then press <cr>.  The default escape character is CTRL-
  2061. X.  This escape character may be changed to whatever you prefer by using the
  2062. "Escape" command.
  2063.  
  2064. 8.3.17.  Ports
  2065.  
  2066. The Ports command prints a list of AX.25 interfaces (ports) that are installed
  2067. on the mailbox system, along with a description if one has been setup for that
  2068. port.  These ports can be used to make outgoing AX.25 connections with the
  2069. "Connect" command.
  2070.  
  2071. 8.3.18.  Read <message_number> [<message_number> ...]
  2072.  
  2073. The Read command allows you to read a message (or messages) from the current
  2074. mail area.  The read a specific message, you may either type "read
  2075. <message_number>" or just the number by itself.  Typing <cr> at a mailbox
  2076. prompt displays the message indicated by the "Current msg #" in the prompt.
  2077.  
  2078. 8.3.19.  Send
  2079.  
  2080. There are three versions of the Send command, allowing you to compose or
  2081. forward a mail message:
  2082.  
  2083.         S[end] <username>[@<host>]
  2084.         SR [message_number]
  2085.         SF <user>[@<host>]
  2086.  
  2087. The "S" command allows you to compose a message to be sent to the indicated
  2088. address.  The "SR" command allows you to compose a "reply" to either the
  2089. current message or the message number specified.  The subject will be copied
  2090. and the reply will be sent to the address it was sent from.  In composing a
  2091. message, remember to enter <cr> at the end of each line and to terminate the
  2092. message with either /EX or CTRL-X followed by <cr>.  A message can be aborted
  2093. with CTRL-A.  The "SF" command will forward a copy of the current message to
  2094. the user specified.
  2095.  
  2096. 8.3.20.  Telnet <hostname>
  2097.  
  2098. The Telnet command allows you to initiate a mailbox or BBS session on another
  2099. host.  This allows an AX.25 user to gain access to the TCP/IP network.
  2100.  
  2101. 8.3.21.  Upload [<directory>/]<filename>
  2102.  
  2103. The Upload command allows you to transfer an ASCII file from the local host to
  2104. the mailbox host.   A directory other than the current working directory on
  2105. the mailbox host may be specified.  The transfer proceeds line-by-line until
  2106. the file is complete.  The transfer is terminated by entering either a CTRL-Z
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.                                     - 33 -
  2117.  
  2118.  
  2119. or /EX and <cr> on an otherwise blank line.
  2120.  
  2121. 8.3.22.  Verbose <message_number> [<message_number> ...]
  2122.  
  2123. The Verbose command is the same as the Read command, but all headers on the
  2124. mail message are displayed.  The Read command only displays an abbreviated
  2125. header.
  2126.  
  2127. 8.3.23.  What [<directory>]
  2128.  
  2129. The What command displays a sorted directory listing of the current directory
  2130. or the specified directory.
  2131.  
  2132. 8.3.24.  Xpert
  2133.  
  2134. The Xpert command toggles this mailbox session between using long and short
  2135. prompts.
  2136.  
  2137. 8.3.25.  Zap [directory>/]<file>
  2138.  
  2139. The Zap command deletes <file> in the current directory or the specified
  2140. directory.  You must be granted permission to delete files by the operator of
  2141. the mailbox system to use this command.
  2142.  
  2143.  
  2144.  
  2145.  
  2146. 9.  AX.25 Services
  2147.  
  2148. NOS provides AX.25 services, better known as the standard packet radio
  2149. protocol that you probably used before you switched to TCP/IP.  This allows
  2150. you to use NOS to move to another frequency and check into the local AX.25
  2151. PBBS, or to initiate a keyboard session with a friend who hasn't been
  2152. convinced to switch to TCP/IP yet.
  2153.  
  2154. 9.1.  Initiating an AX.25 Connection
  2155.  
  2156. The connect command is used to initiate an AX.25 connection.  The syntax is:
  2157.  
  2158.         connect ax0 <callsign> [<digipeater> ...  ]
  2159.  
  2160. This initiates an AX.25 session to the specified call sign.  Up to 7 optional
  2161. digipeaters may be given; note that the word "via" is NOT needed.  Data sent
  2162. on this session goes out in conventional AX.25 packets with no upper layer
  2163. protocol.  The de-facto presentation standard format is used, in that each
  2164. packet holds one line of text, terminated by a carriage return.  Two examples
  2165. are:
  2166.  
  2167.         connect ax0 n3eua                (connect direct to N3EUA)
  2168.         connect ax0 n3eua n1fed n0ccz    (connect to N3EUA via N1FED and N0CCZ)
  2169.  
  2170. In response to this command, a new session will be initiated, with the
  2171. following message for the first example above:
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.                                     - 34 -
  2183.  
  2184.  
  2185.  
  2186.         Trying N3EUA on ax0...
  2187.  
  2188. If the connection is made, the following is displayed:
  2189.  
  2190.         AX25 session 2 connected to n3eua
  2191.  
  2192. At this point, you're connected just like using a plain old TNC, on a session
  2193. which can be suspended, resumed, or closed as with all NOS sessions.
  2194.  
  2195.      When you're ready to disconnect, use the <F10> key to escape from the
  2196. session back to the "net>" prompt, and then type "disconnect", as described in
  2197. section 9.3.
  2198.  
  2199. 9.2.  File Upload and Download
  2200.  
  2201. AX.25 sessions can be recorded to a file and a file can be uploaded in place
  2202. of typing the information on the keyboard.
  2203.  
  2204. 9.2.1.  record <file> | off
  2205.  
  2206. Opens <file> and appends to it all data received or sent on the current AX.25
  2207. session.  If you are in AX.25 converse mode and want to initiate recording,
  2208. you will need to use the <F10> key to escape back to command mode to issue the
  2209. record command.  The message "Recording into <file>" will be displayed and
  2210. another "net>" prompt will be issued.  Enter <cr> on a blank line and you will
  2211. return to the AX.25 converse mode with recording activated.  The command
  2212. "record off" stops recording, displays the message "Recording off" and closes
  2213. the file.
  2214.  
  2215. 9.2.2.  upload <file>
  2216.  
  2217. Opens <file> and sends it on the current AX.25 session as though it were typed
  2218. on the terminal.  If you are in AX.25 converse mode and want to initiate
  2219. uploading, you will need to use the <F10> key to escape back to command mode
  2220. to issue the upload command.  The uploading is initiated, but the file
  2221. contents are not displayed on the screen during the uploading and no message
  2222. is displayed to indicate that the uploading is complete.  Enter <cr> on a
  2223. blank line at the "net>" prompt and you will return to the AX.25 converse
  2224. mode.
  2225.  
  2226. 9.3.  Terminating an AX.25 Connection
  2227.  
  2228. To terminate an AX.25 connection, use the following command:
  2229.  
  2230.         disconnect [<session #>]
  2231.  
  2232.  
  2233. If you are in AX.25 converse mode, press <F10> to escape back to the "net>"
  2234. prompt to issue this command.  If you are running only one session, entering
  2235. disconnect without arguments will terminate the connection.  If you have
  2236. multiple sessions, entering disconnect without arguments will initiate a close
  2237. on the current session.  If you are running multiple sessions, the "session"
  2238. command will display a list of these sessions.  Entering disconnect with a
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.                                     - 35 -
  2249.  
  2250.  
  2251. session number argument will initiate a close on the specified session. After
  2252. entering disconnect, if you re-enter the disconnected session, you will find
  2253. the message "AX25 session 1 closed:  Normal" and the session will be
  2254. terminated.  Note that "disconnect" is the same as the "close" command and
  2255. that the two command names can be used fully interchangeably.
  2256.  
  2257.  
  2258.  
  2259.  
  2260. 10.  Network Information and NOS Status
  2261.  
  2262. Several commands are available to acquire information about the network and
  2263. its users and about the status of NOS and its mailbox.
  2264.  
  2265. 10.1.  ax25 heard
  2266.  
  2267. Displays the AX.25 "heard" list.  For each interface that is configured to use
  2268. AX.25, a list of all AX.25 addresses (callsigns and host names) heard through
  2269. that interface is shown, along with a count of the number of packets heard
  2270. from each station and the interval, in hr:min:sec format, since each station
  2271. was last heard.  This entry is always present even if no packets have been
  2272. sent.  If this list is too long to be displayed on one screen, it will be
  2273. handled by the "more" function, although a new session will not be created.
  2274. For example:
  2275.  
  2276. Interface  Station   Time since send  Pkts sent
  2277. ax0        N6GF          0:00:00:11         74
  2278. Station   Time since heard Pkts rcvd : Station   Time since heard Pkts rcvd
  2279. N6SPE-1       0:00:00:08        328  : N6GF          0:00:00:11         73
  2280. KB6KYJ-15     0:00:00:33         17  : HIGH          0:00:00:33        419
  2281. K6DOP-15      0:00:00:56         50  : KB6RIH        0:00:16:21        140
  2282. N6YUV         0:00:25:07         43  : W6HIR-1       0:00:35:12         10
  2283.  
  2284. The first two lines indicate that the local host "N6GF" has sent out a total
  2285. of 74 packets on interface ax0, with the last packet sent 11 seconds ago.  The
  2286. following five lines provide information on eight remote hosts that have been
  2287. heard on the interface.
  2288.  
  2289.      To clear the "heard" list and begin accumulating new information, use the
  2290. command:
  2291.  
  2292.         ax25 flush
  2293.  
  2294.  
  2295. 10.2.  finger [<finger_file>][@<host>]
  2296.  
  2297. This command allows you to "finger" information files on your host or on a
  2298. remote host.  Finger files are described in section B.9 of Appendix B.
  2299. <finger_file> is the name of the finger information file you wish to query and
  2300. <host> is the name of the remote host where the file resides.
  2301.  
  2302.      If you issue the command in the following form:
  2303.  
  2304.         finger <finger_file>
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.                                     - 36 -
  2315.  
  2316.  
  2317. you can query information from a finger file on the local host, namely your
  2318. own system.  This is useful for testing finger on a system that you know is
  2319. running.
  2320.  
  2321.      The command in the following form:
  2322.  
  2323.         finger @<host>
  2324.  
  2325. returns a list of all finger files available on <host>.  It also displays a
  2326. list of users currently logged into the mailbox, in the following form:
  2327.  
  2328.         Current remote users:
  2329.         User       State    S#  Where
  2330.         n6spe      CMD      137 44.2.0.100:1033
  2331.  
  2332. This indicates that user N6SPE is at the mailbox prompt (CMD), in session
  2333. number 137, on IP address 44.2.0.100, port 1033.
  2334.  
  2335.      Finally, issuing the command in the form:
  2336.  
  2337.         finger <finger_file>@<host>
  2338.  
  2339. will display <finger_file> from <host>.  This initiates a new NOS session and
  2340. the output displayed is processed by the "more" command, described in Section
  2341. 4.4.2.
  2342.  
  2343. 10.3.  ping <host> [<length> [<interval>]]
  2344.  
  2345. This command is used to see if a remote host is on the air and if so, to
  2346. determine the quality of the path between the local and remote host.  When the
  2347. command is issued in the form:
  2348.  
  2349.         ping <host>
  2350.  
  2351. the remote host given in the argument is queried once.  If it returns an echo,
  2352. the IP number of the host and the round trip time required are displayed.  For
  2353. example:
  2354.  
  2355.         44.2.0.96: rtt 4007
  2356.  
  2357. In this case, the round trip to the remote host [44.2.0.96] took 4007 ms, or
  2358. about 4 seconds.  If no echo is received, due to the host being off the air, a
  2359. poor path to the host, or a packet collision, nothing is displayed.
  2360.  
  2361.      The default is to transmit a short ping packet.  The <length> argument
  2362. sets the byte-length of the transmitted ping packet.  This can be used to
  2363. determine if long packets result in frequent collisions.
  2364.  
  2365.      If the <interval> parameter is supplied, pings will be repeated
  2366. indefinitely at the specified interval.  This sets up a repetitive test, where
  2367. the remote host is queried at a time interval given by the number in the
  2368. second argument, interpreted in milliseconds.  Users should be careful not to
  2369. overdo this testing, as the ping queries will add to channel congestion.  The
  2370. results are displayed in a separate session, which can be suspended or
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.                                     - 37 -
  2381.  
  2382.  
  2383. resumed.  This session and the accompanying pings are continued until the
  2384. session is stopped by escaping back to the "net>" prompt and issuing the
  2385. "close" command.
  2386.  
  2387.      For example, the following command:
  2388.  
  2389.         ping eyolo 80 10000
  2390.  
  2391. results in the session display:
  2392.  
  2393. Resolving eyolo... Pinging eyolo (44.2.0.96); data 80 interval 10000 ms:
  2394.       sent      rcvd    %       rtt   avg rtt      mdev
  2395.          1         1  100      4947      4947         0
  2396.          2         2  100      3477      4763       368
  2397.          4         3   75      4374      4714       373
  2398.          5         4   80      3972      4621       465
  2399.  
  2400. Five packets were sent to the remote host eyolo and only packet 3 was not
  2401. received.  The column labeled "%" gives the percentage of pings received,
  2402. "rtt" gives the round-trip time for each packet, "avg rtt" is the running
  2403. average round-trip time, and "mdev" is the mean deviation of this time.
  2404.  
  2405.      The round-trip times reported by the "ping" command depend on the setting
  2406. of the "isat" mode.  If "isat" is on, times are reported to the nearest
  2407. millisecond.  If "isat" is off, times are reported in multiples of 55ms.  For
  2408. further information on the "isat" command, see section B.4.6 of Appendix B.
  2409.  
  2410. 10.4.  trace
  2411.  
  2412. The trace command is used to monitor the activity on an interface.  The syntax
  2413. of this command is:
  2414.  
  2415.         trace [<iface> [off | <btio_flags> [<tracefile>]]]
  2416.  
  2417.  
  2418.      The flags enable or disable tracing and determine the amount of
  2419. information displayed.  Without arguments, trace gives a list of all defined
  2420. interfaces and their tracing status.  When the radio interface <iface> is
  2421. specified, tracing status is given for this interface only.
  2422.  
  2423.      The Broadcast/Type/Input/Output (BTIO) flag settings specify the amount
  2424. of information produced.  The BTIO settings are expressed as a hexadecimal
  2425. number as follows:
  2426.  
  2427.         B=1:  Broadcast filter flag enabled.  Only packets specifically
  2428.               addressed to this interface will be displayed.  Broadcast
  2429.               packets will be ignored.
  2430.  
  2431.         B=0:  Broadcast filter flag disabled.
  2432.  
  2433.         T=2:  Protocol headers are decoded, and the entire packet
  2434.               (headers AND data) is also displayed in hexadecimal
  2435.               and ASCII, 16 characters per line.  Unprintable characters
  2436.               are displayed as dots.
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.                                     - 38 -
  2447.  
  2448.  
  2449.         T=1:  Protocol headers are decoded, and data (but not the
  2450.               headers themselves) are displayed as ASCII characters,
  2451.               64 characters/line.
  2452.  
  2453.         T=0:  Protocol headers are decoded, but data is not displayed.
  2454.  
  2455.         I=1:  Enable tracing of input packets.
  2456.  
  2457.         I=0:  Disable tracing of input packets.
  2458.  
  2459.         O=1:  Enable tracing of output packets.
  2460.  
  2461.         O=0:  Disable tracing of output packets.
  2462.  
  2463. By default, trace output is displayed on the screen.  If <tracefile> is given,
  2464. trace output is saved in the specified file.  The trace file is closed by
  2465. setting the BTIO flags to 0.
  2466.  
  2467.      For example, to trace the activity on interface ax0, with an ASCII
  2468. display:
  2469.  
  2470.         trace ax0 111
  2471.  
  2472. To turn off this tracing:
  2473.  
  2474.         trace ax0 000
  2475.  
  2476.  
  2477. 10.5.  status
  2478.  
  2479. The "status" command displays general information about NOS.  It is useful for
  2480. monitoring file access.  An example of the display generated by NOS:
  2481.  
  2482.         KA9Q Internet Protocol Package, v911229 (PA0GRI v2.0h)
  2483.         This version produced by Gerard van der Grinten - PA0GRI
  2484.  
  2485.         NOS load information:   Code Segment = 0caa - Data Segment = 5949
  2486.  
  2487.         The system time is Wed Mar 18 06:40:49 1992
  2488.         NOS was started on Tue Mar 17 21:28:08 1992
  2489.  
  2490.         Elapsed time => 0 days:09 hours:12 minutes:41 seconds.
  2491.  
  2492.         The station is currently Unattended.
  2493.         The 'Message Of The Day' is
  2494.         Please send email if I am not here -- thanks,  Gary
  2495.  
  2496.                          Table of Open Files.
  2497.                          --------------------
  2498.         Name           length   offset hnd acc PSP device type/owner
  2499.         ----           ------   ------ --- --- --- -----------------
  2500.         README  .TXT      536      536   1 rw 0636 drive C:    [nos.exe]
  2501.         NOS     .LOG     8757     8757   1 rw 0636 drive C:    [nos.exe]
  2502.         TMP6    .$$$     3950     2048   1 r  0636 drive C:    [nos.exe]
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.                                     - 39 -
  2513.  
  2514.  
  2515. The files listed include README.TXT, which was being displayed by a "more"
  2516. command, NOS.LOG, which is the NOS log file, discussed in section B.4.26 of
  2517. Appendix B, and TMP6.$$$, a temporary file created for a directory listing
  2518. generated by the "dir" command.
  2519.  
  2520. 10.6.  mbox status
  2521.  
  2522. Displays information about the current users of the NOS mailbox.  An example
  2523. of the display generated:
  2524.  
  2525.         User       State    S#  Where
  2526.         n6spe      CMD      145 44.2.0.100:1027
  2527.         n6cng      LOGIN    149 44.2.0.100:1028
  2528.  
  2529. This provides the callsigns of the users, the state of their activity, the
  2530. sequential session number, and the IP address and port under which their
  2531. session is conducted.  The state "CMD" means the user is at the command
  2532. prompt, and "LOGIN" means the user is in the midst of the login process.
  2533.  
  2534.  
  2535.  
  2536.  
  2537. 11.  Advanced Topics
  2538.  
  2539. While this document is intended to be a guide for beginners, there are a few
  2540. advanced topics of interest to many users that should be mentioned.  The
  2541. presentation of these topics is concise and the reader should consult the
  2542. "Network Operating System User Reference Manual," by Phil Karn and Gerard van
  2543. der Grinten, for details.
  2544.  
  2545.      Note that the commands included in the NOS configuration file,
  2546. AUTOEXEC.NOS, and described in Appendix B, can also be used interactively.
  2547. Further, these commands, when issued without their variable arguments, will
  2548. report the current values of these arguments.  For example, the "route"
  2549. command, issued without arguments, will display the current routing table.
  2550. These commands, issued with arguments, can be used to alter the configuration
  2551. of NOS while it is running.  For example, "route add," described in section
  2552. B.4.10, can be used to add entries to the routing table, possibly to
  2553. experiment with alternative routes.  To drop routes that are found to be
  2554. unreliable, the following command can be used:
  2555.  
  2556.         route drop <dest_host>
  2557.  
  2558. where <dest_host> is the IP address or host name for the destination of your
  2559. packets.  Note that if you find better routing methods with this
  2560. experimentation, you will have to edit the "route add" commands in your
  2561. AUTOEXEC.NOS file for this routing table to be in effect the next time you run
  2562. NOS.
  2563.  
  2564. 11.1.  TCP
  2565.  
  2566. The TCP command can be used to monitor and control session status at a lower
  2567. level than provided elsewhere in NOS.
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.                                     - 40 -
  2579.  
  2580.  
  2581. 11.1.1.  tcp status [<tcb_addr>]
  2582.  
  2583. Issued without the optional argument, this command displays the status table
  2584. for TCP sessions.  For example:
  2585.  
  2586. ( 1)tcpRtoAlgorithm              4     ( 2)tcpRtoMin                    0
  2587. ( 3)tcpRtoMax           4294967295     ( 4)tcpMaxConn          4294967295
  2588. ( 5)tcpActiveOpens               5     ( 6)tcpPassiveOpens              5
  2589. ( 7)tcpAttemptFails              0     ( 8)tcpEstabResets               0
  2590. ( 9)tcpCurrEstab                 2     (10)tcpInSegs                  109
  2591. (11)tcpOutSegs                 111     (12)tcpRetransSegs               5
  2592. (14)tcpInErrs                    0     (15)tcpOutRsts                   0
  2593.     &TCB Rcv-Q Snd-Q  Local socket           Remote socket          State
  2594. 750f0008     0   335  44.2.0.100:1037        44.2.0.32:smtp         Established
  2595. 758c0008     0     0  44.2.0.100:1035        44.2.0.96:ftp          Established
  2596. 74940008     0     0  0.0.0.0:smtp           0.0.0.0:0              Listen (S)
  2597. 70060008     0     0  0.0.0.0:telnet         0.0.0.0:0              Listen (S)
  2598. 749f0008     0     0  0.0.0.0:finger         0.0.0.0:0              Listen (S)
  2599. 6fdb0008     0     0  0.0.0.0:ftp            0.0.0.0:0              Listen (S)
  2600. 6ff90008     0     0  0.0.0.0:ttylink        0.0.0.0:0              Listen (S)
  2601.  
  2602.  
  2603.      The first seven lines give some TCP-level statistics, including the
  2604. number of packets received (tcpInSegs), sent (tcpOutSegs), retransmitted due
  2605. to collisions (tcpRetransSegs), current sessions (tcpCurrEstab), sessions
  2606. opened by a remote host (tcpPassiveOpens), and sessions opened by the local
  2607. host (tcpActiveOpens).  The table below gives a summary of all existing TCP
  2608. connections.  "&TCB" is the TCP address, "Rcv-Q" and "Snd-Q" are the numbers
  2609. of characters in the receiving and sending queues, "Local socket" and "Remote
  2610. socket" give the IP address and port of the local and remote host, "State"
  2611. gives the state of the session.  Note that the remote socket IP address is
  2612. given as 0.0.0.0 for the listening servers.  In this example, there is an
  2613. established outbound smtp session, assigned to port 1037 on the local host,
  2614. connected to the smtp server of the host with IP address 44.2.0.32.  335
  2615. characters are in the queue ready to be transmitted.  There is also an
  2616. established ftp session, assigned to port 1035 on the local host, connected to
  2617. the ftp server of the remote host with IP address 44.2.0.96.
  2618.  
  2619.      Issuing the command with the argument <tcb_addr>, taken from the "&TCB"
  2620. column in the table, will provide a more detailed table of information on the
  2621. specified TCP connection.  Of particular interest is the last line of the
  2622. table, which provides information about the retry timer.  This is the timer
  2623. that determines when a packet retransmission will be attempted.  It is
  2624. expressed in the form "running time/threshold time," both given in
  2625. milliseconds.  When the running time reaches the threshold, the pending packet
  2626. will be retransmitted.  If receipt of this packet is not acknowledged, the
  2627. threshold time will be increased and the running timer will be restarted.
  2628. When the channel becomes congested, the threshold time becomes very large, and
  2629. the data throughput drops substantially.  This is known as the "exponential
  2630. backoff" strategy of TCP/IP.
  2631.  
  2632.      You should display the TCP status before you exit NOS.  This will let you
  2633. know if there are any active connections.  For example, you should not exit
  2634. NOS if someone is running an FTP session with your host.  Except for the
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.                                     - 41 -
  2645.  
  2646.  
  2647. clatter of your disk drive, you would not be aware of an active FTP session
  2648. unless you check the TCP status.  If there are some active sessions, it is
  2649. best to leave NOS running so that your TCP/IP node stays on the air.  If you
  2650. think you have "stuck" sessions in which there is no active packet
  2651. transmission, see section 11.1.3 for information on resetting these sessions.
  2652.  
  2653. 11.1.2.  tcp kick <tcp_addr>
  2654.  
  2655. If there is data on the send queue of the TCP connection indicated by the
  2656. argument <tcb_addr>, taken from the table generated by the "tcp status"
  2657. command, this will force an immediate retransmission.  This can be attempted
  2658. if the connection appears to be "stuck."  This can happen if the route is
  2659. unreliable, or if there is considerable channel congestion.  This command
  2660. should be used sparingly, as it adds to channel congestion and defeats the TCP
  2661. strategies to deal with this congestion.
  2662.  
  2663. 11.1.3.  tcp reset <tcp_addr>
  2664.  
  2665. Resets the TCP connection indicated by the argument <tcp_addr>, taken from the
  2666. table generated by the "tcp status" command.  This effectively terminates the
  2667. connection.  While this command should not be used indiscriminently, there are
  2668. situations in which it is useful, primarily when a TCP connection has gotten
  2669. "stuck."  The three common situations in which a TCP connection can get stuck
  2670. are:  remote host has crashed, propagation path of the route to the remote
  2671. host has deteriorated, and there is extreme congestion on the channel.  In
  2672. each of these situations, tcp status for the corresponding TCP connection will
  2673. show an increasingly large threshold time.
  2674.  
  2675.      If you are in a telnet session or an AX.25 connection, you will find
  2676. times when the channel is so congested that you will wait nearly forever for a
  2677. response from the remote host.  If you want to give up on the session, escape
  2678. to NOS and close (or disconnect) the session.  If there is no response from
  2679. the remote host, the session can remain half open and should be reset using
  2680. the tcp reset command.
  2681.  
  2682.      Similarly, an ftp session can also become stuck.  If you are in the midst
  2683. of a file transfer (get or put operation), escape to NOS and use the "abort"
  2684. command to terminate the transfer.  Then the "quit" command will initiate a
  2685. close on the session.  If there is no response from the remote host, the half
  2686. open session should be reset using tcp reset.
  2687.  
  2688.      Another situation in which this command is appropriate for use is the
  2689. "stuck" smtp session.  As discussed in section 6.2.14, when a mail message has
  2690. begun to be sent, it is "locked."  If the route to the destination host is
  2691. unreliable, the exponential backoff strategy of TCP can cause the transfer to
  2692. be delayed almost indefinitely.  If you want to terminate the transfer, so
  2693. that you can try again at another time, or using a different route, you can
  2694. reset the corresponding TCP session.  When this is done, the associated mail
  2695. message is unlocked and can be resent, or killed from BM if you want to give
  2696. up on the message entirely.
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.                                     - 42 -
  2711.  
  2712.  
  2713.                           Appendix A.  TNC KISS Mode
  2714.  
  2715.      As explained in section 2.2, your TNC must be in KISS mode to run the NOS
  2716. program.  This appendix provides some information on how to enter the KISS
  2717. mode.
  2718.  
  2719.      For the TNC-2 and clones, using a telecommuncations program or an AX.25
  2720. packet program to communicate with the TNC, at the "cmd:" prompt, first type
  2721. "KISS ON" and you will receive the message "KISS WAS OFF" and another "cmd:"
  2722. prompt.  Type "RESTART" and you should note that the CON and STA LEDs will
  2723. flash three times to indicate you have entered the KISS mode.  This command
  2724. set will then have effect for subsequent power on/off cycles.  To return to
  2725. normal operation, enter the command "param ax0 255" at the "net>" prompt when
  2726. you are running the KA9Q TCP/IP software package.
  2727.  
  2728.      For Kantronics TNCs, again using a telecommunications program or an AX.25
  2729. packet program to communicate with the TNC, type "KISSMODE ON" while in
  2730. command mode, followed by "RESET," to put the TNC in KISS mode.  Turning the
  2731. TNC off and then on will cause the TNC to return to command mode.  If you
  2732. first turn KISSMODE ON and then PERM the value in EEPROM, when the TNC is
  2733. turned on, it will automatically be in KISS mode.
  2734.  
  2735.      To put the AEA PK232 into KISS mode, the following commands should be
  2736. sent to the TNC using a telecommunications program:
  2737.  
  2738.         START 0
  2739.         STOP 0
  2740.         XON 0
  2741.         XOFF 0
  2742.         XFLOW OFF
  2743.         CONMODE TRANS
  2744.         HPOLL OFF
  2745.         KISS ON
  2746.         RAWHDLC ON
  2747.         PPERSIST ON
  2748.         HOST ON
  2749.  
  2750.  
  2751.      You can also put your TNC in KISS mode using the NOS command "comm" to
  2752. send straight text to a TNC still in native command mode during NOS startup.
  2753. The syntax for "comm" is:
  2754.  
  2755.         comm ax0 "<string>"
  2756.  
  2757. "comm" sends a text-string via <interface>.  Note that the string is enclosed
  2758. by double quote characters to preserve spaces, tabs etc.  For example, for the
  2759. TNC2, you would send the two commands:
  2760.  
  2761.         comm ax0 "KISS ON"
  2762.         comm ax0 "RESTART"
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.                                     - 43 -
  2777.  
  2778.  
  2779.                    Appendix B.  Installation of NOS and BM
  2780.  
  2781.      As with most software, some effort is needed to get NOS and BM installed
  2782. and properly configured on your system.  This requires setting up the proper
  2783. directory structure and editing some configuration files.  While there are a
  2784. number of details to attend to, none of this is very difficult.
  2785.  
  2786.      The configuration files discussed below must be edited with a text
  2787. editor.  Any editor will do, as long as it writes ASCII (simple text) files.
  2788. A word processing program will work as well, as long as you have it write an
  2789. ASCII output file.
  2790.  
  2791. B.1.  Installation Overview
  2792.  
  2793.      It will be assumed that you have received a disk (or disks) containing at
  2794. least the files NOS.EXE and BM.EXE.  You may also have the files AUTOEXEC.NOS,
  2795. DOMAIN.TXT, FTPUSERS, and ALIAS, although if these were not included on your
  2796. distribution, don't worry, as you will be able to create them with an editor.
  2797.  
  2798.      NOS can be installed in any directory, but for this example, I will
  2799. assume that it will be installed in \nos, to be referred to as the NOS
  2800. directory, preferably on your C:\ hard disk drive, or otherwise on your A:\
  2801. floppy disk drive.  lf you choose to install NOS in another directory, just
  2802. replace \nos with the chosen directory in the directions below.  The steps
  2803. required for this installation are the following:
  2804.       1.Create the directory structure described in section B.2.
  2805.       2.Copy NOS.EXE and BM.EXE to the NOS directory.
  2806.       3.Edit your AUTOEXEC.BAT file in the root directory to include the NOS
  2807.         directory in the path and to add the environment variables, as
  2808.         described in section B.3.
  2809.       4.Create the file AUTOEXEC.NOS in the NOS directory and edit as
  2810.         described in section B.4.
  2811.       5.Create the file DOMAIN.TXT in the NOS directory and edit as described
  2812.         in section B.5.
  2813.       6.Create the file BM.RC in the NOS directory and edit as described in
  2814.         section B.6.
  2815.       7.Create the ALIAS file in the root directory and edit as described in
  2816.         section B.7.
  2817.       8.Create the FTPUSERS file in the NOS directory and edit as described in
  2818.         section B.8.
  2819.       9.Create the finger file(s) in the directory \nos\finger and edit as
  2820.         described in section B.9.
  2821.      10.Create the file AREAS in the directory \nos\spool as described in
  2822.         section B.10.
  2823.      11.Copy or create the mailbox help files in the directory \nos\spool\help
  2824.         as described in section B.11.
  2825.  
  2826.      Note that the NOS.EXE executable is generally provided in a self-
  2827. extracting compressed form.  It has been compressed to save disk space and
  2828. transfer time.  When you execute the program, it is automatically uncompressed
  2829. and thus occupies much more memory space than disk space.
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.                                     - 44 -
  2843.  
  2844.  
  2845. B.2.  File Structure
  2846.  
  2847.      Most of the required files will be kept in the NOS directory, but several
  2848. other directories must also be set up.
  2849.  
  2850. \nos\spool        The NOS log file (described in section B.3.26) is normally
  2851.                   stored in this directory.  The mail log file, MAIL.LOG is
  2852.                   created in this directory by smtp and the mailbox AREAS file
  2853.                   resides in this directory.
  2854.  
  2855. \nos\spool\mail   This directory holds the individual mailboxes for each user
  2856.                   name on your system.  The extension .txt is added to the
  2857.                   user name to form the mailbox name.  Mail received by the
  2858.                   SMTP server is appended to the mailbox file.
  2859.  
  2860. \nos\spool\mqueue The directory holds the outbound mail jobs.  Each job
  2861.                   consists of 2 files:  an xxx.txt and xxx.wrk file, where xxx
  2862.                   is a unique numerical prefix.  When the job is being sent,
  2863.                   an xxx.lck file is also created.  The file sequence.seq is
  2864.                   used to keep track of the last message number.  The mail
  2865.                   transport protocol, SMTP, and the mail program, BM, manage
  2866.                   the files in this directory.
  2867.  
  2868. \public           This directory and its sub-directories are normally set up
  2869.                   to hold the files available for anonymous ftp, described in
  2870.                   section B.8.
  2871.  
  2872. \nos\finger       This directory holds the finger files, described in sections
  2873.                   10.2 and B.9.
  2874.  
  2875. \nos\spool\help   This directory holds the mailbox help files, described in
  2876.                   section B.11.
  2877.  
  2878.      The files that reside in the NOS directory include:
  2879.  
  2880.         NOS.EXE
  2881.         BM.EXE
  2882.         AUTOEXEC.NOS
  2883.         HOSTS.NOS
  2884.         BM.RC
  2885.         ALIAS
  2886.         FTPUSERS
  2887.  
  2888.  
  2889. B.3.  DOS Environment -- AUTOEXEC.BAT
  2890.  
  2891. To set up the DOS environment to run NOS, you will need to make some additions
  2892. to your AUTOEXEC.BAT file.  First, the NOS directory must be included in the
  2893. PATH command.  Consult your DOS manual for information on the PATH command.
  2894. Second, several environment variables must be set, as described below.
  2895.  
  2896. B.3.1.  TZ
  2897.  
  2898. TZ is the time zone, used in mail headers.  An example TZ setting is:
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.                                     - 45 -
  2909.  
  2910.  
  2911.         set TZ=PST8
  2912.  
  2913. The first 3 characters are the time zone (PST, the Pacific Standard Time, in
  2914. the example above) and the fourth character is the number of hours from
  2915. Universal Coordinated Time (UTC).  If TZ is not set, UTC is assumed.
  2916.  
  2917. B.3.2.  BMRC
  2918.  
  2919. BMRC specifies the directory where the BM startup file, BM.RC, is located.
  2920. This is usually the NOS directory.  For example:
  2921.  
  2922.         set BMRC=C:\NOS
  2923.  
  2924. If BMRC is not set, BM attempts to find BM.RC in the root directory.
  2925.  
  2926. B.3.3  TMP
  2927.  
  2928. TMP specifies the directory where temporary files are created.  For example:
  2929.  
  2930.         set TMP=C:\TMP
  2931.  
  2932. If TMP is not set, the temporary files are created in the root directory.
  2933.  
  2934. B.4.  NOS Configuration File -- AUTOEXEC.NOS
  2935.  
  2936. The AUTOEXEC.NOS file, created in the NOS directory, has a function similar to
  2937. that of the AUTOEXEC.BAT file in DOS, hence the name.  When NOS is executed,
  2938. it reads AUTOEXEC.NOS and executes all of the commands as if they had been
  2939. typed in to the program from the keyboard.  This provides an easy mechanism
  2940. for setting up the initial system configuration, including setting the
  2941. callsign, IP address, hostname, AX.25 parameters, routing table, servers to
  2942. start, and protocol variables.
  2943.  
  2944.      An example AUTOEXEC.NOS file is often distributed with the NOS software.
  2945. This file is fully commented and explains how the example file should be
  2946. edited for your use.  If this file is not available, use a text editor to
  2947. create the file, following the instructions given in the subsections below.
  2948. It is suggested that you put the commands into AUTOEXEC.NOS in the order given
  2949. below.
  2950.  
  2951. B.4.1.  #
  2952.  
  2953. Commands starting with the hash mark (#) are ignored.  This is mainly useful
  2954. for comments in the AUTOEXEC.NOS file.  The comments can appear anywhere in
  2955. the file.
  2956.  
  2957. B.4.2.  hostname <host_name>
  2958.  
  2959. Sets the local host's name (an ASCII string, NOT an IP address).  This is
  2960. usually chosen to be <call>.ampr.org, where <call> is your amateur call sign.
  2961. The suffix "ampr.org" is officially recognized as meaning an "AMateur Packet
  2962. Radio" station.  Note that in some areas, only <call> is used as the hostname.
  2963. Your hostname will show up in mail headers and in the greeting messages from
  2964. the SMTP (mail), FTP (file transfer), and AX.25 mailbox servers.  For example:
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.                                     - 46 -
  2975.  
  2976.  
  2977.         hostname n6gf.ampr.org
  2978.  
  2979.  
  2980. B.4.3  ax25 mycall <callsign>[-<value>]
  2981.  
  2982. Set the local AX.25 address.  It does the same thing that "MYCALL" does in
  2983. your AX.25 TNC.  The standard format is used, e.g., KA9Q or WB6RQN-5.  The
  2984. optional dash (-) and <value> following the callsign is the SSID (substation
  2985. ID), used when it is necessary to distinguish between two or more packet
  2986. stations with the same callsign.  The SSID will be 0 unless explicitly set to
  2987. another value, which must be a integer number from 0 to 15.  This command must
  2988. be given before any attach command using the AX.25 mode is given.  For
  2989. example:
  2990.  
  2991.         ax25 mycall n6gf
  2992.  
  2993.  
  2994. B.4.4  ip address <ip_addr>
  2995.  
  2996. Sets the local IP address.  See section 2.4 for information on acquiring an IP
  2997. address.  For example:
  2998.  
  2999.         ip address [44.2.0.100]
  3000.  
  3001.  
  3002. B.4.5.  attach
  3003.  
  3004. The attach command configures and attaches a hardware interface to the system.
  3005. While many interfaces can be handled by NOS, in this guide, only a single
  3006. serial interface to a TNC running the KISS protocol will be considered.  The
  3007. general form of the command for our purposes is:
  3008.  
  3009.         attach asy <I/O address> <vector> ax25 <iface> <bufsize> <mtu> <baud>
  3010.  
  3011.  
  3012.      "asy" refers to a standard PC asynchronous interface.  Other hardware
  3013.      interfaces are supported by NOS, but will not be covered in this guide.
  3014.  
  3015.      <I/O address> is the base address of the control registers for the serial
  3016.      interface.
  3017.  
  3018.      <vector> is the interrupt vector number.  Both the I/O address and the
  3019.      vector must be in hexadecimal.  (You may put "0x" in front of these two
  3020.      values if you wish, but note that they will be interpreted in hex even if
  3021.      you don't use it).
  3022.  
  3023.      "ax25" forms IP datagrams to correspond to the AX.25 packet protocol.
  3024.      Other modes are supported by NOS, but will not be covered in this guide.
  3025.  
  3026.      <iface> is the name by which the interface will be known to the various
  3027.      commands, such as "connect," "route" and "trace".  You may choose any
  3028.      name you wish for each interface, although it is common to choose "ax0,"
  3029.      "ax1," etc.
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.                                     - 47 -
  3041.  
  3042.  
  3043.      <bufsize> specifies the size of the ring buffer in bytes to be statically
  3044.      allocated to the receiver in an asynchronous port; incoming bursts larger
  3045.      than this may (but not necessarily) cause data to be lost.  The suggested
  3046.      value is 1024.
  3047.  
  3048.      <mtu> is the maximum transmission unit size, in bytes.  Datagrams larger
  3049.      than this limit will be fragmented at the IP layer into smaller pieces.
  3050.      The suggested value is 256.
  3051.  
  3052.      <baud> is the baud rate of the serial communication between the computer
  3053.      and the TNC.  It must be chosen to be the same value as the baud rate
  3054.      selected on the TNC, as discussed in section 2.3.  The suggested value is
  3055.      4800 for an XT, and 9600 for an AT.
  3056.  
  3057. Example 1 -- Attach the PC serial card normally known as "com1" (the first
  3058. controller) to operate in AX.25 mode at 4800 baud with a KISS TNC:
  3059.  
  3060.         attach asy 0x3f8 4 ax25 ax0 1024 256 4800
  3061.  
  3062.  
  3063. Example 2 -- Attach the secondary PC serial card ("com2") to operate in AX.25
  3064. mode at 4800 baud with a KISS TNC:
  3065.  
  3066.         attach asy 0x2f8 3 ax25 ax0 1024 256 4800
  3067.  
  3068.  
  3069. B.4.6.  isat [on | off]
  3070.  
  3071. Sets the AT clock flag.  For a PC/AT, 386, or 486 machine, "isat" should be
  3072. set to "on."  For an original PC or PC/XT (8086 or 8088 machines), "isat"
  3073. should be set to "off." For example:
  3074.  
  3075.         isat on
  3076.  
  3077.  
  3078. B.4.7   multitask [on | off]
  3079.  
  3080. Set NOS multitasking.  When set to "on", NOS continues to run when the user
  3081. has issued the shell (!) or "mail" command.  This enables NOS to process
  3082. packets and begin sessions even while the user is at the DOS prompt or in BM
  3083. (or another mail program).
  3084.  
  3085.      The disadvantage to multitasking is increased memory usage, since memory
  3086. cannot be allocated by NOS due to the presence of the other program.  Thus
  3087. most versions of NOS grab some memory before actually shelling out and this
  3088. remains on the heap after NOS is re- entered.  Consequently the amount of core
  3089. memory available drops significantly the first time a shell is used.
  3090.  
  3091.      When set to "off", all NOS sessions are suspended when the user has
  3092. issued the shell (!) or "mail" command.  The sessions are restarted when the
  3093. user exits from the DOS subshell, or quits the mail program.
  3094.  
  3095.      For example:
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.                                     - 48 -
  3107.  
  3108.  
  3109.         multitask on
  3110.  
  3111.  
  3112. B.4.8.  ip ttl <value>
  3113.  
  3114.      Sets the default time-to-live value placed in each outgoing IP datagram.
  3115. This limits the number of switch hops the datagram will be allowed to take.
  3116. The idea is to bound the lifetime of the packet should it become caught in a
  3117. routing loop, so the value should be somewhat larger than the diameter of the
  3118. loop.  A suggested value is 16.  For example:
  3119.  
  3120.         ip ttl 16
  3121.  
  3122.  
  3123. B.4.9.  param ax0 <value1> <value2>
  3124.  
  3125.      Param invokes a device-specific control routine.  On a KISS TNC
  3126. interface, this sends control packets to the TNC.  Data values are treated as
  3127. decimal.  This command is used to change TNC parameters such as TXDELAY,
  3128. TXTAIL, PERSIST, and SLOTTIME.  This command is TNC-specific, so you must read
  3129. the documentation for the KISS implementation for your TNC.  Most KISS
  3130. implementations include good default values, so you shouldn't have to use this
  3131. feature, but if things don't work, you can use the "param"  command to try
  3132. tweaking the TNC.
  3133.  
  3134.      On a TNC-2, <value1>=1 will set TXDELAY (the time after key down when
  3135. packet information is transmitted) to <value2> times 0.01 seconds.  To set
  3136. TXDELAY to 0.5 seconds:
  3137.  
  3138.         param ax0 1 50
  3139.  
  3140.  
  3141.      On Kantronics TNCs, <value1>=1 sets TXDELAY to <value2> times 0.01
  3142. seconds, as with the TNC-2.  For <value1>=2, PERSIST is set to <value2>.  For
  3143. <value1>=3, SLOTTIME is set to <value2> X 0.01 seconds.  The default values
  3144. for these parameters are generally acceptable, so it is usually not necessary
  3145. to include these commands in AUTOEXEC.NOS.
  3146.  
  3147.      To properly set up the serial interface to your TNC, you need to include
  3148. the following commands, which set RTS (ready to send) and DTR (data terminal
  3149. ready):
  3150.  
  3151.         param ax0 rts 1
  3152.         param ax0 dtr 1
  3153.  
  3154.  
  3155. B.4.10.  route add
  3156.  
  3157.      The "route add" command adds an entry to the routing table, defining how
  3158. your outgoing packets should be routed.  Routing can be a complicated issue,
  3159. so it would be best for you to get some help on this from an experienced local
  3160. TCP/IP user.
  3161.  
  3162.      The command syntax is:
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.                                     - 49 -
  3173.  
  3174.  
  3175.  
  3176.         route add <dest_host>[/bits]|default ax0 [<gateway_host>]
  3177.  
  3178.  
  3179.      Your objective is to route your packets directly to those hosts that you
  3180. can "hear" and route your packets to the remaining hosts through hosts that
  3181. can serve as gateways (similar to AX.25 digipeaters).  The destination host
  3182. for your packets is <dest_host>, which is either an IP address or a host name,
  3183. as defined in the file DOMAIN.TXT, described in section B.4.  The gateway is
  3184. <gateway_host>, also an IP address or host name.  Note that it is not
  3185. necessary to specify the entire sequence of hosts from your system to the
  3186. destination, but rather only the destination and the first stop on the way.
  3187. If the routing table on the other hosts has been set up properly, your packets
  3188. will get to the desired destination.  Thus, everyone has to cooperate to keep
  3189. packets moving.
  3190.  
  3191.      In my area, N6RQR is over 40 miles away, but he is up in the foothills
  3192. above me and has a good station, so I can communicate with him directly.  His
  3193. IP address is [44.2.0.54], so I route packets directly to him with the
  3194. statement:
  3195.  
  3196.         route add [44.2.0.54] ax0
  3197.  
  3198.  
  3199.      The option "/bits" can be used to avoid having to include a route add
  3200. statement for each and every host you can communicate with directly.  To
  3201. understand this, more details on IP addresses are needed.  The IP address is a
  3202. 32-bit number, with four 8-bit numbers separated with periods (.).  Each 8-bit
  3203. number can range from 0 to 255.  The optional "/bits" suffix to the
  3204. destination host id specifies how many leading bits in the host IP address are
  3205. to be considered significant in the routing comparisons.  If not specified, 32
  3206. bits (i.e., full significance) is assumed.  With this option, a single routing
  3207. table entry may refer to many hosts all sharing a common bit string prefix in
  3208. their IP addresses.  For example, [44.0.0.0]/8 would match all addresses in
  3209. the form [44.*.*.*], where "*" is any number between 0 and 255; the remaining
  3210. 24 bits are "don't-cares".  When an IP address to be routed matches more than
  3211. one entry in the routing table, the entry with largest "bits" parameter (i.e.,
  3212. the "best" match) is used.  This allows individual hosts or blocks of hosts to
  3213. be exceptions to a more general rule for a larger block of hosts.
  3214.  
  3215.      The "/bits" option can be used to route packets directly to all the hams
  3216. on TCP/IP in my town.  We have been assigned IP addresses in the range
  3217. [44.2.0.96] to [44.2.0.111], so our addresses agree in the first 24 bits.
  3218. Further, 96 decimal is 01100000 binary and 111 decimal is 01101111 binary.
  3219. Thus, our addresses agree in an additional 4 bits, for a total of 28 bits.
  3220. The command used is:
  3221.  
  3222.         route add [44.2.0.96]/28 ax0
  3223.  
  3224.  
  3225.      Hams in a neighboring region have been assigned IP addresses of the form
  3226. [44.4.*.*].  N6RQR can forward packets to them, so we use him as a gateway
  3227. with the command:
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.                                     - 50 -
  3239.  
  3240.  
  3241.  
  3242.         route add [44.4.0.0]/16 ax0 n6rqr
  3243.  
  3244.  
  3245.      The special destination "default" is used to route datagrams to addresses
  3246. not in the routing table; it is equivalent to specifying a /bits suffix of /0
  3247. to any destination host.  Care must be taken with default entries since two
  3248. nodes with default entries pointing at each other will route packets to
  3249. unknown addresses back and forth in a loop until their time-to-live value is
  3250. exceeded (see "ip ttl" above). (Routing loops for specific addresses can also
  3251. be created, but this is less likely to occur accidentally).
  3252.  
  3253.      In my area, we route packets to all other destinations through our local
  3254. switch, which has the host name "eyolo."  The command used is:
  3255.  
  3256.         route add default ax0 eyolo
  3257.  
  3258.  
  3259. B.4.11.  smtp timer <value>
  3260.  
  3261.      Sets the interval to <value>, in seconds, between scans of the outbound
  3262. mail queue to determine if there is any new outgoing mail which should be
  3263. sent.  For example, "smtp timer 600" will cause the system to check for
  3264. outgoing mail every 10 minutes and attempt to deliver anything it finds.  For
  3265. an end-user system that is not normally intended as a mail forwarder, you do
  3266. not want to set the interval to be too short, as you will be frequently
  3267. accessing disk needlessly.  An interval of 30 minutes (<value>=1800) is
  3268. probably reasonable.  You can also "kick" out the mail manually, as described
  3269. in section 6.5.1.  The suggested command is:
  3270.  
  3271.         smtp timer 1800
  3272.  
  3273.  
  3274. B.4.12.  smtp gateway <host>
  3275.  
  3276.      Defines the host to be used as a "smart" mail relay.  Any mail sent to a
  3277. host not defined in the file "DOMAIN.TXT" will instead be sent to the gateway
  3278. for forwarding.  You will have to ask locally if there is a host that is used
  3279. as a mail gateway.  If so, include this command in AUTOEXEC.NOS.
  3280.  
  3281. B.4.13.  tcp mss <value>
  3282.  
  3283.      Set the TCP maximum segment size in bytes that will be sent on all
  3284. outgoing TCP connect requests (SYN segments).  This tells the remote end the
  3285. size of the largest segment (packet) it may send.  An mss of 216 will force
  3286. folks to send you packets of 256 characters or less (counting the overhead).
  3287. Suggested command:
  3288.  
  3289.         tcp mss 216
  3290.  
  3291.  
  3292. B.4.14.  tcp window <value>
  3293.  
  3294.      Sets the window parameter, which establishes the maximum number of bytes
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.                                     - 51 -
  3305.  
  3306.  
  3307. that may be outstanding before your system expects an ack.  If the window is
  3308. twice as big as mss, for example, there will be two active packets on the
  3309. channel at any given time.  Large values of window are a problem on the air.
  3310. Keep mss <= window <= 2*mss.  Suggested command:
  3311.  
  3312.         tcp window 432
  3313.  
  3314.  
  3315. B.4.15.  start <server>
  3316.  
  3317.      Starts the specified Internet server, allowing remote connection
  3318. requests.  Suggested commands:
  3319.  
  3320.         start ftp
  3321.         start telnet
  3322.         start ttylink
  3323.         start smtp
  3324.         start finger
  3325.         start ax25
  3326.  
  3327.  
  3328. B.4.16.  ax25 digipeat [on|off]
  3329.  
  3330.      Controls whether AX.25 packets addressed to this station as a digipeater
  3331. will be repeated or not.  If you want to operate as a digipeater (for those
  3332. poor souls not operating TCP/IP), include the following command:
  3333.  
  3334.         ax25 digipeat on
  3335.  
  3336.  
  3337. B.4.17.  ax25 filter <value>
  3338.  
  3339. Controls whether the list of call signs heard is logged or not.  <value> is
  3340. chosen from:
  3341.  
  3342.         0:  Log source and destination stations
  3343.         1:  Log destination stations only
  3344.         2:  Log source stations only
  3345.         3:  Disable all logging
  3346.  
  3347. In this guide, only source station log displays have been covered, so the
  3348. suggested command is:
  3349.  
  3350.         ax25 filter 2
  3351.  
  3352.  
  3353. B.4.18.  ax25 maxframe <value>
  3354.  
  3355.      Establishes the maximum number of frames that will be allowed to remain
  3356. unacknowledged at one time on AX.25 connections.  This number cannot be
  3357. greater than 7.  Suggested command:
  3358.  
  3359.         ax25 maxframe 1
  3360.  
  3361.  
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367.  
  3368.  
  3369.  
  3370.                                     - 52 -
  3371.  
  3372.  
  3373. B.4.18.  ax25 paclen <value>
  3374.  
  3375.      Limits the AX.25 packet length.  This parameter should be less than or
  3376. equal to the <mtu> defined in the attach command.  Suggested command:
  3377.  
  3378.         ax25 paclen 256
  3379.  
  3380.  
  3381. B.4.20.  ax25 retry <value>
  3382.  
  3383.      Limits the number of successive unsuccessful retransmission attempts on
  3384. AX.25 connections.  If this limit is exceeded, link re-establishment is
  3385. attempted.  If this fails "retry" times, then the connection is abandoned and
  3386. all queued data is deleted.  Suggested command:
  3387.  
  3388.         ax25 retry 10
  3389.  
  3390.  
  3391. B.4.21.  ax25 window <value>
  3392.  
  3393.      Sets the number of bytes that can be pending on an AX.25 receive queue.
  3394. Suggested command:
  3395.  
  3396.         ax25 window 2048
  3397.  
  3398.  
  3399. B.4.22.  attended [on | off]
  3400.  
  3401. This tells the host initiating the chat session if your system is attended or
  3402. not.  The default is "attend on" so if you do not regularly attend your
  3403. system, you should use the command:
  3404.  
  3405.         attended off
  3406.  
  3407.  
  3408. B.4.23  motd <string>
  3409.  
  3410. Sets the "message of the day," which is sent when another stations initiates a
  3411. keyboard chat (ttylink) session with you.  For example:
  3412.  
  3413.         motd "If station is unattended, please leave a mail message"
  3414.  
  3415.  
  3416. B.4.24.  mbox attended [on | off]
  3417.  
  3418. This tells a users logging into the mailbox if your system is attended or not.
  3419. Keyboard chat sessions are accepted if this flag is on.  If you do not
  3420. regularly attend your system, you should use the command:
  3421.  
  3422.         mbox attended off
  3423.  
  3424.  
  3425.  
  3426.  
  3427.  
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436.                                     - 53 -
  3437.  
  3438.  
  3439. B.4.25.  mbox motd <string>
  3440.  
  3441. Sets the mailbox "message of the day," which is sent when a user logs into
  3442. your mailbox.  For example:
  3443.  
  3444.         mbox motd "Type 'H<cr>' for help, 'I<cr>' for information"
  3445.  
  3446.  
  3447. B.4.26.  mbox expert <on | off>
  3448.  
  3449. Sets the prompt displayed in the mailbox.  When on, the full prompt shown in
  3450. Section 8.2 will be displayed.  When off, the prompt will be reduced to simply
  3451. ">."
  3452.  
  3453. B.4.27.  log <file>
  3454.  
  3455. Defines the name of the file for NOS log entries.  Don't include this command
  3456. if you don't want to keep a log.  The suggested command is:
  3457.  
  3458.         log \nos\spool\nos.log
  3459.  
  3460. You should read this file occasionally and then discard it, as it can grow to
  3461. be quite large.
  3462.  
  3463. B.4.28  popmail addserver <host> [<seconds>] <protocol> <mailbox> <username>
  3464. <password>
  3465.  
  3466. If you receive your mail through a local switch, you need to contact the
  3467. administrator of that system to see if "pop" (post office protocol) is used to
  3468. deliver the mail.  If so, you need to include the popmail addserver, kick, and
  3469. quiet commands in your AUTOEXEC.NOS file.
  3470.  
  3471.      The "popmail addserver" command defines parameters for receiving mail
  3472. from a POP server.  <host> is the name of the host providing POP service;
  3473. <seconds> is the interval in seconds between interrogations of the pop server
  3474. to see if you have mail waiting, which is typically set to 30 minutes (1800
  3475. seconds); <protocol> is either POP2 or POP3, depending on the service the host
  3476. is providing; <mailbox> is the name assigned to your mailbox on the pop host
  3477. (usually your callsign); and <username> and <password> are the username and
  3478. password assigned by the administrator of the pop server, which are often both
  3479. set to your callsign.
  3480.  
  3481.      For example, N6GF receives pop mail from the host "eyolo.ampr.org" and
  3482. includes the following command in his AUTOEXEC.NOS file:
  3483.  
  3484.         popmail addserver eyolo.ampr.org 1800 POP3 n6gf n6gf n6gf
  3485.  
  3486. If you regularly receive your mail from a pop server, then the mail address
  3487. you should give to your correspondents is <user>@<host>, where <user> is your
  3488. mail username (usually your callsign) and <host> is the name of the pop
  3489. server.  This address should be used in the "reply to" field in the BM.RC
  3490. file, described in section B.6 of this appendix.
  3491.  
  3492.  
  3493.  
  3494.  
  3495.  
  3496.  
  3497.  
  3498.  
  3499.  
  3500.  
  3501.  
  3502.                                     - 54 -
  3503.  
  3504.  
  3505. B.4.29.  popmail kick <host>
  3506.  
  3507. Starts a pop session with the specified host to retrieve mail.
  3508.  
  3509. B.4.30.  popmail quiet <yes | no>
  3510.  
  3511. Set the popmail quiet flag.  This flag determines whether you are notified of
  3512. new mail arriving via pop.
  3513.  
  3514. B.4.31.  remote <host> kick
  3515.  
  3516. If you receive mail from a local switch that is not running a pop server, then
  3517. you need to include the "remote" command in your AUTOEXEC.NOS file to "kick"
  3518. any pending mail deliveries.  <host> is the hostname of the switch which is
  3519. forwarding your mail.
  3520.  
  3521.      If you regularly receive your mail from a switch not running a pop
  3522. server, then the mail address you should give to your correspondents is
  3523. <user>%<local_host>@<remote_host>, where <user> is your mail username (usually
  3524. your callsign), <local_host> is the name of your host, and <remote_host> is
  3525. the name of the switch which forwards your mail.  This address should be used
  3526. in the "reply to" field in the BM.RC file, described in section B.6 of this
  3527. appendix.
  3528.  
  3529. B.5.  The Host Table -- DOMAIN.TXT
  3530.  
  3531. The file DOMAIN.TXT, residing in the NOS directory, provides a mapping between
  3532. an IP addresses and symbolic hostnames.  It is used by NOS to look up a
  3533. hostname to figure out the correct IP address to use.  These hostnames may be
  3534. used in establishing a TCP/IP connection, e.g. it is not necessary to enter
  3535. "telnet [44.2.0.98]", but merely "telnet n6spe".
  3536.  
  3537.      Each entry takes one line, and the fields are separated by tabs.  For
  3538. example:
  3539.  
  3540.         eyolo.ampr.org.       IN      A       44.2.0.96
  3541.  
  3542. "IN" is the class of the record.  It means Internet, and is included in all
  3543. enties.  "A" is the type of the record, and it means that this is an address
  3544. record.  Domain name eyolo.ampr.org therefore has Internet address 44.2.0.96.
  3545.  
  3546.      Another possible entry is the "CNAME" (Canonical Name) record.  For
  3547. example:
  3548.  
  3549.         pc.n6spe.ampr.org.          IN      CNAME   eyolo.ampr.org.
  3550.  
  3551. This says that domain name "a.n6spe.ampr.org" is actually an alias for the
  3552. system with (primary, or canonical ) domain name "eyolo.ampr.org." When a
  3553. domain name having a CNAME record is given to NOS, the system automatically
  3554. follows the reference to the canonical name and returns the IP address
  3555. associated with that entry.
  3556.  
  3557.      DOMAIN.TXT is a plain text file and it may be easily edited by the user
  3558. to add, change or delete records.  If there is an established group of TCP/IP
  3559.  
  3560.  
  3561.  
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567.  
  3568.                                     - 55 -
  3569.  
  3570.  
  3571. users in your area, they probably maintain an up-to-date DOMAIN.TXT table that
  3572. is made available by an ftp file transfer.
  3573.  
  3574. B.6.  Mail Configuration File -- BM.RC
  3575.  
  3576.      The BM.RC file, created in directory indicated by the BMRC environment
  3577. variable, provides BM with the configuration needed for the operation of the
  3578. mailer.
  3579.  
  3580.      The format for each line in the BM.RC file is:
  3581.  
  3582.         <variable> <value>
  3583.  
  3584. The variables described below are valid in the BM.RC file.
  3585.  
  3586. B.6.1.  host <host_name>
  3587.  
  3588.      Sets the local hostname for use in the mail headers.  This is a required
  3589. field.  This should match the hostname definition in AUTOEXEC.NOS.
  3590.  
  3591. B.6.2.  user <username>
  3592.  
  3593.      Defines the user name of the person who is sending mail.  This is also
  3594. used as the default mailbox for reading mail.  On the AMPRNET this is usually
  3595. set to your call.  There is a DOS limit of 8 characters for the user name.
  3596.  
  3597. B.6.3.  edit <directory>\<editor>
  3598.  
  3599.      Defines the name of the text editor you wish to use to compose and edit
  3600. the text of outgoing messages.  <editor> is the name of the editor and
  3601. <directory> is the name of the directory where it is stored on the host
  3602. computer.  The use of edit is optional.
  3603.  
  3604. B.6.4.  fullname <your full name>
  3605.  
  3606.      Provides your full name to the mailer for use in the comment portion of
  3607. the "From:" header line.  The use of fullname is optional.
  3608.  
  3609. B.6.5.  reply <return address>
  3610.  
  3611.      Defines the address where you wish to receive replies to messages sent.
  3612. This option is useful if you are operating your pc on a local area network and
  3613. would like your mail replies sent to a more "well known host," for example,
  3614. your local switch.  The address specified by reply is used to generate a
  3615. "Reply-To:" header in outbound mail.  The "Reply-To:" header overrides the
  3616. "From:" header which is the address normally used to reply to mail.  This
  3617. field is optional.
  3618.  
  3619. B.6.6.  mbox <file>
  3620.  
  3621.      Specifies the default file to be used for the "save" command, for saving
  3622. received messages.  This file is in the same format as a mailbox and may later
  3623. be viewed using the -f option of BM.  If this option is not used then the
  3624. default file name is set to mbox.  The full pathname of the file must be
  3625.  
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631.  
  3632.  
  3633.  
  3634.                                     - 56 -
  3635.  
  3636.  
  3637. given, or the file will be created in the root directory.
  3638.  
  3639. B.6.7.  record <file>
  3640.  
  3641.      If defined, a copy of each message sent will be saved in <file>.
  3642.  
  3643. B.6.8.  folder <directory>
  3644.  
  3645.      If defined folder contains the directory used by the save command.  If
  3646. not defined, files will be saved in the current directory.
  3647.  
  3648. B.6.9.  smtp <directory>
  3649.  
  3650. Defines the directory containing the mailbox files.  The default directory is
  3651. \spool\mail on the current drive.
  3652.  
  3653. B.6.10.  mqueue <directory>
  3654.  
  3655. Defines the directory containing the outgoing mail files.  The default
  3656. directory is \spool\mqueue on the current drive.
  3657.  
  3658. B.6.11.  Example BM.RC File
  3659.  
  3660. Here is an example of a BM.RC file:
  3661.  
  3662.         host n6gf.ampr.org
  3663.         user n6gf
  3664.         reply n6gf%n6gf@eyolo
  3665.         edit c:\bin\vi
  3666.         fullname Gary Ford
  3667.         mbox /ford/mail/mbox
  3668.         folder /ford/mail
  3669.         smtp /nos/spool/mail
  3670.         mqueue /nos/spool/mqueue
  3671.  
  3672.  
  3673. B.7.  The Alias File -- ALIAS
  3674.  
  3675.      The ALIAS file provides an easy way  to maintain mailing lists. The ALIAS
  3676. file must be located in the root directory for access from BM, in the NOS
  3677. directory for access from the mailbox and in both locations for access from
  3678. both BM and the mailbox.  It allows you to send mail to an easily-remembered
  3679. name, instead of a complicated address.  An alias can be any string of
  3680. characters not containing the "@" symbol.  The format for an entry in the
  3681. alias file is:
  3682.  
  3683.         <alias> <recip1> <recip2> <recip3>
  3684.         <TAB> <recip4> ...
  3685.  
  3686. where <alias> is the name you have given to this mailing list, which you will
  3687. use as a mail address and <recipN> mail address.  Note that a long list of
  3688. aliases can be continued on an additional line by placing a tab or space in
  3689. the first position of the continuation line.  A "#" as the first character on
  3690. a line indicates a comment.
  3691.  
  3692.  
  3693.  
  3694.  
  3695.  
  3696.  
  3697.  
  3698.  
  3699.  
  3700.                                     - 57 -
  3701.  
  3702.  
  3703.      Some example aliases are:
  3704.  
  3705.         spe n6spe%n6spe@eyolo
  3706.         dave nn2z@nn2z
  3707.         # mail to local eyolo users
  3708.         ey-gang n6gf%n6gf@eyolo n6spe%n6spe@eyolo
  3709.  
  3710. In the above example, when specifying ey-gang as the recipient, BM will expand
  3711. the alias into the list of recipients from the alias file.
  3712.  
  3713.      An alias may not contain another alias from the same file.  However, an
  3714. alias may contain a recipient name that is an alias on the local host or a
  3715. remote host.  For example, if the host "eyolo" contains the following alias in
  3716. addition to the aliases above:
  3717.  
  3718.         # gang mail
  3719.         gang se-gang@sesac nc-gang@ncsac ey-gang@eyolo
  3720.  
  3721. then mail addressed to "gang" will be forwarded to the alias "se-gang" at the
  3722. host "sesac," to the alias "nc-gang" at the host "ncsac" and to the alias
  3723. "ey-gang" on "eyolo" itself.  The mail forwarded to "ey-gang" will then be
  3724. forwarded again, as indicated by the example alias above for "ey-gang."
  3725.  
  3726.      The use of an ALIAS file is optional.  If you are just getting started
  3727. with TCP/IP, you might want to wait until you are more familiar with mail
  3728. addressing before you establish this file.  More information on mail
  3729. addressing is given in section 6.4.
  3730.  
  3731.      Your local TCP/IP user group may maintain an alias file, so you should
  3732. inquire as to its availability.
  3733.  
  3734. B.8.  The FTP and Mailbox Users File -- FTPUSERS
  3735.  
  3736.      Since MS-DOS was designed as a single-user operating system, it provides
  3737. no access control; all files can be read, written or deleted by the local
  3738. user.  It is usually undesirable to give such open access to a system to
  3739. remote network users.  The ftp server and the mailbox therefore provide their
  3740. own access control mechanisms.
  3741.  
  3742.      The file "FTPUSERS," created in the NOS directory, is used to control
  3743. remote ftp and mailbox access.  The default for ftp is NO file read/write
  3744. access.  Thus, if the FTPUSERS file isn't created, the ftp server will be
  3745. unusable.   The default for the mailbox is to allow users to read and send
  3746. mail, but not to have any file read/write access or any access to the mailbox
  3747. telnet, AX25, or NET/ROM ports.  For both ftp and the mailbox, a remote user
  3748. must first "log in" to the system, giving a login name and password.  For ftp,
  3749. this login name and password must be listed in FTPUSERS for the user to gain
  3750. access to file transfer commands.  For the mailbox, the login name must be a
  3751. callsign and it and password must be listed in FTPUSERS and have the needed
  3752. permissions set for the user to transfer files or to use the radio ports.
  3753.  
  3754.      Each entry in FTPUSERS consists of a single line of the form
  3755.  
  3756.         <username> <password> <path> <permission>
  3757.  
  3758.  
  3759.  
  3760.  
  3761.  
  3762.  
  3763.  
  3764.  
  3765.  
  3766.                                     - 58 -
  3767.  
  3768.  
  3769. There must be exactly one space between each field.  Comment lines are begun
  3770. with "#" in column one.
  3771.  
  3772.      <username> is the user's assigned login name.
  3773.  
  3774.      <password> is the required password.  Note that this is transmitted in
  3775.      plain text; therefore it is not a good idea to give general write
  3776.      permission to the root directory.  A password of "*" (a single asterisk)
  3777.      means that any password is acceptable.
  3778.  
  3779.      <path> is the list of directories in which the remote user is permitted
  3780.      to have access to files.  The directory names in this list must be
  3781.      absolute, i.e., starting from the root directory (/).  Multiple
  3782.      directories are specified by separating them with a ";" character and no
  3783.      spaces around it.
  3784.  
  3785.      <permission> is a decimal number granting permission for read, write, and
  3786.      overwrite and delete operations for directories in <path> and their
  3787.      subdirectories.
  3788.  
  3789. The permission codes are:
  3790.  
  3791.          1  Read files in directories in <path>
  3792.          2  Create new files in directories in <path>
  3793.          4  Overwrite and delete existing files in directories in <path>
  3794.          8  AX.25 gateway operation allowed from the mailbox
  3795.         16  Telnet gateway operation allowed from the mailbox
  3796.         32  NET/ROM gateway operation allowed from the mailbox
  3797.  
  3798. A permission of 2 allows a user to write a new file if it does not overwrite
  3799. an existing file.  A permission of 4 allows a user to write a file even if it
  3800. overwrites an existing file, and to delete files.   These permissions are
  3801. additive.  For example, 3 (2 + 1) means that the user is given read and create
  3802. permission, but not overwrite/delete permission.  Similarly, 7 (4 + 2 + 1)
  3803. means that the user is given read, write, overwrite and delete privileges.
  3804. Also, 63 (32 + 16 + 8 + 4 + 2 + 1) provides all read, write, overwrite, and
  3805. delete permissions and gives access to all gateways.
  3806.  
  3807.      It is a standard convention to keep a repository of downloadable files in
  3808. the directory \public and to allow users to logon with the username
  3809. "anonymous" with no password to access these files.  In some areas, the public
  3810. access username is "guest."  Every system providing an FTP server is
  3811. encouraged to provide restricted access to "anonymous" and "guest" users.  The
  3812. appropriate FTPUSERS entries allowing the users "anonymous" and "guest" to
  3813. read and write files under /public and subdirectories, but not to overwrite or
  3814. delete any files are:
  3815.  
  3816.         anonymous * /public 3
  3817.         guest * /public 3
  3818.  
  3819.  
  3820.      You might want to give a friend access to both his or her own directory
  3821. as well as the public access directory and to have gateway access.  For
  3822. example:
  3823.  
  3824.  
  3825.  
  3826.  
  3827.  
  3828.  
  3829.  
  3830.  
  3831.  
  3832.                                     - 59 -
  3833.  
  3834.  
  3835.  
  3836.         n6spe test /users/n6spe;/public 31
  3837.  
  3838. This gives user "n6spe," with password "test," read, write, overwrite and
  3839. delete privileges for files under /users/n6spe and /public and their sub-
  3840. directories, as well as access to your AX.25 and telnet gateways (permission
  3841. 31 = 1 + 2 + 4 + 8 + 16).
  3842.  
  3843.      A login name of "univperm" has a special meaning in the user validation
  3844. mechanism.  If univperm is included as a valid login name in FTPUSERS, then
  3845. any unknown user (not otherwise listed in FTPUSERS) will be given the
  3846. permissions indicated by the univperm entry.  This is primarily useful for
  3847. giving limited permissions to new mailbox users.  For example:
  3848.  
  3849.         univperm * /public 27
  3850.  
  3851. This gives an unknown user read and write file access and allows operation on
  3852. the AX.25 and telnet gateways (permission 27 = 1 + 2 + 8 + 16).
  3853.  
  3854. B.9.  Finger Files
  3855.  
  3856. Finger files are information files stored in the \nos\finger directory.  It is
  3857. common practice to set up a file for each of the users on the host.  Thus, if
  3858. n6gf is a user, he should have an information file named "n6gf."  This file is
  3859. edited with a text editor and should include information about the user such
  3860. as his or her full name, address, and phone number.  Additionally, information
  3861. about the packet system, such as computer, TCP/IP software, TNC, radio, and
  3862. antenna could be included.  Using the finger command, as described in section
  3863. 10.2, the remote user can access the names of the finger files and then have
  3864. them displayed on his or her console.  Thus, you could have a separate
  3865. information file for your system and include general information about the
  3866. files available for downloading and your usual hours of operation.  There is
  3867. no specified format for these files.  They will be displayed on the remote
  3868. host just as they appear in the file.
  3869.  
  3870. B.10.  Mailbox Areas File
  3871.  
  3872. The AREAS file in \nos\spool specifies public message areas which can be
  3873. accessed from the "areas" command in the mailbox.  The area names start in the
  3874. first column.  A line having a space as the first character is taken to be a
  3875. descriptive comment.  The "areas" command in the mailbox, issued without an
  3876. argument, will display the entire AREAS file to the remote user.
  3877.  
  3878.      An example AREAS file:
  3879.  
  3880.  ________________________________________________________
  3881.                                                         |
  3882.              Eyolo Public Message Areas                 |
  3883.              ==========================                 |
  3884.                                                         |
  3885. nos       Discussion of the NOS software                |
  3886. tcpip     General discussion of tcp/ip                  |
  3887. packet    General discussion of packet radio            |
  3888.                                                         |
  3889.  
  3890.  
  3891.  
  3892.  
  3893.  
  3894.  
  3895.  
  3896.  
  3897.  
  3898.                                     - 60 -
  3899.  
  3900.  
  3901.  To enter an area, type "a" followed by the area name.  |
  3902.  For example:"a nos".  To then list the messages        |
  3903.  available to be read, type "l"                         |
  3904.  _______________________________________________________|
  3905.  
  3906.  
  3907. B.11.  Mailbox Help Files
  3908.  
  3909. To complete the implementation of the "help" command in the mailbox, a set of
  3910. help files must be created in the directory \nos\spool\help.  These files must
  3911. be named as follows:
  3912.  
  3913. area.hlp       finger.hlp     list.hlp       read.hlp       what.hlp
  3914. bye.hlp        help.hlp       musers.hlp     send.hlp       xpert.hlp
  3915. connect.hlp    info.hlp       nodes.hlp      telnet.hlp     zap.hlp
  3916. download.hlp   jheard.hlp     operator.hlp   upload.hlp
  3917. escape.hlp     kill.hlp       ports.hlp      verbose.hlp
  3918.  
  3919. Each file is an ASCII (plain text) file, providing help information for the
  3920. command indicated by the file name.  For example, the file "finger.hlp"
  3921. provides information about the "finger" command.  A set of help files is
  3922. available and may have been included in the NOS distribution you received, or
  3923. may be available in the public directories on a local host.  If not, you can
  3924. create these files in a text editor, using the command information provided in
  3925. this guide.  Even if you have acquired a set of help files, you will need to
  3926. edit the "info.hlp" file, as this file provides information about your packet
  3927. station.
  3928.  
  3929.  
  3930.  
  3931.  
  3932.  
  3933.  
  3934.  
  3935.  
  3936.  
  3937.  
  3938.  
  3939.  
  3940.  
  3941.  
  3942.  
  3943.  
  3944.  
  3945.  
  3946.  
  3947.  
  3948.  
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954.  
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.                                     - 61 -
  3965.  
  3966.  
  3967.                      Appendix C.  IP Address Coordinators
  3968.  
  3969. Listed below are the coordinators for IP address assignments, as of January
  3970. 15, 1992.  This list is updated several times a year and is generally
  3971. available on AX.25 PBBS systems.
  3972.  
  3973. 44.002    Bob Meyer             K6RTV      Calif: Sacramento
  3974. 44.004    Douglas Thom          N6OYU      Calif: Silicon Valley - San Francisco
  3975. 44.006    Don Jacob             WB5EKU     Calif: Santa Barbara/Ventura
  3976. 44.008    Brian Kantor          WB6CYT     Calif: San Diego
  3977. 44.010    Terry Neal            AA6TN      Calif: Orange County
  3978. 44.012    Steven King           KD7RO      Eastern Washington,Idaho
  3979. 44.014    John Shalamskas       KJ9U       Hawaii & Pacific Islands
  3980. 44.016    Jeff Angus            WA6FWI     Calif: Los Angeles - S F Valley
  3981. 44.017    Dana Myers            KK6JQ      Calif: Antelope Valley/Kern County
  3982. 44.018    Geoffrey Joy          KE6QH      Calif: San Bernardino & Riverside
  3983. 44.020    Fred Schneider        K0YUM      Colorado: Northeast
  3984. 44.022    John Stannard         KL7JL      Alaska
  3985. 44.024    Dennis Goodwin        KB7DZ      Washington state: Western (Puget Sound)
  3986. 44.026    Ron Henderson         WA7TAS     Oregon
  3987. 44.028    Don Adkins            KD5QN      Texas: Dallas
  3988. 44.030    J Gary Bender         WS5N       New Mexico
  3989. 44.032    Bdale Garbee          N3EUA      Colorado: Southeast
  3990. 44.034    Jeff Pierce           WD4NMQ     Tennesee
  3991. 44.036    Doug Drye             KD4NC      Georgia
  3992. 44.038    Mike Abbott           N4QXV      South Carolina
  3993. 44.040    Jeff Jacobsen         WA7MBL     Utah
  3994. 44.042    Phil Akers            WA4DDE     Mississippi
  3995. 44.044    Ed Thorne             WB1FEM     Massachusetts: western
  3996. 44.046    William Simmons       WB0ROT     Missouri
  3997. 44.048    Jacques Kubley        KA9FJS     Indiana
  3998. 44.050    Ron Breitwisch        KC0OX      Iowa
  3999. 44.052    Gary Grebus           K8LT       New Hampshire
  4000. 44.054    Ralph Stetson         KD1R       Vermont
  4001. 44.056    Don Hughes            KA1MF      Eastern Mass
  4002. 44.058    Rich Clemens          KB8AOB     West Virginia
  4003. 44.060    Howard Leadmon        WB3FFV     Maryland
  4004. 44.062    Jim Dearras           WA4ONG     Virginia (not DC)
  4005. 44.064    Dave Trulli           NN2Z       New Jersey: northern
  4006. 44.065    Bob Applegate         WA2ZZX     New Jersey: southern
  4007. 44.066    John DeGood           NU3E       Delaware
  4008. 44.068    Bob Foxworth          K2EUH      New York: Long Island
  4009. 44.069    Paul Gerwitz          WA2WPI     New York: upstate
  4010. 44.070    Gary Sanders          N8EMR      Ohio
  4011. 44.072    Ken Stritzel          WA9AEK     Chicago - North Ill.
  4012. 44.074    James Curran          KA4OJN     North Carolina (east)
  4013. 44.075    Charles Layno         WB4WOR     North Carolina (west)
  4014. 44.076    Kurt Freiberger       WB5BBW     Texas: south
  4015. 44.077    Rod Huckabay          KA5EJX     Texas: west
  4016. 44.078    Joe Buswell           K5JB       Oklahoma
  4017. 44.080    John Gayman           WA3WBU     Pennsylvania: eastern
  4018. 44.082    Steven Elwood         N7GXP      Montana
  4019. 44.084    Bob Ludtke            K9MWM      Colorado: Western
  4020. 44.086    Reid Fletcher         WB7CJO     Wyoming
  4021.  
  4022.  
  4023.  
  4024.  
  4025.  
  4026.  
  4027.  
  4028.  
  4029.  
  4030.                                     - 62 -
  4031.  
  4032.  
  4033. 44.088    Jon Bloom             KE3Z       Connecticut
  4034. 44.090    Mike Nickolaus        NF0N       Nebraska
  4035. 44.092    Pat Davis             KD9UU      Wisconsin, upper peninsula Michigan
  4036. 44.094    Gary Sharp            WD0HEB     Minnesota
  4037. 44.096    Don Bennett           K4NGC      District of Columbia
  4038. 44.098    Garry Paxinos         (waiting)  Florida
  4039. 44.100    Ken Adkisson          WB4FAY     Alabama
  4040. 44.102    Jeff King             WB8WKA     Michigan (lower peninsula)
  4041. 44.104    Charles Greene        W1CG       Rhode Island
  4042. 44.106    Tyler Barnett         N4TY       Kentucky
  4043. 44.108    James Dugal           N5KNX      Louisiana
  4044. 44.110    Richard Duncan        WD5B       Arkansas
  4045. 44.112    Bob Hoffman           N3CVL      Pennsylvania: western
  4046. 44.114    Steven Elwood         N7GXP      N&S Dakota
  4047. 44.116    Tom Kloos             WS7S       Oregon: NW&Portland,Vancouver WA
  4048. 44.118    Jon Andrews           WA2YVL     Maine
  4049. 44.120    unassigned
  4050. 44.122    Dale Puckett          K0HYD      Kansas
  4051. 44.124    David Dodell          WB7TPY     Arizona
  4052. 44.125    Earl Petersen         KF7TI      Southern Nevada
  4053. 44.126    Karl Wagner           KP4QG      Puerto Rico
  4054. #
  4055. # 44.128 is reserved for testing.  Do not use for operational networks.
  4056. # You may safely assume that any packets with 44.128 addresses are bogons
  4057. # unless you are using them for some sort of testing
  4058. #
  4059. 44.128    TEST
  4060. #
  4061. # International subnet coordinators by country
  4062. #
  4063. 44.129    Japan                 JG1SLY     Tak Kushida, JH3XCU Joly Kanbayashi
  4064. 44.130    Germany               DL4TA      Ralf D Kloth
  4065. 44.131    United Kingdom       G6PWY       Chris Baron
  4066. 44.132    Indonesia            YB1BG       Robby Soebiakto
  4067. 44.133    Spain                 EA4DQX     Jose Antonio Garcia.  Madrid. (EA4DQX @ EA4DQX)
  4068. 44.134    Italy                 I2KFX
  4069. 44.135    Canada                VE3GYQ     David Toth
  4070. 44.136    Australia            VK2ZXQ      John Tanner
  4071. 44.137    Holland               PA0GRI     Gerard Van Der Grinten
  4072. 44.138    Israel                4X6OJ      Ofer Lapid
  4073. 44.139    Finland               OH1MQK     Matti Aarnio
  4074. 44.140    Sweden                SM0RGV     Anders Klemets
  4075. 44.141    Norway                LA4JL      Per Eotang
  4076. 44.142    Switzerland          HB9CAT      Marco Zollinger
  4077. 44.143    Austria               OE1KDA     Krzysztof Dabrowski
  4078. 44.144    Belgium               ON7LE
  4079. 44.145    Denmark               OZ1EUI
  4080. 44.146    Phillipines          DU1UJ       Eddie Manolo
  4081. 44.147    New Zealand
  4082. 44.148    Ecuador               HC5K       Ted
  4083. 44.149    Hong Kong            VS6EL
  4084. 44.150    Yugoslavia           YU3FK       Iztok Saje
  4085. 44.151    France                FC1BQP     Pierre-Francois Monet
  4086. 44.152    Venezuela            OA4KO/YV5   Luis Suarez
  4087.  
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.                                     - 63 -
  4097.  
  4098.  
  4099. 44.153    Argentina            LU7ABF      Pedro Converso
  4100. 44.154    Greece                SV1IW      Manos
  4101. 44.155    Ireland               EI9GL      Paul Healy
  4102. 44.156    Hungary               HA5DI      Markus Bela
  4103. 44.157    Chile                 CE6EZB     Raul Burgos
  4104. 44.158    Portugal             CT1DIA      Artur Gomes
  4105. 44.159    Thailand             HS1JC       Kunchit Charmaraman
  4106. 44.160    South Africa         ZS6BHD      John
  4107. 44.161    Luxembourg           LX1YZ       Erny Tontlinger
  4108. 44.162    Cyprus                5B4TX      C. Costis
  4109. 44.163    Central America      TI3DJT      Chuck Hast
  4110. 44.164    Surinam               PZ2AC      Otto Morroy
  4111. 44.165    Poland                SP5WCA     Andrzej K. Brandt
  4112. 44.166    Korea                 HL9TG      Gary ?
  4113. 44.167    India                 VU2LBW     Lakshman ("Lucky") Bijanki
  4114.  
  4115. 44.193    Outer Space-AMSAT    W3IWI       Tom Clark
  4116.  
  4117.  
  4118.  
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124.  
  4125.  
  4126.  
  4127.  
  4128.  
  4129.  
  4130.  
  4131.  
  4132.  
  4133.  
  4134.  
  4135.  
  4136.  
  4137.  
  4138.  
  4139.  
  4140.  
  4141.  
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147.  
  4148.  
  4149.  
  4150.  
  4151.  
  4152.  
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.                                     - 64 -
  4163.  
  4164.  
  4165.                     Appendix D.  NOS Command Descriptions
  4166.  
  4167. Given below are all of the commands listed by the "help" command in NOS, with
  4168. concise descriptions of these commands.  If the command is described in more
  4169. detail in this guide, the section(s) in which it is referenced is given in
  4170. parentheses.  An asterisk (*) after the section reference indicates that not
  4171. all of the subcommands have been described in this guide.
  4172.  
  4173. !          Escape to DOS (4.5)
  4174.  
  4175. abort      Abort an ftp get, put, or dir operation in progress. (7.3)
  4176.  
  4177. arp        Address Resolution Protocol.  Connects IP addresses with callsigns.
  4178.  
  4179. asystat    Display statistics on attached asynchronous communications
  4180.            interfaces.
  4181.  
  4182. attach     Configure and attach a hardware interface. (B.4.5)*
  4183.  
  4184. attended   Display or set the "host attended" flag. (5.11, B.4.22)
  4185.  
  4186. ax25       AX.25 (normal packet) services. (10.1, B.4.3, B.4.16-B.4.21)*
  4187.  
  4188. bbs        Enter the local mailbox or BBS (8.2)
  4189.  
  4190. cd         Change directory. (4.4.5)
  4191.  
  4192. close      Close a session. (5.5, 9.3)
  4193.  
  4194. comm       Send a text string via an interface (A)
  4195.  
  4196. connect    AX.25 connect request. (9.1)
  4197.  
  4198. delete     Delete a file. (4.4.8)
  4199.  
  4200. detach     Detach a previously attached interface from the system.
  4201.  
  4202. dialer     Set up an autodialer session for an interface
  4203.  
  4204. domain     Control and show the working of the name to IP address mapping
  4205.            software.
  4206.  
  4207. dump       Shows memory contents in hex and ascii.
  4208.  
  4209. dir        List contents of a directory. (4.4.6)
  4210.  
  4211. disconnect Close a session (alias for close). (5.5, 9.3)
  4212.  
  4213. echo       Controls telnet keyboard echo.
  4214.  
  4215. eol        Controls telnet end of line behavior.
  4216.  
  4217. escape     Displays or sets the command-mode escape character in hex.
  4218.  
  4219.  
  4220.  
  4221.  
  4222.  
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228.                                     - 65 -
  4229.  
  4230.  
  4231. exit       Exit NOS and return to DOS. (4.6)
  4232.  
  4233. finger     Finger information files on remote host. (10.2, B.9)
  4234.  
  4235. fkey       Displays or sets values for the programmable keys on the PC
  4236.            keyboard.
  4237.  
  4238. ftp        File Transfer Protocol. (4.2, 7.1)
  4239.  
  4240. ftype      Displays or sets the default file type (ascii or binary) for ftp.
  4241.  
  4242. help       List NOS commands. (4.4.1)
  4243.  
  4244. hop        Commands to test the connectivity of the network.
  4245.  
  4246. hostname   Display or set hostname. (B.4.2)
  4247.  
  4248. icmp       Display or set the flag controlling the ICMP echo reply packets
  4249.  
  4250. ifconfig   Display a list of interfaces, with a short status for each.
  4251.  
  4252. info       Display information about the version of NOS currently running.
  4253.  
  4254. ip         Internet Protocol. (B.4.4, B.4.8)*
  4255.  
  4256. isat       Display or set the AT flag. (10.3, B.4.6)
  4257.  
  4258. kick       Force an immediate retransmission on a session.
  4259.  
  4260. log        Controls logging of server sessions. (B.4.26)
  4261.  
  4262. mail       Starts a shell escape to the BM mail program. (6.1)
  4263.  
  4264. mbox       Configure and display status of mailbox or BBS. (8.1, 10.6, B.4.24,
  4265.            B.4.25)*
  4266.  
  4267. memory     Display and control memory allocation.
  4268.  
  4269. mkdir      Create a sub-directory in the current working directory (4.4.9)
  4270.  
  4271. mode       Controls transmission mode on AX.25 interfaces.
  4272.  
  4273. more       Display file(s) a screen at a time. (4.4.2)
  4274.  
  4275. motd       Displays or sets the "message of the day."  (5.1.2, B.4.23)
  4276.  
  4277. multitask  Displays or sets the multitask flag (4.5, 6.1, B.4.7)
  4278.  
  4279. netrom     Controls NET/ROM services.
  4280.  
  4281. nntp       Controls the network news transfer protocol.
  4282.  
  4283. nrstat     Displays NET/ROM statistics.
  4284.  
  4285.  
  4286.  
  4287.  
  4288.  
  4289.  
  4290.  
  4291.  
  4292.  
  4293.  
  4294.                                     - 66 -
  4295.  
  4296.  
  4297. param      Invokes a device-specific control routine. (B.4.9)*
  4298.  
  4299. ping       Query a remote host. (10.3)
  4300.  
  4301. pop        Controls the post-office protocol for mail delivery.
  4302.  
  4303. popmail    Controls the delivery of pop mail.  (B.4.28-B.4.30)*
  4304.  
  4305. ppp        Controls the point-to-point protocol for serial interfaces.
  4306.  
  4307. ps         Display all current processes in the system.
  4308.  
  4309. pwd        Display name of current directory. (4.4.4)
  4310.  
  4311. rarp       Controls the reverse address resolution protocol.
  4312.  
  4313. remote     Send control commands to a remote host (B.4.28)*
  4314.  
  4315. rename     Rename a file. (4.4.7)
  4316.  
  4317. record     Record telnet or AX.25 session to a disk file. (5.4.1, 9.2.1)
  4318.  
  4319. reset      Reset a session.
  4320.  
  4321. rip        Controls the RIP service, which manages an IP routing table.
  4322.  
  4323. rlogin     Initiates a remote login session.
  4324.  
  4325. rmdir      Remove a directory.  (4.4.10)
  4326.  
  4327. route      Controls the routing table. (11., B.4.10)*
  4328.  
  4329. rspf       Controls the radio shortest path first protocol.
  4330.  
  4331. session    Controls sessions selection. (4.3, 5.3, 8.4)
  4332.  
  4333. sccstat    Display statistics on the SCC driver.
  4334.  
  4335. shell      Escape to DOS.  Alias for ! (4.5)
  4336.  
  4337. smtp       Simple Mail Transport Protocol. (6.5, B.4.11, B.4.12)*
  4338.  
  4339. socket     Displays information on active sockets.
  4340.  
  4341. source     Reads subsequent commands from a specified file.
  4342.  
  4343. start      Start a server. (B.4.15)*
  4344.  
  4345. stop       Stop a server.
  4346.  
  4347. status     Display NOS status information. (10.5)
  4348.  
  4349. tail       Display the contents of the last 18 lines of a file.  (4.4.3)
  4350.  
  4351.  
  4352.  
  4353.  
  4354.  
  4355.  
  4356.  
  4357.  
  4358.  
  4359.  
  4360.                                     - 67 -
  4361.  
  4362.  
  4363. tcp        Transport Control Protocol. (11.1, B.4.13, B.4.14)
  4364.  
  4365. telnet     Telnet protocol. (8.2)
  4366.  
  4367. test       Start an internal test for an overflow problem.
  4368.  
  4369. trace      Monitor packet traffic. (10.4)
  4370.  
  4371. ttylink    Initiate a keyboard-to-keyboard chat session.  (5.2)
  4372.  
  4373. third-partyRestricts third-party traffic.
  4374.  
  4375. tip        Creates a session that communicates in "dumb-terminal" mode.
  4376.  
  4377. udp        User datagram protocol.
  4378.  
  4379. upload     Upload ASCII file to telnet or AX.25 session. (5.4.2, 9.2.2)
  4380.  
  4381. watch      Displays current software stopwatch values.
  4382.  
  4383. watchdog   Enable or disables the watchdog timer.
  4384.  
  4385. ?          List NOS commands. Alias for help. (4.4.1)
  4386.  
  4387.  
  4388.  
  4389.  
  4390.  
  4391.  
  4392.  
  4393.  
  4394.  
  4395.  
  4396.  
  4397.  
  4398.  
  4399.  
  4400.  
  4401.  
  4402.  
  4403.  
  4404.  
  4405.  
  4406.  
  4407.  
  4408.  
  4409.  
  4410.  
  4411.  
  4412.  
  4413.  
  4414.  
  4415.  
  4416.  
  4417.  
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.  
  4424.  
  4425.  
  4426.  
  4427.  
  4428.  
  4429.  
  4430.  
  4431.  
  4432.  
  4433.  
  4434.  
  4435.  
  4436.  
  4437.  
  4438.  
  4439.  
  4440.  
  4441.               Beginner's Guide to TCP/IP on the Amateur Packet
  4442.                 Radio Network Using the KA9Q Internet Software
  4443.  
  4444.                                  Version 2.0
  4445.                                 April 8, 1992
  4446.  
  4447.                                  Documenting
  4448.                         KA9Q NOS 911229 (PA0GRI v2.0h)
  4449.                                    BM 3.3.2
  4450.  
  4451.  
  4452.  
  4453.  
  4454.  
  4455.  
  4456.  
  4457.  
  4458.  
  4459.  
  4460.                                       by
  4461.  
  4462.                               Gary E. Ford, N6GF
  4463.  
  4464.  
  4465.  
  4466.  
  4467.  
  4468.  
  4469.  
  4470.                        Copyright 1992 by Gary E. Ford.
  4471.  
  4472.                    This Document may be reproduced in whole
  4473.                   or in part for any non-commercial purpose,
  4474.                   as long as credit is given to the author.
  4475.  
  4476.  
  4477.  
  4478.  
  4479.  
  4480.  
  4481.  
  4482.  
  4483.  
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.  
  4493.  
  4494.  
  4495.                  Beginner's Guide to TCP/IP on the Amateur Packet
  4496.                    Radio Network Using the KA9Q Internet Software
  4497.  
  4498.                                       Contents
  4499.  
  4500.                                                                         Page
  4501.         1.  Introduction.................................................. 1
  4502.             1.1 Objectives of This Guide.................................. 3
  4503.             1.2 Acknowledgements.......................................... 3
  4504.  
  4505.         2.  Necessary Resources........................................... 4
  4506.             2.1 Computer.................................................. 4
  4507.             2.2 TNC....................................................... 5
  4508.             2.3 Radio..................................................... 5
  4509.             2.4 IP Address................................................ 5
  4510.             2.5 KA9Q NOS Software......................................... 5
  4511.  
  4512.         3.  Definitions, Conventions, and Notation........................ 6
  4513.             3.1 NOS Commands.............................................. 6
  4514.             3.2 NOS Command Arguments..................................... 7
  4515.             3.3 Notation.................................................. 8
  4516.  
  4517.         4.  NOS........................................................... 9
  4518.             4.1 Executing NOS............................................. 9
  4519.             4.2 Command and Converse Modes................................ 9
  4520.             4.3 Managing Multiple Sessions................................10
  4521.             4.4 Utility Commands..........................................11
  4522.             4.5 Executing DOS Commands....................................12
  4523.             4.6 Exiting NOS...............................................13
  4524.  
  4525.         5.  Keyboard Chat.................................................13
  4526.             5.1 Chat Session Messages.....................................13
  4527.             5.2 Initiating a Chat Session.................................14
  4528.             5.3 Accepting a Chat Session..................................14
  4529.             5.4 File Upload and Download..................................14
  4530.             5.5 Closing a Chat Session....................................15
  4531.  
  4532.         6.  Mail..........................................................15
  4533.             6.1 Executing BM..............................................16
  4534.             6.2 BM Main Menu Commands.....................................16
  4535.             6.3 Text Input Commands.......................................19
  4536.             6.4 Mail Addresses............................................20
  4537.             6.5 SMTP......................................................21
  4538.             6.6 POP.......................................................22
  4539.  
  4540.         7.  File Transfer.................................................22
  4541.             7.1 Ftp Command...............................................22
  4542.             7.2 Ftp Converse Mode Commands................................23
  4543.                 7.3 Aborting a File Transfer..............................26
  4544.             7.4 Ftp Example...............................................26
  4545.  
  4546.         8.  Mailbox or BBS................................................27
  4547.             8.1 Mailbox Messages..........................................28
  4548.             8.2 Initiating a Mailbox Session..............................28
  4549.  
  4550.  
  4551.  
  4552.  
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.             8.3 Mailbox Commands..........................................29
  4562.  
  4563.         9.  AX.25 Services................................................33
  4564.             9.1 Initiating an AX.25 Connection............................33
  4565.             9.2 File Upload and Download..................................34
  4566.             9.3 Terminating an AX.25 Connection...........................34
  4567.  
  4568.         10.  Network Information and NOS Status...........................35
  4569.             10.1 ax25 heard...............................................35
  4570.             10.2 finger...................................................35
  4571.             10.3 ping.....................................................36
  4572.             10.4 trace....................................................37
  4573.             10.5 status...................................................38
  4574.             10.6 mbox status..............................................39
  4575.  
  4576.         11. Advanced Topics...............................................39
  4577.             11.1 TCP......................................................39
  4578.  
  4579.         Appendix A.  TNC KISS Mode........................................42
  4580.  
  4581.         Appendix B.  Installation of NOS and BM...........................43
  4582.             B.1 Installation Overview.....................................43
  4583.             B.2 File Structure............................................44
  4584.             B.3 DOS Environment -- AUTOEXEC.BAT...........................44
  4585.             B.4 NOS Configuration File -- AUTOEXEC.NOS....................45
  4586.             B.5 The Host Table -- DOMAIN.TXT..............................54
  4587.             B.6 Mail Configuration File -- BM.RC..........................55
  4588.             B.7 The Alias File -- ALIAS...................................56
  4589.             B.8 The FTP and Mailbox Users File -- FTPUSERS................57
  4590.             B.9 Finger Files..............................................59
  4591.             B.10 Mailbox Area File -- AREAS...............................59
  4592.             B.11 Mailbox Help Files.......................................60
  4593.  
  4594.         Appendix C.  IP Address Coordinators..............................61
  4595.  
  4596.         Appendix D.  NOS Command Descriptions.............................64
  4597.  
  4598.  
  4599.  
  4600.  
  4601.  
  4602.  
  4603.  
  4604.  
  4605.  
  4606.  
  4607.  
  4608.  
  4609.  
  4610.  
  4611.  
  4612.  
  4613.  
  4614.  
  4615.  
  4616.  
  4617.  
  4618.  
  4619.  
  4620.  
  4621.