| 1 |
.TH KISSATTACH 8 "28 March 2019" Linux "Linux System Managers Manual" |
| 2 |
.SH NAME |
| 3 |
kissattach, spattach \- Attach a KISS or 6PACK interface |
| 4 |
.SH SYNOPSIS |
| 5 |
.B kissattach [-b] [-6] [-l] [-m mtu] [-v] [-i inetaddr] tty port [inetaddr] |
| 6 |
.sp |
| 7 |
.B spattach [-b] [-6] [-l] [-m mtu] [-v] [-i inetaddr] tty port [inetaddr] |
| 8 |
.SH DESCRIPTION |
| 9 |
.LP |
| 10 |
Attach a KISS or a 6PACK interface to what is normally a tty line connected |
| 11 |
to a TNC in KISS or 6PACK mode. This program will turn itself into a |
| 12 |
background process. To down an interface send its attach process a SIGTERM. |
| 13 |
.LP |
| 14 |
.B Kissattach |
| 15 |
takes many of the parameters for the port from the axports(5) file. If the |
| 16 |
speed parameter in the file is not equal to zero then it is used for the |
| 17 |
serial port speed, a zero value means that no speed is set. The paclen |
| 18 |
parameter is used for the device mtu unless overridden by a value on the |
| 19 |
command line. |
| 20 |
.LP |
| 21 |
The tty argument will typically be that of a serial port with a KISS or 6PACK |
| 22 |
TNC attached, although it could be a pseudo tty or a KISS port emulator such as |
| 23 |
an SCC card. Kissattach supports BSD-style pseudo-terminals as well as |
| 24 |
the Unix98 pty's. If the tty argument is "/dev/ptmx", then Unix98 behaviour |
| •25 |
will automatically take effect. With Unix98 pty's, the slave tty name |
| 26 |
could not be forseen. That's why kissattach will print the corresponding slave |
| 27 |
pty name as a separate line on stdout. |
| 28 |
.LP |
| 29 |
The port argument is the name of a port as given in the |
| 30 |
axports(5) file. |
| 31 |
.LP |
| 32 |
The optional inetaddr argument is the IP address of the new interface. Some |
| 33 |
time it was mandatory argument (although due to historical reasons this |
| 34 |
restriction is lifted if the old -i option is used). But there's really not |
| 35 |
a need for the interface to have an IP address assigned to. |
| 36 |
.SH OPTIONS |
| 37 |
.TP 16 |
| 38 |
.BI "\-6" |
| 39 |
Use the 6PACK line discipline instead of KISS. This is the default if |
| 40 |
the program is called as spattach so the option is a no-op for spattach. |
| 41 |
.TP 16 |
| 42 |
.BI "\-i inetaddr" |
| 43 |
Set the internet address of the interface. This address may either be a |
| 44 |
dotted decimal address or a host name. This option is now depreciated and |
| 45 |
the program will complain about it, though still work. |
| 46 |
.TP 16 |
| 47 |
.BI \-l |
| 48 |
Log messages to the system log, the default is not to. |
| 49 |
.TP 16 |
| 50 |
.BI \-b |
| 51 |
Allow broadcasts on the interface (default no - because for e.g. samba |
| 52 |
broadcasts are a pain..) |
| 53 |
.TP 16 |
| 54 |
.BI "\-m mtu" |
| 55 |
Sets the mtu of the interface. If this value is not given then the value is |
| 56 |
taken from the paclen parameter in axports. |
| 57 |
.TP 16 |
| 58 |
.BI \-v |
| 59 |
Display the version. |
| 60 |
.SH "SEE ALSO" |
| 61 |
.BR kill (1), |
| 62 |
.BR stty (1), |
| 63 |
.BR ax25 (4), |
| 64 |
.BR axports (5), |
| 65 |
.BR axparms (8), |
| 66 |
.BR ifconfig (8). |
| 67 |
.SH AUTHOR |
| 68 |
.nf |
| 69 |
Alan Cox GW4PTS <[email protected]> |
| 70 |
.br |
| 71 |
Jonathan Naylor G4KLX <[email protected]> |
| 72 |
.fi |