NRATTACH(8)
π NRATTACH π
okay bestie, welcome to the NRATTACH(8) page β that's section 8 of the Linux System Managers Manual, aka the place where all the system-manager-y commands live. no cap, this one's a lil niche but it's so useful if you're doing NET/ROM things. let's get into it π
β¨ NAME β¨
nrattach β start a NET/ROM interface π¦
πΈ SYNOPSIS πΈ
nrattach [-i inetaddr] [-m mtu] [-v] port
π«Ά DESCRIPTION π«Ά
okay so here's the tea. nrattach takes a bunch of the parameters for the port from the nrports(5) file β like, it's not out here making stuff up, it's reading the file, periodt.
the paclen parameter is what gets used for the device mtu, unless you override it with a value on the command line. you're in charge, queen π
the port argument is the name of a port, exactly as it's given in the nrports(5) file. that's it, that's the arg.
then β and this is the main character moment β nrattach goes looking for the first free NET/ROM device in the system. it checks them in this order, one by one:
nr0nr1nr2nr3
if there's no free NET/ROM device available, it throws an error and the program just... terminates. π no device, no vibes, we go home.
π OPTIONS π
-iinetaddrβ set the internet address of the interface. this address can be either a dotted decimal address or a host name, whichever you vibe with β¨-mmtuβ sets the mtu of the interface. if you don't give this value, it gets taken from thepaclenparameter innrports. so like, it's covered either way π«Ά-vβ display the version. simple. iconic. π
π SEE ALSO π
netrom(4)nrparms(4)nrports(5)ifconfig(8)
go read those too, iykyk π
π BUGS π
okay so this is the part where we hold hands and be honest. the program can be run many times with the same arguments, which creates many instances of the same attributes on different devices.
that's it. that's the bug. not a good idea. bestie please don't. π
π AUTHOR π
Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>
that's the whole page, fr fr. this one's from Linux, dated 21 May 1996, and yeah β it lives at NRATTACH(8). slay, go attach a NET/ROM interface responsibly πβ¨
π¦ 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
- fedora 43: ax25-tools-docs 1.0.4-14.fc43 Β· GPL-2.0-or-later
- fedora 44: ax25-tools-docs 1.0.4-17.fc44 Β· GPL-2.0-or-later
- nixos 26.05: ax25-tools 0.0.10-rc5
- ubuntu jammy: ax25-tools 0.0.10-rc5+git20190411+3595f87-5
- 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 on : a language model's rewrite of the original, under its terms