home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1
/
HamRadio.cdr
/
exam
/
g1emmnos
/
nos_cmd.doc
< prev
next >
Wrap
Text File
|
1990-09-12
|
34KB
|
544 lines
============================
TCP/IP COMMAND SET REFERENCE
============================
Version 1.1: 1 September 1990
Document Reference: "NRWCMD11"
by Ian Wade, G3NRW
7 Daubeney Close
Harlington
Dunstable
Bedfordshire
LU5 6NF, UK
IP: 44.131.5.2
AX.25: G3NRW @ GB7BIL
Copyright (C) 1990 Ian Wade, G3NRW
All rights reserved. No part of this document may be reproduced or
transmitted in any form or by any means, electronic or mechanical,
including photocopying, recording or by any information storage and
retrieval system for commercial purposes or resale or barter without
written permission from the author.
This document may be reproduced in whole or in part for any non-
commercial amateur radio purpose as long as credit is given to the
author.
ABSTRACT
========
This document contains details of all of the commands to be found in
the following TCP/IP Network Operating System ("NOS") packages:
KA9Q/PA0GRI: version 900721
KA9Q/G1EMM: version 900710
Familiarity with the basic functions of the "NOS" packages is assumed.
This document is intended only as a quick reference to the TCP/IP command
set, and does not in any way describe how individual commands work.
RATIONALISATION OF PARAMETER DESCRIPTIONS
=========================================
Because the "NOS" packages contain software modules originating from
several different sources, the documentation which describes them
inevitably contains a number of inconsistencies. For example, the
words "label" and "interface" apparently describe different objects,
whereas in actuality they are the same thing. On the other hand, the
meaning of the word "address" used in many commands differs from
command to command.
In this document an attempt has been made to rationalise the meaning
of these parameters, to produce a consistent command set within and
across the two NOS packages.
The principal parameters which have caused confusion in the past are
to do with names, addresses and interfaces. These are now defined
as follows:
<callsign> an AX.25 MYCALL callsign (e.g. "G3NRW-1")
<hostname> a computer name (e.g. "g3nrw" or "g3nrw.ampr.org")
<ipaddress> an Internet address (e.g. "44.131.5.2")
<host> <hostname> or <ipaddress>
<username> a user at a computer (e.g. "ian")
<interface> a device interface name (eg. "pk0" or "ax0")
<address> a device I/O address (e.g. "0x3f8")
<vector> an IRQ level (e.g. "4")
(Note that the word "hostid" is not used in this document, to avoid
confusion with the Unix command of the same name).
TCP/IP "NOS" COMMAND SET
========================
The rest of this document specifies the complete "NOS" command set for
the KA9Q/PA0GRI and KA9Q/G1EMM packages.
The extreme left-hand column of each line is coded as follows:
i | signifies a command in the KA9Q/PA0GRI version of "NOS"
m| signifies a command in the KA9Q/G1EMM version of "NOS"
The extreme right-hand column shows the default values of command parameters.
Version| | Default
_____| | _______
| |
im| ? (help) |
im| ! (break out to shell) |
| |
| |
im| abort [<session #>] |
| |
im| arp |
| |
im| arp add <host> ether|ax25|netrom |
| <ether_addr>|<callsign> |
| |
im| arp publish <host> ether|ax25|netrom |
| <ether_addr|callsign> |
| |
im| arp drop <host> ether|ax25|netrom |
im| arp flush |
| |
im| asystat |
| |
i | attach 3c500 <address> <vector> arpa <interface> |
| <buffers> <mtu> [ipaddress] |
| |
im| attach asy <address> <vector> slip|ax25|nrs |
| <interface> <buffers> <mtu> |
| <speed> [ipaddress] |
| |
im| attach netrom |
| |
im| attach packet <vector> <interface> <buffers> |
| <mtu> [ipaddress] |
| |
i | attach hs <address> <vector> ax25 <interface> |
| <buffers> <mtu> <txdelay> |
| <persistence> [ipaddress_a] |
| [ipaddress_b] |
| |
im| attach scc <devices> init <address> <spacing> |
| <Aoff> <Boff> <Dataoff> |
| <intack> <vector> [p]<clock> |
| [hdwe] [<param>] |
| |
| |
im| attach scc <devices> init <address> <spacing> |
| <Aoff> <Boff> <Dataoff> |
| <intack> <vector> [p]<clock> |
| [hdwe] [<param>] |
| |
im| attach scc <chan> slip|kiss|nrs|ax25 |
| <interface> <mtu> <speed> |
| <bufsize> [callsign] |
| |
m| attended [off|on] | on
| |
im| ax25 blimit [<val>] | 30
im| ax25 digipeat [on|off] | on
im| ax25 flush |
im| ax25 heard |
im| ax25 irtt [<millisecs>] | 5000
im| ax25 kick <&AXB> |
im| ax25 maxframe [<window_size>] | 1
im| ax25 mycall [<callsign>] |
im| ax25 paclen [<bytes>] | 256
im| ax25 pthresh [<bytes>] | 128
im| ax25 reset <&AXB> |
im| ax25 retry [<n>] | 10
im| ax25 route |
im| ax25 route add <target_callsign> [<digi_callsign> ...] |
im| ax25 route drop <target_callsign> |
m| ax25 route mode <target_callsign> [vc|datagram|interface] |
im| ax25 status [<&AXB>] |
im| ax25 t3 [<millisecs>] | 0
m| ax25 t4 [<seconds>] | 300
m| ax25 timertype [original|linear|exponential] | exp
i | ax25 version [1|2] | 1
m| ax25 version [1|2] | 2
im| ax25 window [<bytes>] | 2048
| |
| |
im| bbs [<host>] |
| |
| Help ? (command list) |
| Area A |
| Bye B |
| Chat C |
| Download D <filename> |
| Escape E [<esc_char>] | ^X
| Finger F [<username>] |
| Gateway G <interface> <callsign> [<callsign> ...] |
| Help H (full helpfile) |
| Heard J |
| Kill K <n> ... |
| List L [<n> ...] |
| Netrom N |
| Read R [<n> ...] |
| Send S <username> [@ <host> ] |
| [< <from_addr>] |
| [$<bulletin_id>] |
| Telnet T [<host>] |
| Upload U <filename> |
| What W [<directory>] |
| Zap Z <filename> |
| |
m| buffers [<number> <size>] | 5/2048
| |
im| cd [<directory>] |
| |
im| close [<session #>] |
| |
im| connect <interface> <callsign> [<digi_callsign> ...] |
| |
| |
im| delete <filename> |
| |
im| detach <interface> |
| |
im| dir [<directory> | <file>] |
| |
im| disconnect [<session #>] |
| |
im| domain addserver <host> [<host> ...] |
i | domain bootp <domainserver> [filename] |
i | domain debug [off|on] | off
im| domain dropserver <host> [<host> ...] |
im| domain listservers |
im| domain load [<filename>] |
i | domain loopback [off|on] | off
i | domain nslookup <domainserver> <record type> <name> |
i | domain retries [<n>] | 0
m| domain retry [<n>] | 3
im| domain save <filename> |
im| domain suffix [<domain_suffix>] |
m| domain timertype [linear|exponential] | exp
i | domain timeout [<seconds>] | 30
im| domain trace [off|on] | off
| |
m| drsistat |
| |
m| dump <hex_memoryaddress | .> [decimal_range] |
| |
| |
im| echo [accept|refuse] | accept
| |
i | eol [unix|standard] | stand
m| eol [standard|null] | stand
| |
m| escape <hex_character> | 0x1d
| |
i | etherstat |
| |
im| exit |
| |
| |
im| finger <username> @ <host> |
| |
i | fkey |
i | fkey <key_number> [<value> | "string" ] |
| |
| f1 59 sf1 84 cf1 94 af1 104 pgup 73 |
| f2 60 sf2 85 cf2 95 af2 105 pgdn 81 |
| f3 61 sf3 86 cf3 96 af3 106 home 71 |
| f4 62 sf4 87 cf4 97 af4 107 end 79 |
| f5 63 sf5 88 cf5 98 af5 108 arup 72 |
| f6 64 sf6 89 cf6 99 af6 109 ardn 80 |
| f7 65 sf7 90 cf7 100 af7 110 ar l 75 |
| f8 66 sf8 91 cf8 101 af8 111 ar r 77 |
| f9 67 sf9 92 cf9 102 af9 112 ins 82 |
| f10 68 sf10 93 cf10 103 af10 113 del 83 |
| |
| |
| |
im| ftp <host> |
| |
| pass <password> |
| |
| list [<filename> | <dir> [<local_filename>] ] |
| dir [<filename> | <dir> [<local_filename>] ] |
| ls [<filename> | <dir> [<local_filename>] ] |
| nlst [<filename> | <dir> [<local_filename>] ] |
| |
| cd [<dir>] |
| pwd [<dir>] |
| |
| mkdir <remote_dir> |
| rmdir <remote_dir> |
| dele <remote_file> |
| |
| ascii |
| binary |
| type [a | i | l <bytesize> ] | a
| |
| get <remote_file> [<local_file>] |
| put <local_file> [<remote_file>] |
| |
| mget <remote_file> [<remote_file> ...] |
| mput <local_file> [<local_file> ...] |
| |
| quit |
| |
im| F10 (to escape to "net" command level) |
| |
| |
im| help |
| |
im| hopcheck check <host> |
im| hopcheck maxttl [<attempts>] | 30
im| hopcheck maxwait [<seconds>] | 5
im| hopcheck queries [<n>] | 3
im| hopcheck trace [off|on] | off
| |
im| hostname [<hostname>] |
| |
i | hs |
| |
| |
im| icmp echo [off|on] | on
im| icmp status |
im| icmp trace [off|on] | off
| |
im| ifconfig <interface> broadcast <bcast_ipaddress> |
im| ifconfig <interface> encapsulation none|ax25|slip |
im| ifconfig <interface> forward |
im| ifconfig <interface> ipaddress <ipaddress> |
im| ifconfig <interface> linkaddress <callsign> |
im| ifconfig <interface> mtu <bytes> |
im| ifconfig <interface> netmask 0x<hexmask> |
im| ifconfig <interface> rxbuf |
| |
i | info |
| |
im| ip address [<ipaddress> | <host>] |
im| ip rtimer [<seconds>] | 30
im| ip status |
im| ip ttl [<hops>] | 255
| |
| |
im| kick [<session #>] |
| |
| |
im| log [<log_filename> | stop] |
| |
| |
m| mail |
im| mbox |
| |
im| mem free |
im| mem garbage |
im| mem sizes |
im| mem status |
im| mem thresh [<threshold_size>] | 8192
| |
i | mkdir <directory> |
| |
im| mode <interface> [vc|datagram] |
| |
im| more <filename> |
| |
m| motd <string> |
| |
| |
im| netrom acktime [<millisecs>] | 3000
im| netrom bcnodes <interface> |
im| netrom connect <node_callsign> |
im| netrom choketime [<millisecs>] | 180000
m| netrom derate [off|on] | on
im| netrom interface <interface> <alias> <quality> |
im| netrom irtt [<millisecs>] | 15000
im| netrom kick <&CB> |
m| netrom minquality [<n>] | 10
im| netrom nodefilter add <neighbour_callsign> <interface> |
im| netrom nodefilter drop <neighbour_callsign> <interface> |
im| netrom nodefilter mode [none | accept | reject] |
im| netrom nodetimer [<seconds>] |
im| netrom obsotimer [<seconds>] |
m| netrom promiscuous [off | on] | off
im| netrom qlimit [<bytes>] | 2048
im| netrom reset <&CB> |
im| netrom retries [<n>] | 10
| |
im| netrom route add <alias> <destination> <interface> |
| <quality> <neighbour> |
| |
im| netrom route drop <destination> <neighbour> |
| <interface> |
| |
im| netrom route info <destination> |
im| netrom status |
m| netrom timertype [linear | exponential] | exp
i | netrom ttl [<hops>] | 64
m| netrom ttl [<hops>] | 10
im| netrom user [<username>] |
im| netrom verbose [off | on] | off
im| netrom window [<frames>] | 4
| |
| |
i | nntp addserver <nntpserver> <interval> |
i | nntp directory [spool | control <directory>] |
i | nntp dropserver <nntpserver> |
i | nntp groups [<newsgroup_name> ... ] |
i | nntp kick <nntpserver> |
i | nntp listservers |
i | nntp trace [<trace #>] | 1
| |
im| nrstat |
| |
| |
im| param <interface> [<param> ...] |
| |
im| ping <host> [<len> [<interval> [<incflag>]]] |
| |
i | pop mailbox <mbox> |
i | pop mailhost [<host>] |
i | pop kick |
i | pop timer [<n>] |
i | pop userdata [<username> <password>] |
| |
im| ps |
| |
im| pwd [<directory>] |
| |
| |
im| record [<filename> | off] | off
| |
im| remote [-p port] [-k key] [-a kickaddr] |
| <host> exit|reset|kick |
| |
im| rename <file1> <file2> |
| |
im| reset [<session #>] |
| |
im| rip accept <incoming_gateway_host> |
im| rip add <destination_host> <secs> [<flags>] |
im| rip drop <destination_host> |
im| rip merge [off|on] | off
im| rip refuse <incoming_gateway_host> |
im| rip request <incoming_gateway_host> |
im| rip status |
im| rip trace [0|1|2] | 0
| |
im| rlogin <host> |
| |
i | rmdir <directory> |
| |
i | route add <dest_host>[/<bits>]|default |
| <interface> [gateway_host] [<metric>] |
| |
m| route add <dest_host>[/<bits>] |
| <interface> [gateway_host] [<metric>] |
| |
im| route addprivate <dest_host>[/<bits>] |
| <interface> [gateway_host] [<metric>] |
| |
im| route drop <dest_host>[/<bits>] |
im| route flush |
im| route lookup <dest_host> |
|
| |
im| sccstat |
| |
im| session [<session #>] |
| |
im| shell |
| |
im| smtp gateway [<host>] |
im| smtp mode [ queue | route ] | route
im| smtp kick |
im| smtp kill <jobnumber> |
im| smtp list |
im| smtp maxclients [<n>] | 10
i | smtp mxlookup [off|on] | off
im| smtp timer [<n>] |
im| smtp trace [<n>] |
| |
im| socket [<socket #>] |
| |
m| source <script_filename> |
| |
m| split |
| |
im| start ax25|discard|echo|finger|ftp|netrom| |
| remote|rip|smtp|telnet|ttylink |
| |
m| status |
| |
im| stop ax25|discard|echo|finger|ftp|netrom| |
| remote|rip|smtp|telnet|ttylink |
| |
| |
m| tail <filename> |
| |
im| tcp irtt [<millisecs>] | 5000
im| tcp rtt <&TCB> <millisecs> |
im| tcp kick <&TCB> |
im| tcp mss [<bytes>] | 512
im| tcp reset <&TCB> |
im| tcp status [<&TCB>] |
m| tcp timertype [linear | exponential] | exp
im| tcp trace [off | on] | off
im| tcp window [<bytes>] | 2048
| |
im| telnet <host> |
| |
m| third-party [off | on] | on
| |
| |
im| tip <interface> |
| |
i | ttylink <host> |
| |
im| trace <interface> [<BTIO_flags> [<trace_filename>]]] |
| |
| BTIO FLAGS: |
| |
| B=0 Broadcast filter off (trace all packets) |
| B=1 Broadcast filter on (ignore broadcasts) |
| |
| T=0 Display protocol headers only |
| T=1 Display headers + ASCII text |
| T=2 Display headers + ASCII text + hex |
| |
| I=0 Ignore input packets |
| I=1 Trace input packets |
| |
| O=0 Ignore output packets |
| O=1 Trace output packets |
| |
| |
im| udp status |
| |
im| upload <filename> |
| |
| |
im| watch |
| |