Debian Codegraph @

kiss/mkiss.8

raw ◀ ▶
1 Debian patch touch this file
1 .TH MKISS 8 "13 April 2010" Linux "Linux System Managers Manual"
2 .SH NAME
3 mkiss \- Attach a multi KISS interface
4 .SH SYNOPSIS
5 .B mkiss [-c] [-f] [-h] [-l] [-s speed] [-p pollrate] [-v] [-x n_ptmx] ttyinterface pty ..
6 .SH DESCRIPTION
7 .LP
8 .B Mkiss
9 allows dual port TNCs or multiple TNCs sharing the same serial port to be
10 used with the Linux AX.25 kernel software. The AX.25 software has no support
11 for dual port TNCs or multiple TNCs charing the same serial line. The
12 different ports are addressed by encoding the port number in the control
13 byte of every kiss frame.
14 .B Mkiss
15 watches a serial port, and routes kiss frames to/from the pseudo ttys. The
16 other side of the pseudo ttys are then attached with
17 .B kissattach
18 as normal.
19 .sp 1
20 Statistics about the operation of
21 .B mkiss
22 may be obtained by sending the SIGUSR1 signal to the running program. On
23 reception of such a signal
24 .B mkiss
25 will print a set of statistics to the system log if logging has been
26 enabled.
27 .sp 1
28 Although mention is made of using pseudo ttys as the last arguments,
29 these devices may be normal serial ports. However
30 .B mkiss
31 provides no way in which to set their speed, the speed must therefore be set
32 by some other method.
33 .sp 1
34 If the pty argument is "/dev/ptmx", then Unix98 behaviour
•35 will automatically take effect. With Unix98 pty's, the slave pty name
36 could not be forseen. That's why mkiss will print the corresponding slave
37 pty name as a separate line on stdout.
38 .sp 1
39 If the pty name is the special name "none", no pty is opened. This is useful if you have multiport tnc like the KPC-9612 on i.e. /dev/ttyUSB0 and you only like to handle packets for the second port. The KPC has no option to configure the second tnc to listen on kiss port number 0. Thus, if you like to send all frames from the pty to the kiss port number 1, we need to tell mkiss to tag them for port number 1. This is done by "mkiss /dev/ttyUSB0 none /dev/ptmx". Frames received with port number 0 are discarded.
40 .SH OPTIONS
41 .TP 10
42 .BI \-c
43 This enables a one-byte checksum on each incoming and outgoing KISS frame on
44 the serial port. This checksum is used by G8BPQ KISS roms to maintain the
45 integrity of KISS frames.
46 .TP 10
47 .BI \-f
48 This enables a 16-bit checksum on each incoming and outgoing KISS frame on
49 the serial port. This checksum is used by Flexnet Node and BayCom Mailbox
50 to maintain the integrity of KISS frames.
51 .TP 10
52 .BI \-h
53 Enables hardware handshaking on the serial line to the TNC. The KISS
54 specification states that no hardware flow control shall be used so the
55 default is off. But some KISS implementations do use hardware flow control.
56 .TP 10
57 .BI \-l
58 Enables system logging, the default is off.
59 .TP 10
60 .BI "\-s speed"
61 Set the speed of the serial port.
62 .TP 10
63 .BI "\-p pollrate"
64 Enables polling. Polled mode is used by G8BPQ KISS roms to prevent
65 contention on systems where multiple TNCs share the same serial line.
66 Pollrate is interval between polls (in 100ms units).
67 .TP 10
68 .BI \-v
69 Display the version.
70 .TP 10
71 .BI "\-x number"
72 This option is for Unix98 PTYs. It allocates "number" ptys; their names are written to stdout. When -x is used, the pty arguments are optional. "mkiss -x 3 ttyname" is an comfortable alternative to "mkiss ttyname /dev/ptmx /dev/ptmx /dev/ptmx".
73 .SH "SEE ALSO"
74 .BR kissattach (8),
75 .BR ifconfig (8),
76 .BR kill (1).
77 .SH AUTHORS
78 Tomi Manninen OH2BNS <[email protected]>
79 .br
80 Jonathan Naylor G4KLX <[email protected]>
81 .br
82 Kevin Uhlir N0BEL <[email protected]>