KISSATTACH(8)
πΈ KISSATTACH(8) β from the Linux System Managers Manual, bestie πΈ
okay so real talk, this is the page for kissattach and spattach, and I promise it's actually so much less scary than the name suggests π
β¨ NAME β¨
kissattach, spattach β attach a KISS or 6PACK interface π
β¨ SYNOPSIS β¨
kissattach [-b] [-6] [-l] [-m mtu] [-v] [-i inetaddr] tty port
[inetaddr]
spattach [-b] [-6] [-l] [-m mtu] [-v] [-i inetaddr] tty port [inetaddr]
β¨ DESCRIPTION β¨
So what this does: it attaches a KISS or a 6PACK interface to what is normally a tty line hooked up to a TNC running in KISS or 6PACK mode π. The program then turns itself into a background process, like it literally just dips and becomes a daemon, main character energy only π¦.
Want to down an interface? Send its attach process a SIGTERM. That's the whole vibe check π.
kissattach takes many of the parameters for the port from the axports(5) file π. If the speed parameter in that file is not equal to zero then it's used for the serial port speed β and a zero value means no speed is set, periodt. The paclen parameter is used for the device mtu unless it gets overridden by a value on the command line π
The tty argument will typically be a serial port with a KISS or 6PACK TNC attached, though it could also be a pseudo tty or a KISS port emulator like an SCC card π. kissattach supports BSD-style pseudo-terminals and the Unix98 ptys, iconic. If the tty argument is "/dev/ptmx", then Unix98 behaviour automatically takes effect β¨. And here's the little plot twist with Unix98 ptys: the slave tty name could not be foreseen π. That's why kissattach will print the corresponding slave pty name as a separate line on stdout β so look for it, bestie, it's literally right there π«Ά.
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 a mandatory argument (although, due to historical reasons, this restriction is lifted if the old -i option is used) π°οΈ. But honestly there's really not a need for the interface to have an IP address assigned to it β lowkey optional for a reason π.
β¨ OPTIONS β¨
-6β Use the 6PACK line discipline instead of KISS π₯. This is the default if the program is called asspattach, so forspattachthe option is a no-op (it's giving "already that, babe") π .-iinetaddr β Set the internet address of the interface. The address may either be a dotted decimal address or a host name π. This option is now deprecated and the program will complain about it, though it'll still work β it's giving grumpy but functional π.-lβ Log messages to the system log. The default is not to πͺ΅.-bβ Allow broadcasts on the interface. Default is no, because for e.g. samba broadcasts are a pain.. π© not me dealing with that.-mmtu β Sets the mtu of the interface. If this value is not given then the value is taken from thepaclenparameter inaxportsπ.-vβ Display the version β.
β¨ SEE ALSO β¨
kill(1), stty(1), ax25(4), axports(5), axparms(8), ifconfig(8) π§
β¨ AUTHOR β¨
- Alan Cox GW4PTS
<alan@cymru.net>π - Jonathan Naylor G4KLX
<g4klx@g4klx.demon.co.uk>π
aaaand that's the whole page, bestie π this one's from Linux, dated 28 March 2019, and it's filed under KISSATTACH(8) in the manual β go forth and attach some interfaces, you've got this πβ¨π¦
π¦ where this page comes from
- alpine 3.24: ax25-tools-doc 1.1.0-r0 Β· GPL-2.0-or-later
- debian bookworm: ax25-tools 0.0.10-rc5+git20190411+3595f87-6
- debian trixie: ax25-tools 0.0.10-rc5+git20230513+d3e6d4f-3 Β· GPL-2.0-only
- ubuntu noble: ax25-tools 0.0.10-rc5+git20230513+d3e6d4f-1build2 Β· GPL-2.0-only
- ubuntu questing: ax25-tools 0.0.10-rc5+git20230513+d3e6d4f-3
- ubuntu resolute: ax25-tools 0.0.10-rc5+git20230513+d3e6d4f-3build1 Β· GPL-2.0-only
- ubuntu stonking: ax25-tools 0.0.10-rc5+git20230513+d3e6d4f-3build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms