MKISS(8) | Linux System Managers Manual | MKISS(8) |
mkiss - Attach a multi KISS interface
mkiss [-c] [-f] [-h] [-l] [-s speed] [-p pollrate] [-v] [-x n_ptmx] ttyinterface pty ..
Mkiss allows dual port TNCs or multiple TNCs sharing the same serial port to be used with the Linux AX.25 kernel software. The AX.25 software has no support for dual port TNCs or multiple TNCs charing the same serial line. The different ports are addressed by encoding the port number in the control byte of every kiss frame. Mkiss watches a serial port, and routes kiss frames to/from the pseudo ttys. The other side of the pseudo ttys are then attached with kissattach as normal.
Statistics about the operation of mkiss may be obtained by sending the SIGUSR1 signal to the running program. On reception of such a signal mkiss will print a set of statistics to the system log if logging has been enabled.
Although mention is made of using pseudo ttys as the last arguments, these devices may be normal serial ports. However mkiss provides no way in which to set their speed, the speed must therefore be set by some other method.
If the pty argument is "/dev/ptmx", then Unix98 behaviour will automatically take effect. With Unix98 pty's, the slave pty name could not be forseen. That's why mkiss will print the corresponding slave pty name as a separate line on stdout.
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.
Tomi Manninen OH2BNS <oh2bns@sral.fi>
Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>
Kevin Uhlir N0BEL <kevinu@flochart.com>
13 April 2010 | Linux |