       Commands in PE1CHL NET
       
       
       
       
       
       
       
                 Table of contents

            1.        Semantics                                           3

            2.        Commands                                            3

            2.1         <--                                              3
            2.2         !                                                 3
            2.3         ?                                                 4
            2.4         #                                                 4
            2.5         arp                                               4
            2.6         at                                                7
            2.7         attach                                            7
            2.8         ax25                                             12
            2.9         broadcast                                        20
            2.10        buffers                                          23
            2.11        connect                                          23
            2.12        cd                                               23
            2.13        close                                            24
            2.14        copy                                             24
            2.15        date                                             24
            2.16        delete                                           24
            2.17        dir                                              25
            2.18        disconnect                                       26
            2.19        echo                                             26
            2.20        eol                                              26
            2.21        escape                                           26
            2.22        exit                                             27
            2.23        finger                                           27
            2.24        flow                                             27
            2.25        forward                                          27
            2.26        ftl0                                             27
            2.27        ftp                                              30
            2.28        help                                             30
            2.29        host                                             31
            2.30        hostname                                         31
            2.31        ip                                               31
            2.32        kick                                             32
            2.33        log                                              32
            2.34        memstat                                          32
            2.35        mheard                                           32
            2.36        mkdir                                            32
            2.37        mode                                             33
            2.38        netrom                                           33
            2.39        nrstat                                           40
            2.40        param                                            40
            2.41        ping                                             40
            2.42        pwd                                              41
            2.43        record                                           41
            2.44        remote                                           41
            2.45        rename                                           41

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page   1(60)

       Commands in PE1CHL NET


            2.46        reset                                            41
            2.47        rmdir                                            42
            2.48        route                                            42
            2.49        session                                          42
            2.50        sccstat                                          43
            2.51        setenv                                           44
            2.52        shell                                            44
            2.53        smtp                                             45
            2.54        source                                           46
            2.55        start                                            47
            2.56        stop                                             47
            2.57        tcp                                              47
            2.58        telnet                                           50
            2.59        trace                                            50
            2.60        type                                             50
            2.61        udp                                              51
            2.62        upload                                           51
            2.63        watchdog                                         51

            3.        Functions                                          51

            3.1         Conference Board                                 51
            3.2         Mail Box                                         52
            3.3         Logging                                          52
            3.4         Recording of traffic                             53
            3.5         Digipeater                                       53
            3.6         NET/ROM Node                                     55
            3.7         Multiple sessions                                55
            3.8         Transfer mail to a file                          55
            3.9         Forwarding to AX.25 BBS                          56

            4.        Configuration                                      57

            4.1         Configuration of DOS                             57
            4.2         Variables used by NET                            57
            4.3         Configurations in AUTOEXEC.NET                   59





















       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page   2

       Commands in PE1CHL NET


       1.        Semantics

                 <xxx>        : Replaceable discriptor
                 {xx|xx}      : Use one of them
                 [xxx]        : Optional
                 "xxx"        : Commands or parameters referenced in text,
                                quoted characters


       2.        Commands



       2.1       <--

                 Entering a carriage return (empty line) while in command
                 mode puts you in converse mode with the current session. If
                 there is no current session you remain in command mode.


       2.2       !

                 Syntax: ! [/c <command>]
                 
                 An alias for the "shell" command.
                 
                 If no parameter is supplied a DOS shell is started.
                 
                 If the parameter "/c <command>" is supplied this command
                 is executed directly. The parameter <command> may contain a
                 full program path.
                 To execute this command there must be enough memory
                 available to hold both NET and the other program in memory
                 simultaneously.
                 
                 To return to NET give the command "exit".
                 
                 Example: To start BMAILER
                 
                 ! /c c:\net\bmailer.exe
                 
                 NOTE! When you are in the DOS shell NET is not processing
                       any traffic, all communications are locked.
                 
                 NOTE! If you issue a "! /c <command>" command when you are
                       logged in as remote sysop you must be very careful so
                       that the command or program does not require any
                       further input. Also do not forget the "/c" parameter.
                       In case you miss anything the system will hang and
                       must be rebooted.
                 
                 NOTE! See "Use of watchdog" to see how to protect a system
                       from hangs.




       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page   3

       Commands in PE1CHL NET


                 NOTE! The "/c <command>" parameter is a feature in
                       PC/MS-DOS, it may be with different syntax or may not
                       exist at all in other enviroments.


       2.3       ?

                 Syntax : ?
                 
                 An alias for the "help" command.
                 
                 Shows a list of available commands.
                 
                 For further help on a specific command there are three
                 different methods.
                 1: Type a "?" after the command. eg "route ?"
                 2: Type the command without parameters. eg "ftp"
                 3: Type a nonsens parameter after the command.
                    eg "trace dfghg"
                 
                 NOTE! Not all commands provide help.
                       The fault messages of a command may be used as help.


       2.4       #

                 A comment command. The rest of the line is ignored.
                 


       2.5       arp

                 The use of the arp command is not neccesary as long as you
                 reach the station yourself and does not require any special
                 way of access, in this case NET can resolve the address on
                 its own.
                 
                 If you want access to a station to wich you must use a
                 digipeater or if you must use netrom, then you also must
                 use the "arp add" command.
                 
                 Below follows descriptions of the different arp commands.
                 














       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page   4

       Commands in PE1CHL NET


       2.5.1     arp

                 Displays the "Address Resolution Protocol" (ARP) table.
                 
                 For each IP address the following information is shown.
                 
                 IP addr         Type           Iface  Time Q Addr
                 44.140.0.15     AX.25          144    19   2 [unknown]
                 44.140.0.83     AX.25          433    0      SM0ORB-3
                 44.140.0.59     NET/ROM               0      SM0JZT-7
                 
                 IP addr    : A uniqe identifying number, assigned by the
                              TCP/IP coordinator for the district.
                 Type       : The type of network that is used.
                 Iface      : The actual interface name.
                 Time       : Time to wait for address information. Or time
                              the address information remains valid.
                              Not used (zero) for manual entries.
                 Q          : Number of IP frames waiting for information on
                              wich way to go.
                 Addr       : The network address/name for this IP address.
                              [unknown] in this field means that the station
                              has not yet answered on the address request.


       2.5.2     arp add

                 Syntax : arp add <hostid> {ether|ax25|netrom}[:<intf>]
                                  {<etheraddr>|<callsign> [<digis...>]}
                 
                 Adds an entry to the table. Used for inserting addresses
                 not reachable via the default routes for unknown addresses.
                 It is also useful for "hard-wiring" of digipeater paths on
                 AX.25 interfaces.
                 
                 <hostid>     The IP number within brackets "[44.140.0.14]"
                              or as a name according to HOSTS.NET.
                 ether        Packets to that address shall go out on
                              ethernet. Ethernet is connected with a special
                              board and uses cable (mostly koax) for
                              communication. Used on PC-LAN:s etc.
                 ax25         The packets shall be sent on radio as AX25
                              packets. AX25 interfaces are commected to the
                              computer via eg a TNC connected to a COM port.
                 netrom       The packets are to be routed through NET/ROM.
                              The first node is the internal node in NET.
                 :<intf>      The name of an interface. Used if the address
                              only shall be valid on that interface.
                 <etheraddr>  Ethernet address, a six digit address uniqe to
                              every ethernet board. Series are given to
                              manufacturers. Used on interfaces of type
                              ether.
                 <signal>     Callsign for the receiver. Used on AX25 or
                              netrom type interfaces.
                 <digis>      Digipeater callsigns may be added to a
                              callsign.

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page   5

       Commands in PE1CHL NET


                 Examples :
                 NET/ROM : arp add sm5sfg netrom sm5sfg-2
                           This adds an entry for sm0sfg, packets to this
                           station is now handed over to the netrom node
                           within NET. The destination node is "sm5sfg-2",
                           the path to this node is provided by the NET/ROM
                           protocoll.
                 
                 AX25    : arp add sm5sfg ax25 sm5sfg-2 sm5dq sk5um-7 sk5um-2
                           This adds an entry for sm5sfg, packets to this
                           station is now transmitted as ax25 packets to
                           call sm5sfg-2 via the digipeaters sm5dq, sk5um-7
                           and sk5um-2.
                 
                 single interface : arp add pc.sm0orb ax25:int sm0orb-4
                                    This adds an entry for pc.sm0orb on the
                                    "int" interface only. On other
                                    interfaces there can be other entrys for
                                    pc.sm0orb.
                 


       2.5.3     arp drop

                 Syntax : arp drop <hostid> {ether|ax25|netrom}[:<intf>]
                 
                 Removes the entry for <hostid> from the table for the given
                 interface. If <intf> is given the entry is only removed for
                 that interface.
                 


       2.5.4     arp publish

                 Syntax : arp publish <hostid> {ether|ax25|netrom}:<intf>
                                      {<etheraddr|callsign>
                 
                 Inserts a special entry in the table. When a query arrives
                 for <hostid> the program answers with the given address.
                 
                 Consider the following situation :
                 
                    Y Ŀ  ĿSlipĿ
                 433ĴTNCĴPC1ĴPC2
                            
                 
                 PC1 is connected to AX.25 network 433 while PC2 has no
                 external connections at all. In order to make the outside
                 world think that PC2 is available an "arp publish" command
                 may be used in PC1, the syntax should be :
                  arp publish PC2 ax25:433 PC1
                 This must be combined with a arp add command for the real
                 address on "slip" so that PC1 knows were to send the frames.
                  arp add PC2 ax25:slip PC2



       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page   6

       Commands in PE1CHL NET


                 Use arp publish with great caution since it can mess things
                 up.
                 
                 Example :
                 
                    Y  144 Y
                        Ŀ ĿSlipĿ
                 433ĴTNCĴPC1ĴPC2
                              
                 
                 If you want to use the callsign sm0ncs with different SSID
                 on 144 and 433 you can do it the following way in PC1:
                 
                 arp add pc2 ax25:slip sm0ncs-13   # lets PC1 find the way
                                                   # to PC2
                 arp publish pc2 ax25:433 sm0ncs-7 # makes PC1 answering on
                                                   # an address request
                                                   # about PC2 with the
                                                   # address SM0NCS-7 if the
                                                   # request arrived on 433
                 arp publish pc2 ax25:144 sm0ncs-2 # makes PC1 answering on
                                                   # an address request
                                                   # about PC2 with the
                                                   # address SM0NCS-2 if the
                                                   # request arrived on 144
                 
                 With this arrangement PC1 will answer to an address request
                 for PC2. This means that PC2 will seem to be available and
                 have the callsign sm0ncs-2 on 144 and sm0ncs-7 on 433.
                 
                 NOTE! The callsigns and SSID:s used must have been assigned
                       to ports in attach commands.
                 


       2.6       at

                 Syntax: at hh:mm [<command>]
                 
                 Executes the specified command at the specified time each
                 day. If no command is given a previusly given command for
                 the specified time is cancelled. By using the "source"
                 command a whole sequence of commands can be executed.
                 
                 This can be used to perform unattended maintanence tasks or
                 downloads. For example listing all new mail in the BBS at
                 night and save it in a local mail.


       2.7       attach

                 The attach command is used to attach and configure hardware
                 to the program. The possible hardware types are :
                 com    Standard PC COM port
                 kiss   Secondary channels in a multiport KISS TNC
                 netrom Netrom compatible node

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page   7

       Commands in PE1CHL NET


                 scc    DRSI,EAGLE,PC-100 or PRIMUS boards
                 packet FTP Inc. "Packet driver" interface for external
                        drivers, drivers exists for most ethernet cards and
                        for some other interfaces (AX.25, KISS, SLIP).
                 eicon  Eiconcard X.25 interface card. Used for public
                        telecom X.25 networks.


       2.7.1     attach com

                 Syntax: attach com <num> {slip|ax25|nrs} <label> <mtu>
                                    <speed> <handshake> [<call>]
                 
                 Attach and configure a PC:s COM port.
                 <num>        The port number 1-8
                 slip         A slip link port connected to another computer
                              directly or via a modem. IP frames are sent
                              without packing into AX25 packets. You can't
                              use AX25 specific commands on a slip link.
                 ax25         A standard AX25 connection. All data is packed
                              into ax25 packets before transmitted. Normally
                              a KISS TNC is connected but this type of
                              connection can also be made directly to
                              another computer.
                 nrs          NET/ROM slip. To be connected to the port of a
                              TNC2 running NET/ROM.
                 <label>      A name for this interface
                 <mtu>        Maximum transmission unit. The maximum size of
                              a packet to be transmitted over this interface.
                 <speed>      Speed for the com port.
                 <handshake>  h/n (hardware / none) the type of handshaking
                              that shall be used.
                 [<call>]     Callsign for this interface. Only neccesary on
                              AX.25 and NRS.
                 
                 The actual hardware address of the COM port is not
                 specified since the program uses a FOSSIL driver that
                 handles all hardware specifics.
                 
                 Example : attach com 1 ax25 144MHz 256 2400 n sm0orb-2
                 


       2.7.2     attach kiss

                 Syntax: attach kiss <parent> <chan> <label> <mtu> [<call>]
                 
                 Configures the secondary logical channels on a multiport
                 KISS TNC.
                 
                 <parent>     Interface name of the TNC.
                 <chan>       Logical channel number
                 <label>      A name for this interface
                 <mtu>        Maximum transmission unit. The maximum size of
                              a packet to be transmitted over this interface.
                 [<call>]     The callsign for this channel

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page   8

       Commands in PE1CHL NET


                 NOTE! You must first attach a COM port before this version
                       of the attach command can be used.
                 
                 Example : attach kiss 144MHz 1 433MHz 256 sm0orb-7
                 


       2.7.3     attach netrom

                 Syntax: attach netrom [<callsign>]
                 
                 Activates the NET/ROM node. If <callsign> is given this
                 sets the callsign for the NET/ROM node,
                 else the NET/ROM function uses the callsigns of the ports.
                 
                 See the "netrom" command for the rest of the definitions
                 for the NET/ROM node.


       2.7.4     attach scc

                 Syntax: attach scc <chips> init <base> <sp> <A> <B> <D>
                                    <ia> <iv> {p<clk>|r<clk>} [<o>]
                 
                         attach scc <num> {slip|kiss|ax25} <label> <mtu>
                                    <speed> [<call>]
                 


       2.7.4.1   Initialisation

                 The first syntax is used for an initialisation call of the
                 driver. This initialises the circuits and sets up the
                 configuration.
                 
                 <chips>   Number of SCC chips on the board
                 <base>    Base address of the first chip
                 <sp>      Address spacing between chips
                 <A>       Offset from base address of chip for control
                           register for port A
                 <B>       Offset from base address of chip for control
                           register for port B
                 <D>       Offset from control register to data address
                 <ia>      Address of INTACK latch. By writing to and then
                           reading this address the interrupt vector can be
                           found. On PC-100 boards only a read is made.
                           Vectored interrupts can be used only on the Atari
                           SCC interface, the PA0HZP OptoPcScc card and the
                           PC-100.
                 
                 <iv>      Interrupt number
                 p<clk>    Crystal clock frequency
                 r<clk>    Rs232 RxC clock frequency
                 <o>       1     : EAGLE
                           2 <n> : PC-100


       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page   9

       Commands in PE1CHL NET


                           4 <n> : PRIMUS
                           8     : DRSI PC*Packet
                             <n> Modem control byte according to hardware
                 
                 Example: Possible initialisation commands are:
                 EAGLE:  attach scc 1 init 2e8 8 2 0 1 0 2 p3686400 1
                 PC-100: attach scc 1 init 2e8 16 6 4 1 0 2 p4915200 2 22
                 PRIMUS: attach scc 1 init 2e8 4 2 0 1 0 2 r2457600 4 02
                 DRSI:   attach scc 1 init 300 16 2 0 1 0 2 p4915200 8
                 


       2.7.4.2   Channel allocation

                 When the driver is initiated you can allocate the channels
                 in the SCC circuits and decide to what they shall be used.
                 This is done differently depending on the mode they shall
                 operate in, SLIP, KISS or AX25.
                 
                 <num> tells what channel that shall be allocated:
                 0 = SCC 1 A side
                 1 = SCC 1 B side
                 2 = SCC 2 A side
                 3 = SCC 2 B side
                 etc...
                 
                 <label>   The name of the interface.
                 <mtu>     Maximum transmission unit. Largest packet that
                           kan be transmitted on the channel.
                 <speed>   The speed of the channel.
                 <call>    The callsign to be used on the channel.
                 


                 SLIP

                 Syntax : attach scc <num> slip <label> <mtu> <speed>
                 
                 Connects a SLIP link to another computer. The speed can be
                 read with the command "param <label>" and changed with the
                 command " param <label> <speed>".
                 
                 NOTE! No signal is used on the SLIP link.
                 
                 Example : attach scc 0 slip intern 512 9600
                           param intern 4800
                 


                 KISS

                 Syntax : attach scc <num> kiss <label> <mtu> <speed> <call>
                 
                 Is used to connect a KISS TNC or a computer running NET to
                 the channel. Since the KISS protocol is AX25 based you can
                 make AX25 connects over it.

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  10

       Commands in PE1CHL NET


                 With the command "param <label> <parameter> <value>" you
                 can change parameters in the KISS TNC.
                 
                 Example : attach scc 1 kiss extern 236 1200 sm0orb-3
                           param extern 1 35
                 


                 AX25

                 Syntax : attach scc <num> ax25 <label> <mtu> <speed> <call>
                 
                 This allocates a logical KISS TNC emulator to the channel.
                 The parameters are the same as for the KISS initialisation.
                 The result is that you get AX25 packets ready to broadcast
                 directly from the board. If the board contains a modem all
                 you need to add is the radio.
                 
                 You can also set parameters in the emulated KISS TNC as
                 with a normal KISS TNC.
                 
                 Exempel : attach scc 0 ax25 DRSI-A 236 1200 sm0orb-2


       2.7.5     attach escc

                 Syntax: attach escc <port> <label> <mtu>
                 
                 This attaches an Eiconcard. The card must be initialized
                 with the X.25 network software before starting NET.


       2.7.6     attach packet

                 Syntax: attach packet <int#> <label> [<buffers> [<mtu>]]
                 
                 Attaches an inteface to a "Packet Driver". This is a driver
                 for a network card. Drivers exists for the most common
                 cards and must be activated before NET is started.
                 
                 <int#>     Number of the software interrupt used to
                            communicate with the driver. Must match the
                            value given at installation. The value can be
                            #60-#7F.
                 <label>    A name on the inteface.
                 <buffers>  Max number of buffers stored
                 <mtu>      Maximum Transmission Unit. Max size of packets
                            transmitted over this interface.









       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  11

       Commands in PE1CHL NET


       2.8       ax25



       2.8.1     ax25 close

                 Syntax : ax25 close <axcb>
                 
                 Initiates a disconnect of an ax25 session. When all packets
                 in the send que is acknowledged a DISC packet is sent.
                 
                 <axcb>  AX25 control block. A hexadecimal identification
                         number for the connection.


       2.8.2     ax25 calls

                 Syntax : ax25 calls
                 
                 Shows a list of all callsigns the program listens for and
                 the purpose the callsign is used for.


       2.8.3     ax25 digipeat

                 Syntax : ax25 digipeat [{{on|off}|<intf> [gate]}]
                 


       2.8.3.1   ax25 digipeat

                 Shows digipeating status.
                 


       2.8.3.2   ax25 digipeat {on|off}

                 Turns digipeating function on or off.
                 This is for "dumb" digipeating on the same interface.


       2.8.3.3   ax25 digipeat <intf> [gate]

                 Enables "dumb" digipeating functions for this interface and
                 optionally enables a gateway.


       2.8.4     ax25 disconnect

                 Syntax : ax25 disconnect <axcb>
                 
                 Initiates a disconnect of an ax25 session. A DISC packet is
                 sent immediately.
                 
                 <axcb>  AX25 control block. A hexadecimal identification
                         number for the connection.

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  12

       Commands in PE1CHL NET


       2.8.5     ax25 exclude

                 Syntax : ax25 exclude [<call> [{<intf>|d}]]
                 
                 Is used to exclude certain signals from the stations on one
                 or all interfaces. The function should be used very
                 carefully to avoid angry reactions, but may be useful to
                 prevent stations from connecting on interfaces reserved for
                 forwarding or so.
                 


       2.8.5.1   ax25 exclude

                 If no more parameter is given the excluded callsigns and
                 the interfaces they are excluded on is shown.
                 
                 Example : ax25 exclude
                 
                 Callsign   Interface
                 SM0IES     144
                 


       2.8.5.2   ax25 exclude <call> [<intf>]

                 This excludes the given signal. If <intf> is given the
                 signal is only excluded on that interface, else on all
                 interfaces.
                 
                 Example : ax25 exclude sm0ies 144
                 


       2.8.5.3   ax25 exclude <call> d

                 Removes the signal from the list of excluded signals.
                 


       2.8.6     ax25 kick

                 Syntax : ax25 kick <axcb>
                 
                 Forces transmission of unacknowledged packets in the
                 specified connection. This can be used to wake up a
                 connection that has been "locked up" in the other end.
                 
                 Example :








       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  13

       Commands in PE1CHL NET


                 ax25 status <enter>
                 
                     &AXB IF    Rcv-Q   Snd-Q   Local     Remote    State
                    5ba54 int       0       2   SM0IES-15 SM0IES-8  Connected
                 
                 ax25 kick 5ba54 <enter>
                 
                 
                 
                 


       2.8.7     ax25 maxframe

                 Syntax : ax25 maxframe [<num>]
                 
                 Max number of packets allowed to be unacknowledged. This
                 controls how many packets that can be transmitted together.
                 A higher value gives better datarate on a good connection
                 but can make it very hard to keep a connection on a havily
                 loaded channel.
                 If <num> is not given the current value is shown. Else it
                 is set to <num>. <num> must be 1-7.


       2.8.8     ax25 paclen

                 Syntax : ax25 paclen [<num>]
                 
                 Sets maximum packet length for AX25 interfaces. Other
                 protocols, like NET/ROM, or channel conditions can make it
                 neccesary to limit the maximum packet size below 255.
                 


       2.8.9     ax25 persist

                 Syntax : ax25 persist [<intf> [<p0> [<pmin> [<pmax>
                                        [<tinc> [<tmax>]]]]]]
                 
                 If no more parameter is given a table is shown with the
                 values for all interfaces. If <intf> is given the values
                 given vill be set. The persistence value is calculated as:
                 "p = p0 / number of active users" and is limited by "pmin"
                 and "pmax". "tinc" is a time added to the time a user is
                 counted as active for each packet received, this time is
                 limited by "tmax".
                 
                 <intf>  The name of the interface
                 <p0>    Initial value for persistence
                 <pmin>  Minimum value for persistence
                 <pmax>  Maximum value for persistence
                 <tinc>  Time increment for each packet (in seconds)
                 <tmax>  Maximum user active time (in seconds)
                 
                 Example :

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  14

       Commands in PE1CHL NET


                 IF    Users    P   P0  Pmin  Pmax  Tinc  Tmax
                 int       0   64  128     5    64    60   900
                 144       2   64  128     5    64    60   900
                 433       5   21  128     5    64    60   900


       2.8.10    ax25 port

                 Syntax : port <portno> {conn|digi} <callsign> [intf]
                               [{gate|multi}]
                 
                 Attaches the callsign to a given ax25 port function
                 according to the following list.
                 
                 1=TNC             Connects to the console
                 2=NetDigi         A digipeater function with local ack
                 3=MHEARD          Gives a heard list
                 4=Bridge          Conference bridge
                 5=TNC2            TNC-2 emulator
                 6=AX25-MailBox    A simple mailbox
                 
                 conn    The definition is used when call is found in connect
                         field of signal
                 digi    The definition is used when call is found in
                         digipeat field of signal
                 gate    Shows that the function can act as a gateway
                 multi   Allows multiple connects.
                 
                 Example :
                 
                 ax25 port 1 conn $CALLSIGN
                 ax25 port 2 digi $CALLSIGN
                 ax25 port 4 conn $CALLSIGN-1
                 ax25 port 6 conn $CALLSIGN-8
                 ax25 port 2 digi $CALLSIGN-9 144625 gate
                 ax25 port 2 digi $CALLSIGN-10 433725 gate
                 ax25 port 3 conn $CALLSIGN-9 144625 multi
                 ax25 port 3 conn $CALLSIGN-10 433725 multi
                 ax25 port 5 conn $CALLSIGN-12


       2.8.11    ax25 pthresh

                 Syntax : ax25 pthresh [<size>]
                 
                 When no reply is received on an AX.25 I packet, it will be
                 re-sent as a I(P) packet if it is smaller than <size>. When
                 the packet is larger, an RR(P) poll will be done first.
                 After 3 tries, the program will always do RR(P) polls, also
                 for small packets.







       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  15

       Commands in PE1CHL NET


       2.8.12    ax25 reset

                 Syntax : ax25 reset <axcb>
                 
                 Breaks up an AX25 connection in a very nasty way. No
                 information is sent to inform the other end of the
                 connection about what happened, leaving it hanging in
                 vaccum. If further packets for the connection arrives they
                 will be answered with a "DM" packet.


       2.8.13    ax25 retry

                 Syntax : ax25 retry [<num>]
                 
                 Shows how many attempts that are made to send a packet to
                 the remote station. If the packet is not acknowledged after
                 theese attempts the connetction is disconnected. If <num>
                 is given the number of attempts are set to its value.
                 


       2.8.14    ax25 status

                 Syntax : ax25 status [<axcb>]
                 
                 Without an argument, displays a one-line summary of each
                 AX25 control block. If the address of a particular control
                 block is specified, the contents of that control block are
                 dumped in more detail. Note that the send queue units are
                 frames, while the receive queue units are bytes.
                 
                 Example :
                 
                        ax25 status

                  &AXB IF    Rcv-Q   Snd-Q   Local     Remote    State
                 5ba54 int       0       0   SM0IES-15 SM0IES-8  Conn pending
                 5bc32 433      70       2   SM0ETV-1  SK0MK     Connected
                 5bb21 433       0       0   SK0MK     SM0ETV-1  Connected
                 
                        ax25 status 8550c <enter>
                 
        &AXB IF   Local     Remote    RBWF V(S) V(R) Unack P Retry State
        8550c int  SM0IES-15 SM0IES-4          0    0 0/0/4 2 00/10 Connected
     T1: stop/15015 ms; T2: stop/1485 ms; T3: 67045/1799985 ms; T4: stop/0 ms


       2.8.15    ax25 start

                 Syntax : ax25 start { bridge  | mbox | mheard |
                                       netdigi | tnc  | tnc2   }
                 
                 Starts different AX25 functions in the program. The
                 function must be connected to one or several callsigns with
                 'ax25 port' before it can be started.


       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  16

       Commands in PE1CHL NET


       2.8.15.1  ax25 start bridge

                 Syntax : ax25 start bridge
                 
                 Starts a conference board. You make a connect to the signal
                 and then you can give commands to send text to other
                 connected users etc.
                 


       2.8.15.2  ax25 start mbox

                 Syntax : ax25 start mbox [<filename>]
                 
                 Starts a mailbox of the same kind as is found in many
                 TNC:s. The mailbox sends incomming mail to the mailer with
                 SMTP. You can make forwarding towards the mailbox from a
                 large BBS. <filename> is file that will be sent on the INFO
                 command in the mailbox.


       2.8.15.3  ax25 start mheard

                 Syntax : ax25 start mheard <num>
                 
                 Starts a mheard service. Make a connect to the signal and a
                 list of heard signals is presented, after that you get
                 disconnected. <num> is the number of signals listed.
                 
                 NOTE ! Since one callsign is listed on each row the listing
                        should not be too long, then it will just scroll of
                        the screen.


       2.8.15.4  ax25 start netdigi

                 Syntax : ax25 start netdigi
                 
                 Starts a digipeat function wich uses local acknowledgement
                 for each part of the connection. This means that a missed
                 packet need only be repeated on one part of the connection.
                 


       2.8.15.5  ax25 start tnc

                 Syntax : ax25 start tnc "<text>"
                 
                 Starts the function that handles incoming calls directly to
                 the operator. Incoming text is displayed on the screen and
                 the written text is directly transmitted to the other
                 station. <text> is the welcom message sent upon connect. It
                 is possible to have several <text> arguments, these are
                 sent as multiple lines in the welcom message.



       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  17

       Commands in PE1CHL NET


       2.8.15.6  ax25 start tnc2

                 Syntax : ax25 start tnc2 <port>[=<intf>[/<kissrx>]]
                 
                 Starts a virtual TNC. If <port> is a real COM port another
                 computer or terminal can communicate with the program as if
                 it was a TNC. If <port> is not a real COM port it can be
                 used in another program in a multitasking enviroment as eg
                 DoubleDos.
                 


       2.8.16    ax25 stop

                 Syntax : ax25 stop { bridge  | mbox | mheard |
                                       netdigi | tnc  | tnc2   }
                 
                 Stops the specified AX25 function. The function is still
                 connected to a port and a signal and may be restarted with
                 a new "ax25 start" command.


       2.8.17    ax25 t1

                 Syntax : ax25 t1 [<val>]
                 
                 Display or set the AX.25 retransmission timer. This
                 controls how long time to wait for acknowledgement before
                 resending the packet. The value is in seconds.


       2.8.18    ax25 t2

                 Syntax : ax25 t2 [<val>]
                 
                 Display or set the AX.25 acknowledgement delay timer. This
                 controls how long time you will wait for more packets
                 before acknowledging the ones you have received. This
                 allows for acknowledgement of more than one packet in the
                 same transmission. The value is in seconds.


       2.8.19    ax25 t3

                 Syntax : ax25 t3 [<val>]
                 
                 Display or set the AX.25 idle "keep alive" timer. This
                 controls how long time you will wait without hearing
                 anything from the other station. The value is in seconds.








       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  18

       Commands in PE1CHL NET


       2.8.20    ax25 t4

                 Syntax : ax25 t4 [<val>]
                 
                 A timer for all AX.25 connections except those set up with
                 the "connect" command. The connection is automatically
                 disconnected when no packets have been transfered for this
                 time (idle timer). Used by conference bridge, NET/ROM, BBS
                 etc.
                 Syntax : ax25 txq <axcb> [{a|h|l}]
                 
                 Shows whats in the transmit queue for the specified
                 connection. If the parameter "a" is given the contents of
                 the packet is shown as text, if "h" is given it is shown as
                 hexadecimal data. If "l" is given only the length of the
                 data is shown and if no parameter is given only the packet
                 type is shown.
                 
                 <axcb> is a 5 digit hexadecimal identification number for
                        the connection.
                 
                 Example :
                 
                 ax25 txq 6440a
                 AX.25: pid=Text
                 
                 ax25 txq 6440a a
                 AX25: pid=Text
                 0000  c sm0orb-8.
                 
                 ax25 txq 6440a h
                 AX25: pid=Text
                 0000  63 20 73 6d 30 6f 72 62 2d 38 0d        c sm0orb-8.
                 
                 
                 


       2.8.21    ax25 uigrab

                 Syntax : ax25 uigrab [{<file>|off} [<call>]]
                 
                 Collects all received UI frames in the specified file. If
                 <call> is given only frames with that callsign is
                 collected.


       2.8.22    ax25 window

                 Syntax : ax25 window [<num>]
                 
                 Sets the number of bytes that can be pending on an AX.25
                 receive queue. If more data is received it will be answered
                 with RNR (Receiver Not Ready) responses. This can occure if
                 you have a AX.25 session running and changes to another
                 session. If <num> is not given the current value is shown.

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  19

       Commands in PE1CHL NET


       2.9       broadcast

                 Commands regarding the "Pacsat Broadcast Protocol" used by
                 OSCAR 14, OSCAR 16, OSCAR 19 and OSCAR 22.
                 These commands control the recieption of data from
                 satellites.
                 
                 Files received with this protocol are assembled in
                 temporary files stored in a directory pointed out by the
                 enviroment variable TMP.


       2.9.1     broadcast abort

                 Syntax : broadcast abort <bcst_CB> [perm]
                 
                 This terminates the specified broadcast file reception and
                 throws away all received data. Unlike "broadcast complete"
                 which saves it, even when the file is incomplete.
                 
                 If "perm" is specified the file is marked as received, so
                 that no further attempts to assemble the file.


       2.9.2     broadcast cancel

                 Syntax : broadcast cancel <rqst_CB>
                 
                 Removes the file with request identity <rqst_CB> from the
                 download list. <rqst_CB> is listed with the file spec in
                 the list produced by "broadcast download"


       2.9.3     broadcast cleanup

                 Syntax : broadcast cleanup [<num>]
                 
                 Aborts all files with less data received than the specified
                 percentage. If <num> is specified percentage is set to this
                 value.


       2.9.4     broadcast complete

                 Syntax : broadcast complete <bcst_CB>
                 
                 Forces the storage of a received file.  When this
                 command is given for a file that is not yet complete, the
                 gaps in the file will be filled with question marks '?'.








       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  20

       Commands in PE1CHL NET


       2.9.5     broadcast download

                 Syntax : broadcast download <sat> [<file> [prio]]
                 
                 Adds a file to the list of files to be downloaded from the
                 specified satellite. If "prio" is specified the file is
                 added in the front of the list.
                 
                 The files in the list are automatically requested when NET
                 receives a PBLIST packet from the satellite.
                 
                 If no file is specified the list of files is shown.


       2.9.6     broadcast ihave

                 Syntax : broadcast ihave
                 
                 Shows a list of all files that have been stored away in the
                 directory specified in the "broadcast start" command. This
                 list is kept to prevent duplicate reception of files.


       2.9.7     broadcast kick

                 Syntax : broadcast kick
                 
                 Closes the current broadcast file and writes complete files
                 to the bcst directory. The same thing happens after 1
                 minute without incoming broadcast packets.


       2.9.8     broadcast request

                 Syntax : broadcast request <iface> <call> <file_id>
                                            [<blocksize> [hole]]
                          broadcast request <server> <file_id> [hole|stop]
                 
                 Sends a broadcast request to the specified <call>,
                 requesting transmission of <file_id>. The <blocksize>
                 specifies the packet length and can be up to 244. When
                 <hole> is specified, the hole-list (list of missing
                 packets) is sent with the request.
                 
                 The second syntax is used if a "broadcast server" has been
                 set up. In this case the other parameters are set in the
                 server specification.










       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  21

       Commands in PE1CHL NET


       2.9.9     broadcast status

                 Syntax : broadcast status [<bcst_cb>]
                 
                 Shows the status of the broadcast receiver, including some
                 statistics and the status of each incomplete file. The
                 fragment list of an incomplete file can be shown using
                 "broadcast status <bcst_cb>". The file currently (or last)
                 being received is marked with a "*".


       2.9.10    broadcast server

                 Syntax : broadcast server [<server> <intf> <call> <blksize>
                                            <reqw> [<minw> <maxw> <UIdest>]]
                 
                 Defines a broadcast server (satellite). <server> is a name
                 for the server, all other parameters are specific to the
                 satellite. If the command is re-entered for a specific
                 server the parameters are changed for that server. If no
                 parameters are given the currently defined servers are
                 listed.


       2.9.11    broadcast start

                 Syntax : broadcast start "<pathname>"
                 
                 This will enable the storage of received broadcast frames.
                 <pathname> refers to a directory where the completed
                 files fill be stored.
                 
                 Example: broadcast start "c:\bcst"


       2.9.12    broadcast stop

                 Syntax : broadcast stop
                 
                 Disable the broadcast receiver. All completed files will be
                 moved to the directory specified in "broadcast start", and
                 all fragments of incomplete files will be discarded.


       2.9.13    broadcast trace

                 Syntax : broadcast trace [<hexval>]
                 
                 Controls wich messages are printed by the broadcast
                 receiver. The parameter <hexval> is the logical OR of the
                 following bits.






       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  22

       Commands in PE1CHL NET


                 0001  Print PBLIST packets sent to server
                 0002  Print the commands sent by the server
                 0004  Print ACK packets received from the server
                 0008  Print "file 100%%" messages
                 0010  Print completed file messages


       2.10      buffers

                 Syntax : buffers [<num> [<min> [<max>]]]
                 
                 Allocates memory for buffers when using boards with SCC
                 circuits. If no parameters are given the current values are
                 shown.
                 
                 <num> number of buffers
                 <min> minimum buffer size
                 <max> maximal buffer size
                 
                 Example :
                 
                 buffers
                 0 buffers of 20 .. 128 bytes
                 buffers 5 30 120
                 buffers
                 5 buffers of 30 .. 120 bytes


       2.11      connect

                 Syntax : connect <intf> <dest> [<digi> ...]
                 
                 Initiates an ax25 connection on the specified interface.
                 <dest> is the destination callsign and <digi> are optional
                 digipeater callsigns.
                 
                 NOTE ! No text VIA before the digipeater callsigns.
                 
                 Example :
                 
                 c 433 sm0ies


       2.12      cd

                 Syntax : cd [<dir>]
                 
                 Changes to the specified directory. If the directory name
                 is preceeded with a "\" the directory name is absolute from
                 the root directory otherwise it is relative to the current
                 directory. No change is made if the specified directory
                 does not exist.





       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  23

       Commands in PE1CHL NET


       2.13      close

                 Syntax : close [<sess>]
                 
                 Closes the specified session. The session may be a TELNET
                 FTP or AX25 connection. If no session is specified the
                 current session is assumed. If it is a TELNET or AX.25
                 session all packets in the send queue is sent before the
                 connection is closed.


       2.14      copy

                 Syntax : copy <sourcefile> <destfile>
                 
                 Copies the source file to the destination. Filenames may
                 contain disk and path specifications. If the destination
                 file exists it is overwritten.
                 
                 NOTE ! Don't copy long files in this way since all other
                        program execution is suspended during the copying.


       2.15      date

                 Syntax :date [<MMDDhhmmss>[<YY>]]
                 
                 If no parameter is given current date and time is shown.
                 Date and time is set by providing values according to the
                 syntax.
                 
                 MM   Month    (01-12)
                 DD   Date     (01-31)
                 YY   Year
                 hh   Hours    (00-23)
                 mm   Minutes  (00-59)
                 ss   Seconds  (00-59)
                 
                 All values are two digits. Only the year may be left out.


       2.16      delete

                 Syntax : delete [-f] <filename>
                 
                 Deletes filename. The file name may contain disk and path
                 specifications. * may be used in the different parts of the
                 filename to point out a group of files.
                 If the flag "-f" is given no error messages are given.
                 
                 Example :
                 del A.TXT      Deletes the file A.TXT from the current
                                directory
                 del C:\A.TXT   Deletes the file A.TXT from the root
                                directory of the C disk
                 del *.TXT      Deletes all files with the file type TXT

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  24

       Commands in PE1CHL NET


                                from the current directory
                 del A*.TXT     Deletes all files with file name starting
                                with A and file type TXT from the current
                                directory
                 
                 W A R N I N G !
                 
                 The command "del *.*" will delete ALL files in the current
                 directory


       2.17      dir

                 Syntax : dir [/w] [<d>:][<dir>][<filespec>]
                 
                 Shows the contents of the current or specified directory.
                 If <filespec> is an archive packed according to the ARC
                 format the contents of this archive is shown. If "/w" is
                 given 5 filenames per row is showed.
                 
                 <d>        Disk unit
                 <dir>      Directory
                 <filespec> File specification that can contain "wild card"
                            characters (* and ?)
                 
                 Example :
                 
        net> dir
        address\            17:20  3/11/91   autoexec.net    704  7:29  8/01/91
        spool\              17:20  3/11/91   start.bat        35 19:08  7/31/91
        status.ndd    2.685  7:56  8/02/91   test.arc     94.583 11:01  8/02/91
        6 files. 13.213.696 bytes free. Disk size 21.204.992 bytes.
                 
        net>dir /w
        address\       autoexec.net   spool\         start.bat      status.ndd
        test.arc
                 
        net> dir test.arc
        Name              Length  Stowage    Size Now   Date     Time  CRC
        7H.COM             1.296   8   4%       1.247   1/08/89  2:00  646e
        BNU.COM           11.232   8  14%       9.665  10/26/89  1:56  d8a9
        BOOT.COM             128   3  56%          57   5/16/91 22:15  e6aa
        BSQ.COM           12.757   8  27%       9.320  11/09/87  0:11  9225
        CHK.EXE           12.032   8  24%       9.175  11/14/85  8:21  f6d2
        DUPS.COM          29.696   8  18%      24.416   2/20/86 18:18  6bfc
        FV.COM             7.888   8  12%       6.953   5/07/91  1:37  4404
        KEYTEST.COM        1.485   8  19%       1.211   7/02/90 21:01  fa06
        MAXI.COM           8.697   8  33%       5.874   7/14/91 16:12  1856
        MOUSE.COM         11.413   8  28%       8.220   8/16/89 14:59  46ba
        R95.EXE           16.635   2   0%      16.635   5/29/91 10:34  8592
        TREE.COM           2.084   8  30%       1.460   6/10/88  9:00  2a3f
        Total:    12     115.343      19%      94.233





       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  25

       Commands in PE1CHL NET


       2.18      disconnect

                 Syntax : disconnect [<sess>]
                 
                 Initiates a disconnect of the specified session, if no
                 session is specified the current session is assumed. When
                 it is an AX.25 session, a DISC is immediately sent without
                 waiting for acknowledgement of packets in the send queue.


       2.19      echo

                 Syntax : echo {refuse|accept}
                 
                 A host system can send a signal called "WILL ECHO". If
                 "echo refuse" is set NET will answer with a "DON'T ECHO"
                 signal. If "echo accept" is set NET will answer with a
                 "DO ECHO" and turn of local echo of characters typed.
                 
                 Remote echo is used to allow host based editing facilities
                 but should not be used on radio.


       2.20      eol

                 Syntax : eol [{unix|standard}]
                 
                 Chooses between different ways to represent end of line.
                 If no parameter is given shows the current setting.
                 This is used with "remote echo".
                 


       2.20.1    standard

                 If parameter standard is given the end of line sequence is
                 set to CR. That is, the Enter key generates a CR. ASCII
                 code 13.


       2.20.2    unix

                 If parameter unix is given the end of line sequence is set
                 to LF. That is, the Enter key generates a LF. ASCII code 10.


       2.21      escape

                 Syntax : esc [{f<no>|<chr>}
                 
                 Sets the escape key used to go back to command level from a
                 session. Normally F10 on a PC.
                 
                 If no parameter is given the current value is shown. If
                 "f<no>" is given the key is set to the specified function
                 key. If another character is given this key is used.

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  26

       Commands in PE1CHL NET


       2.22      exit

                 Syntax : exit [!]
                 
                 Exits the program. If active connections exist the program
                 is only exited if the "!" parameter is given, else a
                 message about the active connections is shown.


       2.23      finger

                 Syntax : finger [<file>][@<hostid>]
                 
                 If the <file> parameter is not given, a list of files in
                 the finger directory is shown, else the specified file is
                 shown. If the @<hostid> parameter is not given the own
                 computer is assumed, else a call is made towards the
                 specified host.


       2.24      flow

                 Syntax : flow [{on|off}]
                 
                 If flow is on incoming text to a session is stopped if you
                 have started typeng in text. The text is presented after
                 enter has been pressed. If no parameter is given th current
                 value is shown.
                 
                 NOTE ! Messages from net is not stopped eg new mail.


       2.25      forward

                 Syntax : forward <intf> [<intf>]
                 
                 Redirects output for one interface to another interface.
                 If used with only one interface lists eventual forwarding
                 for that interface, when used with two interfaces output
                 for the first is redirected to the second.


       2.26      ftl0

                 FTL0 is the low level file transfer protocol used in the
                 PACSAT system.


       2.26.1    ftl0 cancel

                 Syntax : ftl0 cancel <req_cb>
                 
                 Cancels a queued FTL0 request. Active requests cannot be
                 canceled. <req_cb> is listed in the "ftl0 status" output.



       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  27

       Commands in PE1CHL NET


       2.26.2    ftl0 directory

                 All "ftl0 directory" commands return a directory listing in
                 the file "dirfile.dl" in the home directory. The satellite
                 software is most efficient in processing the
                 "ftl0 directory <server> a<time>" command, other selections
                 may take long time to process and there is a risk that the
                 connection is lost before the result is sent back.


       2.26.2.1  ftl0 directory a

                 Syntax : ftl0 directory <server> a <yymmddhhmmss>
                 
                 Gets a directory listing from the satellite. The selection
                 is upload time after specified time. Part of the time spec
                 may be omitted and defaults to zeroes.


       2.26.2.2  ftl0 directory f

                 Syntax : ftl0 directory <server> f <file_id>
                 
                 Gets a directory listing from the satellite. The selection
                 is file number above <file_id>.


       2.26.2.3  ftl0 directory s

                 Syntax : ftl0 directory <server> s <selection>
                 
                 Sends a FTL0 selection to <server>. <selection> is a string
                 of hex values forming the FTL0 SELECTION. Intended for use
                 with an external selection compiler.


       2.26.2.4  ftl0 directory t

                 Syntax : ftl0 directory <server> t <dest>
                 
                 Gets a directory listing from the satellite. The selection
                 is <dest> present in the destination address. <dest> may
                 contain wild card characters (* and ?).


       2.26.3    ftl0 download

                 Syntax : ftl0 download <server> <file_id> [<register_dest>
                                        [<lock_dest>]]
                 
                 Queues a file for download from a FTL0 server. <file_id> is
                 the FTL0 server's id on the file. <register_dest> and
                 <lock_dest> are sent as specified in the FTL0
                 specification, if omitted they default to zero.



       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  28

       Commands in PE1CHL NET


       2.26.4    ftl0 homedir

                 Syntax : ftl0 homedir <dirname>
                 
                 Specifies the directory to use for ftl0 file transfers.


       2.26.5    ftl0 kick

                 Syntax : ftl0 kick <server>
                 
                 Used to establish a link to the specified server so that
                 queued requests for that server can be executed. This
                 command must be issued when BUSY was returned on a "upload"
                 command or if the link fails for some reason.


       2.26.6    ftl0 post

                 Syntax : ftl0 post <server> <command>
                 
                 Specifies a NET command that shall be executed when the
                 FTL0 server has executed all queued requests. This can be
                 used to process the results of a FTL0 session. By using
                 the "source" command several commands in a file can be
                 executed.


       2.26.7    ftl0 status

                 Syntax : ftl0 status <server>
                 
                 Shows the status of the server and all queued requests.


       2.26.8    ftl0 server

                 Syntax : ftl0 server <server> <intf> <call> <paclen>
                                      <maxframe> <frack> [<minw> <maxw>
                                      <UIdest> <UIstring>]
                 
                 ??????


       2.26.9    ftl0 trace

                 Syntax : ftl0 trace [<hexval>]
                 
                 Show or set the events that are traced for ftl0
                 transactions. <hexval> is the logical OR of the following
                 values.
                 
                 0001    Print BBSTAT packets sent by server when jobs are
                         queued.
                 0002    Show commands that are sent to the server.
                 0004    Show state changes on the AX.25 link.

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  29

       Commands in PE1CHL NET


                 0008    Print alert message when link is disconnected
                         prematurely.
                 0010    Audiable feedback of ack'ed and received packets. A
                         high tone when the server acks an upload packet and
                         a low tone when a packet is received.


       2.26.10   ftl0 upload

                 Syntax : ftl0 upload <server> <filename> [<file_id>]
                                      [delete]
                 
                 Queues a file for upload to the specified server. The
                 filename should be complete with path specification. The
                 file must have a valid PACSAT file header. When <file_id>
                 is specified the upload is treated as a continuation of an
                 earlier attempt. If no link exists to the server the
                 "ftl0 upload" command tries to establish it. If "delete" is
                 specified the file is deleted after successfull upload.


       2.27      ftp

                 Syntax : ftp <address> [<port> [<tos>]]
                 
                 Initiates a file transfer control session towards the
                 specified address . The arp table is used to find the
                 interface that shall be used, if no arp entry is found for
                 the address the default path is used.
                 
                 port : Port number for the FTP server on the remote system,
                        (default 21). Can be used when connecting to TCP/IP
                        software using non-standard port number for FTP.
                 tos  : type of service for IP


       2.28      help

                 Also available as the alias "?"
                 
                 Shows a list of available commands.
                 
                 For further help on a specific command there are three
                 different methods.
                 1: Type a "?" after the command. eg "route ?"
                 2: Type the command without parameters. eg "ftp"
                 3: Type a nonsens parameter after the command.
                    eg "trace dfghg"
                 
                 NOTE! Not all commands provide help.
                       The fault messages of a command may be used as help.






       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  30

       Commands in PE1CHL NET


       2.29      host

                 Syntax : host {<hostname>|"["<ipaddr>"]"}
                 
                 Shows the <ipaddr> ascociated with a specific <hostname>
                 and vice versa.
                 <hostname> is a name found in HOST.NET.
                 <ipaddr> is a IP address.
                 
                 IP addresses are written in the form:
                 "[44.140.5.4]", within brackets. Each number represents a
                 byte and can have the values 0-255.


       2.30      hostname

                 Syntax : hostname [<hostname>]
                 
                 Lists or sets the name of the station.


       2.31      ip



       2.31.1    ip address

                 Syntax : ip address [{"["<ipaddr>"]"|<ipalias>]
                 
                 Specifies the identity of the station. <ipaddr> is a
                 IP address. NET can also use a <ipalias>, when this is used
                 the program searches the host list for the corresponding
                 IP address.
                 
                 IP addresses are written in the form:
                 "[44.140.5.4]", within brackets. Each number represents a
                 byte and can have the values 0-255.
                 
                 The "ip address" command with the address parameter is
                 normally only used in the initialisation files.


       2.31.2    ip status

                 Syntax : ip status
                 
                 Displays status and statistics of the IP and ICMP
                 protocols.









       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  31

       Commands in PE1CHL NET


       2.31.3    ip ttl

                 Syntax : ip ttl [<val>]
                 
                 Displays or sets the default "time-to-live" value placed in
                 each outgoing IP datagram. This limits the number of switch
                 hops the datagram will be allowed to take.


       2.32      kick

                 Syntax : kick [<session>]
                 
                 Forces unacknowledged packets for the given session to be
                 immediately retransmitted. Used to vake up a session that
                 seams to have stuck. If no session is given the default is
                 assumed.


       2.33      log

                 Syntax : log [{<filename>|off}]
                 
                 Without parameters shows the status of the logging
                 function. With parameter "off" switches off logging.
                 With parameter <filename> switches on logging to the
                 specified file. If logging was already on the previus file
                 is closed. <filename> may contain disk and path
                 specification.


       2.34      memstat

                 Syntax : memstat
                 
                 Shows the current memory utilisation. Can be used to
                 optimize memory allocation when running under DoubleDos or
                 Desqview.


       2.35      mheard

                 Syntax : mheard <intf> [<number>]
                 
                 Shows the last heard stations on the given interface. If a
                 number is given sets the number of callsigns to show.


       2.36      mkdir

                 Syntax : mkdir [-f] <dirname>
                 
                 Create directory <dirname> as a subdirectory of the current
                 directory. If the flag "-f" is given no error messages are
                 given.


       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  32

       Commands in PE1CHL NET


       2.37      mode

                 Syntax : mode <intf> {VC|Datagram}
                 
                 Shows or sets the working mode of the given interface.
                 In datagram mode packets are sent without using AX.25 link
                 level protocol. Acknowledgements are made on IP frames
                 only.
                 In VC mode a virtual circuit is used to the other station.
                 If no AX.25 connection is established one is set up.
                 Packets are acknowledged both by the AX.25 protocol and the
                 IP protocol. The acknowledgements may be in the same
                 packet.


       2.38      netrom



       2.38.1    netrom bcdest



       2.38.1.1  netrom bcdest

                 Syntax : netrom bcdest <intf>
                 
                 Shows the destinations for NET/ROM broadcasts. Default
                 "NODES".


       2.38.1.2  netrom bcdest add

                 Syntax : netrom bcdest <intf> add <dest> [<digi> [<digi>]]
                 
                 Adds a new destination <dest> to send NET/ROM broadcasts
                 to. Up to two digis may be specified.


       2.38.1.3  netrom bcdest drop

                 Syntax : netrom bcdest <intf> drop <dest> [<digi> [<digi>]]
                 
                 Removes <dest> from list of node broadcast destinations. If
                 all destinations are dropped on a interface no broadcast is
                 made on that interface but NET/ROM is still active.


       2.38.2    netrom bcnodes

                 Syntax : netrom bcnodes <intf>
                 
                 Starts sending of the node list on the given interface.




       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  33

       Commands in PE1CHL NET


       2.38.3    netrom downlink

                 Syntax : netrom downlink <call> <intf> [<digis>]
                 
                 Sets a "downlink" interface to be used for connects to
                 <call>. This interface overrides the "lap" interface.


       2.38.4    netrom exclude

                 Syntax : netrom exclude [<call> [d]]
                 
                 Shows a list of excluded callsigns. If <call> is given that
                 callsign is added to the excluded list. If also "d" is
                 given the callsign is removed from the list. Callsigns on
                 the netrom excluded list are not placed in the NODES list
                 when received in nodes broadcasts.


       2.38.5    netrom info

                 Syntax : netrom info [<file>]
                 
                 Shows or sets the file to be sent out when someone issues
                 the "I" command in the NET/ROM node. The file should not be
                 larger than 1K.


       2.38.6    netrom interface

                 Syntax : netrom interface <interface> <alias> <quality>
                                           [{lap|uplink}]
                 
                 Activates NETROM on the given interface. <alias> is the
                 node name to be sent out together with the call in the
                 nodes broadcasts. <quality> is the quality of the
                 connection which is used to determin the best route. LAP
                 may be specified on only ONE interface, it is the default
                 "downlink" frequency. UPLINK may be specified on other
                 interfaces to allow user uplinks. If neigther LAP or UPLINK
                 is specified the node does not respond to commands.


       2.38.7    netrom logmask

                 Syntax : netrom logmask [<mask>]
                 
                 Specifies wich NET/ROM events that shall be logged. The
                 <mask> value is in hexadecimal and is the logical OR of the
                 values in the following table.
                 
                 0x0001  user connected NET/ROM (AX.25)
                 0x0002  user connected NET/ROM (NR4 circ)
                 0x0010  downlink OK
                 0x0020  downlink fail


       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  34

       Commands in PE1CHL NET


                 0x0040  circuit OK
                 0x0080  circuit fail
                 0x0100  link failed


       2.38.8    netrom nodefilter



       2.38.8.1  netrom nodefilter

                 Displays the node filter list.


       2.38.8.2  netrom nodefilter add

                 Syntax : netrom nodefilter add <node> <intf>
                 
                 Adds a node in the node filter list.
                 
                 <node>  Callsign of the node to be filtered. Shall be
                         specified with SSID.
                 <intf>  The interface the node shall be filtered on.


       2.38.8.3  netrom nodefilter drop

                 Syntax : netrom nodefilter drop <node> <intf>
                 
                 Removes a node from the node filter list.
                 
                 <node>  Callsign of the node to be removed. Shall be
                         specified with SSID.
                 <intf>  The interface the node shall be removed from.


       2.38.8.4  netrom nodefilter mode

                 Syntax : netrom nodefilter mode [{none|reject|
                                                 accept|exclusive} [<intf>]]
                 
                 Shows or sets the mode that the node list shall be used in.
                 If <intf> is specified the filter mode is for that
                 interface only, else it is for all initiated interfaces.
                 
                 none      The node filter list is not used for anything.
                 reject    Only node broadcasts from nodes NOT in the
                           node filter list is used.
                 accept    Only node broadcasts from nodes IN the node
                           filter list is used.
                 exclusive Only node broadcasts from nodes IN the node
                           filter list is used. All NET/ROM packets from
                           nodes NOT in the list are discarded.




       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  35

       Commands in PE1CHL NET


       2.38.9    netrom nodes

                 Syntax : netrom nodes [*]
                 
                 If * is given ALL nodes in the node list is shown. If * is
                 NOT given nodes with # as the first character in the name
                 is NOT shown.


       2.38.10   netrom nodetimer

                 Syntax : netrom nodetimer [<time> [<intf>]]
                 
                 Controls the time interval for transmission of the node
                 list. If <time> is not given the time since the last
                 transmission and the interval time is shown. If <time> is
                 given the interval is reset and the counter restarted. If
                 <intf> is given the interval is reset on that interface
                 only. <time> is given in seconds. If no interface is
                 specified the command affects all initiated interfaces.


       2.38.11   netrom obsotimer

                 Syntax : netrom obsotimer [<time>]
                 
                 Controls the interval for stepping the "obsolescence"
                 counter. If <time> is not given the time since the last
                 stepping and the interval time is shown. If <time> is
                 given the interval is reset and the counter restarted.
                 <time> is given in seconds.


       2.38.12   netrom param



       2.38.12.1 netrom param 3

                 Syntax netrom param 3 [<Aufl> [<Obin> [<Obbc> [<ttl>
                                       [<Maxr> [<Maxq> [<Maxf>]]]]]]]
                 
                 Parameters for the network layer of the NET/ROM protocol.
                 If no parameter is given the current values are shown.
                 Given parameter values sets the parameters in listed order.
                 The table shows the abbreviations the names shown on the
                 display the default value and the function.
                 
                 <Aufl>   Autofloor. Default value 60. The lowest quality
                          value on a node that is accepted in a NODES
                          broadcast. Nodes with lower quality are not put in
                          the node list.
                 <Obin>   Obso_init. Default value 6. Initial value for the
                          "Obsolescence" counter.
                 <Obbc>   Obso_minbc. Default value 5. The lowest value of
                          the "Obsolescence" counter for a node to be listed

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  36

       Commands in PE1CHL NET


                          in the nodes broadcast.
                 <ttl>    TTL. Default value 16. The number of nodes a
                          packet can pass. The value is entered in outgoing
                          packets and is decremented by each node it passes.
                          When the value reaches 0 the packet is discarded.
                 <Maxr>   Maxroutes. Default value 3. Max number of times
                          rerouting is made when a node does not answer.
                 <Maxq>   Maxqueue. Default value 16. Maximum number of
                          packets that are allowed to appear on the AX.25
                          queue to a neighbor node. If more packets are to
                          be added, they are dropped, and an alternative
                          route to the destination is tried.
                 <Maxf>   Maxfail. Default value 1. The number of times the
                          AX.25 link to a neighbor is allowed to fail before
                          it is deleted from the table.


       2.38.12.2 netrom param 4

                 Syntax : netrom param 4 [<Timo> [<Tries> [<Ackd> [<Busyd>
                                         [<Win> [<Backl> [<Inact>]]]]]]]
                 
                 Parameters for the transport layer of the NET/ROM protocol.
                 If no parameter is given the current values are shown.
                 Given parameter values sets the parameters in listed order.
                 The table shows the abbreviations, the names shown on the
                 display, the default value and the function.
                 
                 <Timo>   Timeout. Default value 60. Time between re-tries
                          at the transport level, in seconds.
                 <Tries>  Tries. Default value 3. The number of times the
                          node retries sending towards one node.
                 <Ackd>   Ackdelay. Default value 3. Number of seconds the
                          node waits before sending acknowledgements in
                          order to be able to acknowledge more packets in
                          one transmission.
                 <Busyd>  Busydelay. Default value 180. Number of seconds
                          before the node gives up because the other node is
                          busy. CHOKE packet instead of ACK.
                 <Win>    Window. Default value 4. Maximum number of
                          unacknowledged packets allowed. The actual window
                          size used will be the lowest of this value and the
                          corresponding value in the other node.
                 <Backl>  Backlog. Default value 4. The number of packets
                          the node will buffer when the outgoing connection
                          does not accept packets. When the buffer is full
                          RNR or CHOKE packets are sent as acknowledgement.
                 <Inact>  Inactive. Default value 900. Number of seconds
                          before the node resets a connection because of
                          inactivity.







       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  37

       Commands in PE1CHL NET


       2.38.12.3 netrom param 7

                 Syntax : netrom param 7 {0|1}
                 
                 Enables (1) or disables (0) the sending of both source and
                 local node in downlink connects.


       2.38.13   netrom route



       2.38.13.1 netrom route

                 Lists all known nodes with callsign and name, and what node
                 and interface to be used when contacting the node.


       2.38.13.2 netrom route add

                 Syntax : netrom route add <dest> <alias> <quality>
                                           <obso> <intf> <neighbor>
                 
                 Adds a fixed entry to the node list.
                 
                 <dest>     Callsign of the node. shall be given with SSID.
                 <alias>    The name of the node. Names starting with "#"
                            are not transmitted in a brief node listing.
                 <quality>  The quality of the connection. Used to determin
                            the best route.
                 <obso>     Obsolescence counter value. Controls whether the
                            node is listed in the nodes broadcast.
                 <intf>     The interface used to contact the node.
                 <neighbor> The callsign of the adjacent node to contact
                            when calling this node. Callsign of the node if
                            the node is to be directly called.


       2.38.13.3 netrom route drop

                 Syntax : netrom route drop {<dest>|*} <intf> <neighbor>
                 
                 Removes one or all nodes contacted through the specified
                 adjacent node on the specified interface.


       2.38.13.4 netrom route info

                 Syntax : netrom route info <call>
                 
                 Shows information about the node specified by <call>.
                 
                 Example :
                 net> netrom route info sk5mk-7
                 CP Qual Obso Interf Neighbor     Node: MARIE7:SK5MK-7
                     192    6 433650 SK5MK-7

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  38

       Commands in PE1CHL NET


       2.38.13.5 netrom route save

                 Syntax : netrom route save <fil>
                 
                 Saves all nodes in the nodelist each time the "nodetimer"
                 elapses. Use only to reload the nodelist after a restart,
                 if the list is reloaded after a long time it will disturb
                 the network.


       2.38.14   netrom routes

                 Shows all adjacent nodes. For each node is shown : the
                 interface it is reached by, the quality and the number of
                 nodes reached through the node.


       2.38.15   netrom status

                 Shows status for all connections to the NET/ROM node.
                 
                 NOTE ! Does NOT show connections made through the node.


       2.38.16   netrom tcpip

                 Syntax : netrom tcpip [{normal|link|broadcast|ignore}
                                       [<alias>]]
                 


       2.38.16.1 netrom tcpip

                 Displays or sets the type of handling of nodes with other
                 names than <alias>. If <alias> is not specified "#TCPIP" is
                 assmued.


       2.38.16.2 netrom tcpip normal

                 ??????


       2.38.16.3 netrom tcpip link

                 Syntax : netrom tcpip link
                 
                 Makes only visible nodes and "#TCPIP" appear in node
                 broadcasts.


       2.38.16.4 netrom tcpip broadcast

                 ??????



       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  39

       Commands in PE1CHL NET


       2.38.16.5 netrom tcpip ignore

                 ??????


       2.38.17   netrom users

                 Shows connections made through the node. For directly
                 connected end users the interface on wich they are
                 connected is shown. For end users connetcted through
                 another node the end users signal and the node it is
                 connected to is shown.


       2.39      nrstat

                 Shows statistics about interfaces attached using the "nrs"
                 mode.


       2.40      param

                 Syntax : param <intf> <par...>
                 
                 Sends device specific parameters to the device controlling
                 a specific interface.
                 
                 ,Param-kommandon fr olika interfacetyper
                 
                 Example :
                 "param 144 255" : Will take a Kantronics TNC on interface
                                   144 out of KISS mode.


       2.41      ping



       2.41.1    ping

                 Syntax : ping [<host> [<intv>]]
                 
                 If <host> is given a ping is sent to the host. If also
                 <intv> is given repeated pings are sent with this interval.
                 In the second case statistics is stored in a table that is
                 shown if no parameter is given, in the first case the
                 values are displayed at once. If <intv> is set to 0 no more
                 pings are sent.


       2.41.2    ping clear

                 Syntax : ping clear
                 
                 Clears the ping statistics table and stops all pings.


       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  40

       Commands in PE1CHL NET


       2.41.3    ping length

                 Syntax : ping length [<val>]
                 
                 Shows or sets the length of the message sent at a ping.


       2.42      pwd

                 Shows default directory.


       2.43      record

                 Syntax : record {<filename>|off}
                 
                 Start recording of all comunication on the current session
                 to the specified file. Off shuts off recording.
                 If <filename> is specified when recording is already on the
                 previus file is closed and recording resumed in the new
                 file.


       2.44      remote

                 Old remote control server. Only handles "reboot" and "exit
                 from NET" functions. Not recommended to use, use the "RCMD"
                 server instead.


       2.45      rename

                 Syntax : rename <oldfile> <newfile>
                 
                 Gives the file <oldfile> the new name <newfile>. <oldfile>
                 and <newfile> can be given with a directory. If the
                 directorys are not the same the file is moved to the
                 directory given in <newfile>.
                 
                 NOTE ! If no directory is given the current directory is
                        assumed. If only <oldfile> is given with directory
                        the file is moved to the current directory.


       2.46      reset

                 Syntax : reset [<session>]
                 
                 Closes the given session. The remote end is not informed
                 wich means that an open channel is left there. If no
                 session is given the current session is assumed.






       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  41

       Commands in PE1CHL NET


       2.47      rmdir

                 Syntax : rmdir [-f] <dirname>
                 
                 Removes subdirectory <dirname> from the current directory.
                 If the flag "-f" is given no error messages is given.


       2.48      route



       2.48.1    route

                 The command route with no parameters shows the routing
                 table.


       2.48.2    route add

                 Syntax : route add {<desthost>[/<bits>]|default} <iface>
                                    [<gatehost> [<metric>]]
                 
                 Adds an entry to the routing table. If "default" is
                 specified the entry covers all destinations not handled by
                 other entries.
                 
                 <desthost> specifies the signal the entry is used for and
                 <iface> the interface to use toward this signal.
                 
                 By using <bits> only a part of the address is used to check
                 the routing for a packet. This allowes all addresses within
                 a group or subnet to be sent to a specific interface.


       2.48.3    route drop

                 Syntax : route drop <desthost>[/<bits>]
                 
                 Removes an entry from the routing table.


       2.48.4    route info

                 Syntax : route info <hostid>
                 
                 Shows wich inteface is used for contacts with <hostid>.


       2.49      session

                 Syntax : session [<num>]
                 
                 Without parameters shows the current sessions.
                 With parameter <num> switches to that session.


       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  42

       Commands in PE1CHL NET


       2.50      sccstat

                 Once the SCC driver has been initialized, some statistic
                 information can be shown using the sccstat command. The
                 output of this command shows one line of information per
                 attached channel.
                 
                 The info shown is :
                 
                 Ch     - channel number of the attach command
                 Iface  - name of the interface
                 Sent   - number of frames queued for transmission
                 Rcvd   - number of frames received correctly
                 Error  - number of receive errors (CRC, ABORT)
                 Space  - number of times the receiver buffer pool was found
                          empty
                 Overr  - number of receiver overruns and transmitter
                          underruns
                 Rxints - number of receiver interrupts
                 Txints - number of transmitter interrupts
                 Exints - number of receiver special condition interrupts
                 Spints - number of external/status interrupts
                 
                 It is normal that a SLIP or KISS channel shows no errors,
                 and no special condition or external/status interrupts,
                 while an AX25 channel has lots of these.
                 
                 An overrun is abnormal for all operating modes. If lots of
                 these occur, the product of baudrate and number of
                 interfaces is too high for the processing power of your
                 computer.
                 
                 If "Space" errors occur, specify a higher number of buffers
                 in the "buffers" command. It is, however, normal if these
                 errors occur when you start a shell, or when you pause the
                 output of any command using CTRL-S. This is because the
                 processing and allocation of buffers stops in these cases,
                 while receiver input keeps coming in under interrupt
                 control.
                 
                 When you see only transmitted frames, the number of
                 transmitter interrupts is 1, and all other counters are 0,
                 the SCC is not generating interrupts to the computer. The
                 single transmitter interrupt is a "simulated" interrupt
                 that should start the transmission (but apparently
                 doesn't).
                 
                 Example :
                 
        Ch Iface  Sent  Rcvd Error Space Overr Rxints Txints Exints Spints
        0 144      88   152   200     0     0  10013   4488    905    235
        1 430       6    70     0     0     0   1915     29      0      0





       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  43

       Commands in PE1CHL NET


       2.51      setenv

                 Syntax : setenv <envname>=<string>
                 
                 Sets the value of a DOS ENVIROMENT VARIABLE. <envname> is
                 the name of the variable and <string> the value it gets. To
                 remove a variable assign it an empty string.
                 
                 Enviroment variables are used by NET and other programs to
                 hold values that differ between two installations of the
                 program but are constant in one specific installation.
                 
                 Enviroment variables can also be set from DOS, use the
                 command SET.


       2.52      shell

                 Syntax: shell [/c <command>]
                 
                 Also available as the alias "!"
                 
                 If no parameter is supplied a DOS shell is started.
                 
                 If the parameter "/c <command>" is supplied this command
                 is executed directly. The parameter <command> may contain a
                 full program path.
                 To execute this command there must be enough memory
                 available to hold both NET and the other program in memory
                 simultaneously.
                 
                 To return to NET give the command "exit".
                 
                 Example: To start BMAILER
                 
                 ! /c c:\net\bmailer.exe
                 
                 NOTE! When you are in the DOS shell NET is not processing
                       any traffic, all communications are locked.
                 
                 NOTE! If you issue a "! /c <command>" command when you are
                       logged in as remote sysop you must be very careful so
                       that the command or program does not require any
                       further input. Also do not forget the "/c" parameter.
                       In case you miss anything the system will hang and
                       must be rebooted.
                 
                 NOTE! See "Use of watchdog" to see how to protect a system
                       from hangs.
                 
                 NOTE! The "/c <command>" parameter is a feature in
                       PC/MS-DOS, it may be with different syntax or may not
                       exist at all in other enviroments.




       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  44

       Commands in PE1CHL NET


       2.53      smtp



       2.53.1    smtp gateway

                 Syntax : smtp gateway [<host>]
                 
                 If <host> is not given the host acting as smtp gateway is
                 shown. If <host> is given that host is set as smtp gateway.
                 Messages forwarded through smtp is first sent to the host
                 acting as smtp gateway.


       2.53.2    smtp hold



       2.53.2.1  dest

                 ??????


       2.53.2.2  host

                 ??????


       2.53.2.3  mode

                 ??????


       2.53.2.4  source

                 ??????


       2.53.3    smtp mode

                 Syntax : smtp mode [queue|route|forward]
                 
                 Controls SMTP:s mode of operation.
                 
                 queue    Mail is put in the NETROUTEQ directory.
                 route    The "alias" file is used to translate addresses on
                          the incoming mail. Mail addressed to
                          "<user>@host" will be copied to the mail file
                          "<user>" in the mail directory. Mail addressed to
                          other hosts will be forwarded.
                 forward  The "alias" file is used to translate addresses on
                          the incoming mail. Mail addressed to other hosts
                          will be forwarded. Mail addressed to users on this
                          system will not be saved. The "alias" file should
                          contain a translation to redirect this mail.


       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  45

       Commands in PE1CHL NET


       2.53.4    smtp kick

                 Starts smtp forwarding at once. Used to send of a newly
                 written message as soon as possible.


       2.53.5    smtp list

                 Lists messages in queue for smtp forwarding.


       2.53.6    smtp maxclients

                 Syntax : smtp maxclients [<num>]
                 
                 Shows or sets the number of concurrent users of smtp. This
                 value shall be set so that there is a free user for
                 incoming smtp forwarding while outgoing smtp forwarding is
                 going on.


       2.53.7    smtp maxsessions

                 Syntax : smtp maxsession <no>
                 
                 Defines maximum number of incoming SMTP sessions from one
                 remote host. Default is 1. When an incoming SMTP session
                 would cause the maximum to be exceeded, the oldest
                 connection is closed.


       2.53.8    smtp release

                 Syntax : smtp release <job-id>
                 
                 ??????


       2.53.9    smtp timer

                 Syntax : smtp timer [<time> [<newtime>]]
                 
                 Shows the interval and gone time for smtp:s timer. If
                 <time> is given the timer is reset. <newtime> is the time
                 for incoming messages to be forwarded.


       2.54      source

                 Syntax : source <filename>
                 
                 Starts executing commands from <filename>. <filename> may
                 contain disk and path specification.




       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  46

       Commands in PE1CHL NET


       2.55      start

                 Syntax : start <server>
                 
                 Starts a TCP/IP server. The TCP/IP servers each gives a
                 service to users connecting the system. If no server is
                 started for the service the user is connecting the
                 connection is reset with an error message.
                 
                 <server> may be one of the following :
                 
                 discard
                 echo
                 finger
                 ftp
                 smtp
                 telnet
                 rcmd
                 remote
                 
                 
                 


       2.56      stop

                 Syntax : stop <server>
                 
                 Stops the given server. When a server is stopped no
                 incoming connects to that service can be handled any more.
                 
                 <server> may be one of the following :
                 
                 discard
                 echo
                 finger
                 ftp
                 smtp
                 telnet
                 rcmd
                 remote
                 
                 
                 


       2.57      tcp



       2.57.1    tcp active

                 Shows all active TCP/IP connections.




       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  47

       Commands in PE1CHL NET


       2.57.2    tcp backoff

                 Syntax : tcp backoff <level>
                 
                 Allows you to directly set the "backoff" level of an active
                 TCP connection. The backoff level controls the
                 retransmission timer.


       2.57.3    tcp close

                 Syntax : tcp close <tcb>
                 
                 Closes the TCP/IP connection that has control block <tcb>.


       2.57.4    tcp irtt

                 Syntax : tcp irtt [<val>]
                 
                 Shows or sets the initial value of RTT. Under the life of a
                 connection the value of RTT is changed. Only connections
                 established after the command is affected. Servers shall be
                 started after the command for the value to be used by them.


       2.57.5    tcp kick

                 Syntax : tcp kick <tcb>
                 
                 Forces immediate transmission of the next packet in the
                 transmission queue. Can be used to revive a connection that
                 has got stuck.


       2.57.6    tcp mss

                 Syntax : tcp mss [<size>]
                 
                 Display or set the TCP Maximum Segment Size in bytes that
                 will be sent on all outgoing TCP connect request (SYN
                 segments). This tells the remote end the size of the
                 largest segment (packet) it may send. Changing MSS affects
                 only future connections, existing connections are
                 unaffected.


       2.57.7    tcp reset

                 Syntax : tcp reset <tcb>
                 
                 Deletes the control block <tcb>. The other end of the
                 connection is not informed.




       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  48

       Commands in PE1CHL NET


       2.57.8    tcp rtt

                 Syntax : tcp rtt <tcb> <val>
                 
                 Replaces the automatically computed round trip time in the
                 specified tcb with the rttval in milliseconds. This command
                 is useful to speed up recovery from a series of lost
                 packets since it provides a manual bypass around the normal
                 backoff retransmission timing mechanisms.


       2.57.9    tcp status

                 Syntax : tcp status [<tcb>]
                 
                 If <tcb> is not given all TCP/IP connections are shown. For
                 each connection is shown : the number of the control block,
                 number of characters in the receive queue, number of
                 packets in the send queue, host number on each side and
                 status. If <tcb> is given additional data is shown about
                 that connection.


       2.57.10   tcp timeout

                 Syntax : tcp timeout [<time>]
                 
                 Specifies the maximum time that TCP will wait in some
                 cases. Normally TCP will retry forever, but there are cases
                 when this is not useful (e.g. when waiting for a response
                 from a remote SMTP). The connection is reset after this
                 timeout.


       2.57.11   tcp tos

                 Syntax : tcp tos <tcb> <tos>
                 
                 Set IP type of service to be used by TCP on a certain
                 connection. This setting overrides the value specified by
                 "mode", which sets the default mode to use for an
                 interface.
                 
                 Possible values of <tos> are :
                 
                 d    low delay   (NET will use UI frames)
                 r    reliability (NET will use connected mode)
                 t    throughput  (no effect in NET)









       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  49

       Commands in PE1CHL NET


       2.57.12   tcp ubound

                 Syntax : tcp ubound <time>
                 
                 Set an upper bound to the Retransmission Timer used by TCP.
                 This will clip the timeout to a certain level when the
                 backoff increases, so that there is a better chance that
                 the session stays alive. <time> is specified in seconds,
                 with a minimum of 1800. A value of 0 will turn off this
                 feature.


       2.57.13   tcp window

                 Syntax : tcp window [<val>]
                 
                 Shows or sets the size of the window that shall be used on
                 new connections. <val> is the window size in bytes. The
                 size of the window determins how mush data is allowed to go
                 out before waiting for an acknowledgement signal.


       2.58      telnet

                 Syntax : telnet <hostname> [<port>]
                 
                 Starts a telnet session towards the specified hostname. If
                 a existing <port> is specified you are connected to that
                 service. The service must have been started with a
                 "start service" command. This is used to connect to the
                 remote sysop facility.


       2.59      trace

                 Syntax : trace [<intf> [<mode>]]
                 
                 Without parameters shows the tracing modes on all
                 interfaces. If an interface is given only the mode for that
                 interface is shown. If also the <mode> is specified the
                 trace mode for that interface is changed accordingly.
                 
                 <mode>: xxx
                          Output 1=on 0=off
                          Input  1=on 0=off
                          Dump mode 0=Headers 1=ASCII 2=Hex/ASCII


       2.60      type

                 Syntax : type <file> [[-]<num>]
                 
                 Types the contents of a text file. If <num> is given that
                 number of lines are typed. If <num> is negative the last
                 lines are typed.


       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  50

       Commands in PE1CHL NET


       2.61      udp

                 Syntax : udp status
                 
                 Shows the status of the UDP protocol. The only UDP server
                 is the old "remote" server. If it is started it will be
                 listed here.


       2.62      upload

                 Syntax : upload <file>
                 
                 Writes the text in <file> to the current session. This
                 allows large amounts of text to be edited in advance and
                 then be transmitted with one command.


       2.63      watchdog

                 Syntax : watchdog <hw-port> <bit>
                 
                 Sets up a trigger for an external hardware watchdog. For
                 each loop through the program the bit set in <bit> will be
                 set and reset on hardware address <hw-port>. The unset bits
                 will be unaffected.


       3.        Functions



       3.1       Conference Board



       3.1.1     Commands

                 //Conn station [int]
                 //Disc [station]
                 //Int
                 //MHeard [Int]
                 //Users














       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  51

       Commands in PE1CHL NET


       3.2       Mail Box



       3.2.1     Activation of the mail box

                 To start a mail box two commands is required in
                 autoexec.net or a file called by it. The mail box can also
                 be started manually.
                 
                 The first command reserves a callsign with ssid that shall
                 be used for contacts with the mail box. The second command
                 starts the program function that manages the mail box. It
                 also specifies what file that shall be sent on a INFO
                 command.
                 
                 Example :
                 
                 ax25 port 6 conn sm0ies-8
                 ax25 start mbox \net\finger\sm0ies.txt


       3.2.2     Commands in the mail box



       3.2.2.1   Info

                 Shows the text file specified in the activation command.
                 This file should contain information about the system.


       3.2.2.2   Send

                 Syntax : send <call>
                 
                 Sends a message to <call>. The message is distributed to
                 the correct mail area or user with the SMTP protocol.


       3.2.2.3   Bye

                 Exits the mailbox and disconnects.


       3.3       Logging

                 With the "log" command all calls towards the system can be
                 logged. In the file is saved the time of all connects and
                 disconnects together with the calls and what functions that
                 has been used.






       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  52

       Commands in PE1CHL NET


       3.4       Recording of traffic

                 With the "record" command data coming in to a session can
                 be saved to a file. The most common use of this is to enter
                 a BBS and read a message to a file for future study.
                 
                 This is how to do it:
                 1. Connect the BBS and choose the letter you want to
                    record.
                 2. Press F10 to get the "net>" prompt back.
                 3. Give the command "record <file>".
                 4. Press "ENTER" on an empty line and you are returned to
                    the BBS (nothing shows though).
                 5. Give the command to the BBS to read the message.
                 6. Press F10 and give the command "record off" to finish
                    recording, the message is now saved in a file with the
                    name you gave at <file>.
                 
                 NOTE ! Messages from the system, eg. regarding new mail,
                        that comes in during recording is also saved in the
                        file.


       3.5       Digipeater



       3.5.1     Setting up digipeaters

                 Two commands are neccesary in autoexec.net or a file called
                 by it. The first command reserves a callsign or ssid for
                 the digipeater, the other activates the netdigi program
                 function.
                 
                 Example :
                 ax25 port 2 digi $CALLSIGN
                 ax25 start netdigi


       3.5.2     Setting up gateways

                 One command is neccesary for each frequency that is to be
                 reached by a gate. These commands reserves a callsign or
                 ssid for each out frequency. Also needed is a command to
                 activate the netdigi program function, this may be the same
                 as for the digipeater function.
                 
                 Example :
                 
                 ax25 port 2 digi $CALLSIGN
                 ax25 port 2 digi $CALLSIGN-9 144625 gate
                 ax25 port 2 digi $CALLSIGN-10 433650 gate
                 ax25 port 2 digi $CALLSIGN-11 144675 gate
                 ax25 port 2 digi $CALLSIGN-12 433725 gate
                 ax25 start netdigi


       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  53

       Commands in PE1CHL NET


       3.5.3     To use the digipeater

                 Using a digipeater in NET is almost as using an ordinary
                 digipeater. The major differences are that the digipeater
                 in NET acknowledges all packets localy on each part of the
                 connection and that NET send out a couple of extra lines
                 when the connection is set up.
                 
                 Example :
                 
                 Connect via ordinary digipeater:
                 C SM5DQ V SM0ORB
                 After all packets has gone back and fort in each direction.
                 *** CONNECTED to SM5DQ VIA SM0ORB
                 The connection is established
                 
                 Connect via NET:s digipeater:
                 C SM5DQ VIA SM0ORB
                 A quick answer
                 *** CONNECTED to SM5DQ via SM0ORB
                 NetDigi SM0ORB: Please wait for connection
                 When NET has made the connect on the other side
                 NetDigi SM0ORB: CONNECTED to SM5DQ
                 The connection is established
                 
                 Local acknowledgement is an advantage if one part of the
                 connection is poor since fewer packets need to be
                 retransmitted because of that poor connection.


       3.5.4     To use the gateway

                 In an ordinary TNC a callsign or ssid is used to indicate
                 that the connection is to be set up from one channel to the
                 other. This provides a cross form connection possibility
                 with one callsign. In NET a callsign or ssid is used to
                 indicate the outgoing interface for the connection
                 regardless of the incoming interface. This construction
                 allows more than two interfaces to be used.
                 
                 Example:
                 C SM5DQ SM0ORB-9
                 Connection part between SM0ORB and SM5DQ is on 144625
                 C SM5DQ SM0ORB-10
                 Connection part between SM0ORB and SM5DQ is on 433650












       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  54

       Commands in PE1CHL NET


       3.6       NET/ROM Node

                 NET/ROM Node commands


       3.6.1     Through connect

                 The node may be used as an intellegent digipeater. A direct
                 connect to a station can be made by giving a connect
                 command of the form:
                 
                 connect <call> via <entrynode> <exitnode>   or
                 connect <call> via <node>
                 
                 This gives a connect to the entry node. That node sets up
                 the path to the exit node and makes the connect to the
                 destination call. If there is any problems when setting up
                 the path the entry node returns DM (busy). If only one node
                 is specified it is used as both entry and exit node.


       3.7       Multiple sessions

                 When an outgoing connection has been established all text
                 written is sent to the opposite end of that connection. If
                 you wish to give commands to NET you can press F10 to
                 return to the command prompt. There you may start a new
                 outgoing connection.
                 
                 Every connection is given a session number and with the
                 session command the existing sessions may be listed. By
                 providing a session number to the session command you
                 return to that session and continues to send text on that
                 connection.
                 
                 Keep in mind that each session has a limited buffer for
                 storing incoming text, when that buffer is full
                 communication is stopped.
                 
                 The most common use is to create several FTP sessions so
                 that several files can be transferred simultaniusly.


       3.8       Transfer mail to a file

                 When the first line of a "mailbox" file (mail\xxxx.txt) is
                 of the form:
                 {write|append} [<path>\<file>
                 the incoming mail will be written (or appended) to the
                 specified file, not to the mailbox file.
                 
                 Example :
                 The file HOSTS.TXT reads:
                 write c:\net\hosts.net
                 This makes the hosts list sent to HOSTS@<signal> to be
                 written to the file NET uses.

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  55

       Commands in PE1CHL NET


                 The file DIGEST.TXT reads:
                 append c:\net\public\digest.txt
                 This makes mail sent to DIGEST to be stored in a file that
                 can be fetched with FTP. The file is updated when new mail
                 arrives but old mail is not deleted.


       3.9       Forwarding to AX.25 BBS

                 When mail must be sent to a host, a check is made if the
                 hostname is of the form "<call>.bbs", and if a file exists
                 in the MQUEUE directory with this name. If both of these
                 conditions are met, the mail is forwarded using a script in
                 the MQUEUE\<call>.bbs file.
                 
                 The script contains lines, of which the first character is
                 an opcode :
                 
                 #      This line is a comment.
                 
                 c      Only as the first line: Specifies the initial
                        connect to be made. This can be a connect to the
                        BBS, or to a NET/ROM node that is used to reach the
                        BBS. Syntax is like the net> connect command.
                 
                 s      Send string to remote BBS or node. Can be used to
                        send strings containing connect commands to NET/ROM
                        nodes.
                 
                 w      Wait for specified string to be received. Lines not
                        containing this string are ignored. Useful during
                        connect and disconnect phase, to eat banners sent by
                        the BBS.
                 
                 r      Checks for a specified string to be received. When a
                        line not containing this string is received in the
                        message transfer phase, it is mailed back to the
                        message sender (it probably is an error). While in
                        the connect phase, the box is simply disconnected.
                 
                 l      Marks the point in the script where the connect
                        ends, and the messages are transferred. ("loop")
                 
                 m      Defines the line to be sent to send a message. Line
                        is used as an argument to sprintf, with the
                        following string args:
                 
                        1. message type ("P")
                        2. destination call
                        3. destination bbs
                        4. source call
                        5. message id
                 
                 u      Send subject of message. Line is an argument to
                        sprintf, with the message subject as an argument.


       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  56

       Commands in PE1CHL NET


                 b      Send the body of the message. Any text after the "b"
                        is sent as the end-of-message marker. The default is
                        ^Z.
                 
                 n      Defines the end of the message transfer lines and
                        the start of the disconnect phase. Control will
                        branch back to "l" when more messages are to be sent
                        ("next")


       4.        Configuration



       4.1       Configuration of DOS

                 NET requires a serial port driver, this may be loaded as a
                 device driver from CONFIG.SYS or as a memory resident
                 program from AUTOEXEC.BAT. If NET shall use an ethernet
                 board a driver program for that board must be loaded.


       4.2       Variables used by NET



       4.2.1     CALLSIGN

                 The callsign of the user WITHOUT ssid. Ssid is added when
                 the variable is used.


       4.2.2     NETALIAS

                 The complete name of the file with the translation table
                 for SMTP:s mail addressing. Shall include path.


       4.2.3     NETCONF

                 Sets specific treatment of MSDOS machines that are not PC
                 clones. The variable is built up by one or more of the
                 following strings. The variable may be set using the DOS
                 "SET" command or by passing it as a parameter to NET.
                 
                 k0   MSDOS call 06H & PC keyboard codes (default)
                 k98  NEC PC98xx BIOS call
                 t0   PC BIOS 55ms ticks 40:6C (default)
                 t1   MSDOS get_time call
                 t98  8253 timer NEC PC98xx


       4.2.4     NETEXIT

                 The complete name of the command file to be executed when
                 leaving NET.

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  57

       Commands in PE1CHL NET


       4.2.5     NETFINGER

                 The name of the finger directory. Files stored here is
                 reached with the finger command. The files must have ".TXT"
                 extension.


       4.2.6     NETHOSTS

                 The complete name of the file containing names and host
                 numbers for all TCP/IP users.


       4.2.7     NETMAILQ

                 The name of the directory where incoming and outgoing mail
                 is queued until it is handled by the SMTP server.


       4.2.8     NETMAILS

                 The name of the directory where the SMTP server puts the
                 mail area files.


       4.2.9     NETROUTEQ

                 The name of the directory where incoming mail is put when
                 "smtp mode queue" is used.


       4.2.10    NETSTART

                 The name of the command file to be executed when NET is
                 started.


       4.2.11    NETUSERS

                 The name of the file where user names and passwords for FTP
                 are stored.


       4.2.12    TZ

                 In this variable the timezone that the clock is set after
                 shall be stored. The information is used to calculate time
                 differences.


       4.2.13    TMP

                 The name of the directory where NET shall store its
                 temporary files. If none is given the files are stored in
                 the current directory and if this changes NET cannot erase
                 the files upon exit.

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  58

       Commands in PE1CHL NET


       4.3       Configurations in AUTOEXEC.NET



       4.3.1     General

                 When NET  is started all commands in the file AUTOEXEC.NET
                 are executed. This is where all commands that need to be
                 run on each startup and that controls the function of NET
                 shall be placed.


       4.3.2     Configuration of COM port

                 To use the COM ports on the PC they must be connected to
                 logical intefaces. This is done with the attach command.
                 
                 Example:
                 
                 # Attach communications port 1
                 #
                 attach com 1 ax25 144.675 256 2400 n $CALLSIGN-2
                 #
                 # Attach secondary KISS device
                 #
                 attach kiss 144.675 1 433.725 256 $CALLSIGN-7
                 #
                 
                 This defines both channels in a two port TNC (KPC-4):


       4.3.3     Initialize TNC

                 # Initialize TNC
                 #
                 # Go to KISS mode
                 # param 144.675 13 13 73 78 84 70 32 75 73 83 83 13 82 69
                                 83 69 84 13
                 
                 The commands given are :
                 Two Returns       To get the TNC:s attention and clear its
                                   buffer.
                 INTF KISS Return  Switches the TNC to KISS mode.
                 RESET Return      Activates the TNC in KISS mode.


       4.3.4     AX25 parameters for TNC

                 # AX25 parameters for TNC
                 param 144.675 1 35
                 param 433.725 1 35
                 param 144.675 2 63
                 param 433.725 2 63
                 param 144.675 3 10
                 param 433.725 3 10
                 param 144.675 4 3

       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  59

       Commands in PE1CHL NET


                 param 433.725 4 3
                 param 144.675 5 0
                 param 433.725 5 0
                 #
                 
                 The AX25 parameters are as follows :
                 1 Txdelay
                 2 Persist
                 3 Slottime
                 4 Retry















































       Rev R2A, Updated for NET 920212.PE1CHL
                                                                   page  60


