KISSATTACH(8) | Linux System Managers Manual | KISSATTACH(8) |
kissattach, spattach - Attach a KISS or 6PACK interface
kissattach [-b] [-6] [-l] [-m mtu] [-v] tty port [inetaddr]
spattach [-b] [-l] [-m mtu] [-v] tty port [inetaddr]
Attach a KISS or a 6PACK interface to what is normally a tty line connected to a TNC in KISS or 6PACK mode. This program will turn itself into a background process. To down an interface send its attach process a SIGTERM.
Kissattach takes many of the parameters for the port from the axports(5) file. If the speed parameter in the file is not equal to zero then it is used for the serial port speed, a zero value means that no speed is set. The paclen parameter is used for the device mtu unless overridden by a value on the command line.
The tty argument will typically be that of a serial port with a KISS or 6PACK TNC attached, although it could be a pseudo tty or a KISS port emulator such as an SCC card. Kissattach supports BSD-style pseudo-terminals as well as the Unix98 pty's. If the tty argument is "/dev/ptmx", then Unix98 behaviour will automatically take effekt. With Unix98 pty's, the slave tty name could not be forseen. That's why kissattach will print the corresponding slave pty name as a separate line on stdout.
The port argument is the name of a port as given in the axports(5) file.
The optional inetaddr argument is the IP address of the new interface. Some time it was mandatory argument (although due to historical reasons this restriction is lifted if the old -i option is used). But there's really not a need for the interface to have an IP address assigned to.
kill(1), stty(1), ax25(4), axparms(4), axports(5), ifconfig(8).
Alan Cox GW4PTS <alan@cymru.net>
Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>
4 July 1999 | Linux |