home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacker Chronicles 2
/
HACKER2.BIN
/
1069.KANT.DOC
< prev
next >
Wrap
Text File
|
1989-03-26
|
10KB
|
244 lines
KANT.DOC
Notes on using Kantronics KPC-4 and KAM dual port TNCs with the W0RLI Mailbox:
------------------------------------------------------------------------------
(Revised from July 23, 1988 notes - for use with W0RLI V9.xx and later software
and Kantronics KPC-4 and KAM with V2.85 ROMs or later.)
Date: March 25, 1989
From: Greg Day - KC8JN @ KC8JN
Wintersville, OH 43952
GENERAL INFORMATION
-------------------
This information is provided for those SYSOPs using the W0RLI Mailbox software
with either a Kantronics KPC-4 or KAM dual port TNC, to allow for port
switching during mail forwarding. Because the command structure for port
switching is the same for both the KPC-4 VHF TNC and the KAM VHF/HF TNC, the
following discussion will pertain to the KPC-4 only, but will apply to use of
the KAM as well.
Because the KPC-4 uses software commands to switch between the two radio ports,
and since the TNC provides only one serial (RS-232) port for connection to the
computer, it is necessary to implement a method by which the SYSOP may easily
switch ports, both from the console and during mail forwarding. This is
accomplished through the use of the KPC-4 STREAMSW parameter to permit
switching between the streams on radio ports 1 or 2. The use of this method of
switching streams (radio ports) requires the use of a 2.85 or later version
ROM. The MAXUSERS parameter MUST be set to 0/0 to allow for a single exclusive
connect from either port (the TNC will switch to the proper stream or radio
port upon a valid connect from either port). The actual switching of streams
(radio ports) is accomplished through the issuance of a stream switch character
(set by the STREAMSW parameter) unique to thepport desired followed by a
selected channel number, which for use with the Mailbox system will always be
"A". This stream switching information may be issued when in either the
command or converse modes, but will be confined to the command mode when using
the Mailbox software.
The following parameters MUST be set as shown in the KPC-4 to permit proper
port switching operation:
MAXUSERS 0
STATSHRT ON
STREAMSW 0/0
USERS 1/1
SWITCHING IN TERMINAL MODE
--------------------------
The SYSOP should create the following two files to allow for easy stream (radio
port) switching from the local console:
For port 1, save to a file named "P1" under the \BBS subdirectory:
^CSTR 35/36
#ASTR 0
S
For port 2, save to a file named "P2" under the \BBS subdirectory:
^CSTR 35/36
$ASTR 0
S
An explanation of the above command sequence is in order.
1) The first line issues a CTRL-C (to get the "cmd:" prompt) and sets the
stream switch (STREAMSW) characters temporarily to "#" for port 1 and "$"
for port 2. Please note that the CTRL-C is displayed as "^C" which is
treated as a single ASCII character and not the individual characters "^"
and "C". Refer to your text editor documentation for specifics on how to
embed control charcters into your ASCII text.
2) The third line actually switches the stream (radio port) using the stream
switch character ("#" for port 1 or "$" for port 2) followed by the channel
letter (ALWAYS use "A" since you will be dealing with only one channel in
the mailbox). The remainder of the line sets the STREAMSW characters for
both ports back to null (0/0) so that incoming characters from the console
will not inadvertently switch the stream (radio ports).
(Please note that it is no longer necessary to perform the additional steps
outlined in my previous documentation for clearing the KPC-4 buffer to prevent
confusion to the BBS software. The V2.85 ROM corrects this problem and greatly
simplifies stream switching while maintaining BBS compatibility.)
3) The last line issues the STATUS command and will list the current selected
stream (radio port) of the TNC. This is merely a confirmation message to
the SYSOP at the console and is not necessary. The STATSHRT command should
be set to ON to make this function operate correctly.
To use the above from the console, type the following:
Tp (go to Terminal mode on port "p")
<CTRL-E> (return to local BBS console - this may be a different
character or key combination if you have deviated from the
standard CTRL-E sequence provided in W0RLI's COMFIG.MB
file)
Op P1 (for switching to port 1 on serial port "p")
OR......
Tp (go to Terminal mode on port "p")
<CTRL-E> (return to local BBS console - this may be a different
character or key combination if you have deviated from the
standard CTRL-E sequence provided in W0RLI's COMFIG.MB
file)
Op P2 (for switching to port 2 on serial port "p")
(Please note that the entry into the terminal mode, return to the local console
mode, and subsequent transmission of the "Pn" file with re-entry into the
terminal mode is a required sequence of the W0RLI software. Use of the "Op"
command without first accessing the port via the "Tp" command is not
permissible. See the "H O" help listing on your BBS for information concerning
this procedure.)
Under the W0RLI system, the above will send the port switching file to the TNC
and select the desired port for local (SYSOP) access and use.
SWITCHING DURING FORWARDING
---------------------------
Next you will want to modify the forwarding file (FWD.MB) to accomplish stream
(radio port) switching when forwarding. You will use the "P" scripts available
for use in the W0RLI system forwarding files to send commands to the TNC for
stream (radio port) switching. This is discussed in detail in the FWD.DOC file
that accompanies the W0RLI system. Place the "P" scripts with the radio port
switching commands at the beginning of each forwarding connect list to a
speciffic BBS (see examples below). The following are the lines used to
accomplish port switching:
To forward on radio port 1......
PSTR 35/36 (establishes stream switching characters: #=1, $=2)
P#ASTR 0 (switches to port 1 with #A then sets stream switch off)
PS (displays which port has been selected - optional)
To forward on radio port 2......
PSTR 35/36 (establishes stream switching characters: #=1, $=2)
P$ASTR 0 (switches to port 2 with $A then sets stream switch off)
PS (displays which port has been selected - optional)
Again, the "S" command (third line) will cause the current stream (radio port)
status to be displayed and is optional (STATSHRT must be set ON). Stream
switching is done using either the "#" or "$" characters (followed by the "A"
channel character) in the second line. As noted above, the "#" character
corresponds to radio port 1 and the "$" character corresponds to radio port 2.
A complete forwarding file might look like this:
PSTR 35/36
P#ASTR 0 (Switch to radio port 1)
PS
CC K8AL-2
NC K8EIW-5
NC CLE
NC KB8CI
FA0023KB8CI
@C:\BBS\KB8CI.FWD
*** EOF
PSTR 35/36
P$ASTR 0 (Switch to radio port 2)
PS
CC AD8J-1
NC W2XO
FA0421W2XO
@C:\BBS\W2XO.FWD
*** EOF
PSTR 35/36
P#ASTR 0 (Switch to radio port 1)
PS
CC K8AL-2
NC N8FSY
FA0023N8FSY
C:\BBS\N8FSY.FWD
*** EOF
PSTR 35/36
P$ASTR 0 (Switch to radio port 2)
PS
CC AD8J-1
NC KA3NVP
FA0421KA3NVP
@C:\BBS\KA3NVP.FWD
*** EOF
The above examples use BBS port "A" (COM1) for the TNC serial I/O. If you use
another COM port, substitute the appropriate letter ("FB", "FC", etc.).
It is not necessary to use "Q" scripts to return to a specific radio port after
forwarding is completed to a given BBS. The TNC will automatically select the
active port when a user connects and exclude all others (ring "Busy") on the
unused port during normal user access. The only reason you might want to
implement the "Q" scripts would be if you want to ensure that you are ALWAYS on
a specified radio port when entering the terminal mode. However, this is
easily overcome through the use of the "P1" and "P2" files outlined in above.
LIMITING ACCESS ON A SPECIFIC RADIO PORT
----------------------------------------
SYSOPs may desire to limit access on a specific radio port to only those BBSes
that are involved in forwarding. This would force normal users to access the
system only on the alternate (open) radio port. This arrangement is usually
implemented when a network and frequency are designated for mail forwarding
only in a geographical area.
The use of the KPC-4 BUDACLLS and CONLIST parameters will limit access on one
(or both) ports to only those calls placed in the BUDCALLS list. BUDCALLS can
contain up to ten call signs (including SSIDs). All calls NOT in the BUDCALLS
list will be ignored when the CONLIST parameter is set to ON for the exclusive
use port.
An example of the use of the BUDCALLS list is:
BUDCALLS AD8I,N8FSY,KA3NVP
The CONLIST parameter may be set to one of the following:
CONLIST ON/OFF (radio port 1 set for exclusive use, radio port 2 open)
CONLIST OFF/ON (radio port 1 open, radio port 2 set for exclusive use)
Be sure that you don't set the BUDLIST parameter to ON, otherwise you will
affect the stations that you can monitor when the BBS is idle. Also note that
any users that try to connect on the exclusive port but are not contained in
the BUDCALLS list will not only fail to connect but also NOT recive a "Busy"
message either. The TNC actually IGNORES excluded calls as if they don't
exist.
CONCLUSION
----------
If you have any questions regarding the use of the Kantronics TNCs with the
W0RLI Mailbox, pleae contact me via packet "@ KC8JN", located in eastern Ohio.
73, Greg - KC8JN