AXPARMS(8)

πŸ“¦
version 1.1.0 Β· 3 versions
, in alpine 3.24, debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– AXPARMS(8) πŸ’–

okay so real talk: this is a page straight out of the Linux System Managers Manual, and bestie, it's basically the remote control for your AX.25 interfaces. buckle up πŸŽ€


✨ NAME ✨

axparms β€” the girl who configures AX.25 interfaces for you πŸ’…


✨ SYNOPSIS ✨

axparms --assoc|--forward|--route|--setcall|--version ...

✨ DESCRIPTION ✨

So axparms is lowkey a multi-function command β€” think Swiss Army knife but make it packet radio πŸ”₯. It lets miscellaneous commands be issued to the Linux AX.25 protocol layer. Which mode you get is decided by the first argument, and every argument after that depends on which one you picked. So there's literally no generalised command format anyone can hand you β€” it's choose-your-own-adventure, no cap. πŸ¦‹


🌸 --assoc Argument 🌸

The format of this option is:

axparms --assoc <callsign> <username|uid>
axparms --assoc <callsign> delete
axparms --assoc policy [default|deny]
axparms --assoc show

This one manipulates the kernel uid/callsign mapping table, so you can associate and dis-associate callsigns with a user. iconic behaviour tbh 🫢

The policy option is the superuser-only vibe check: it lets root decide whether all the other uid's either default to the actual port name, or get blocked from traffic altogether. denied, periodt πŸ’€

At power up the table is blank and the policy is default β€” which is thus backward compatible. no breaking changes, we love to see it ✨


🌸 --forward Argument 🌸

This is the "many receivers, one transmitter" situation β€” packet forwarding, as the many systems call it. The format of this command is:

axparms --forward <portfrom> <portto>
axparms --forward <portfrom> delete

Any packets that want to be transmitted on port portfrom will instead be transmitted on port portto. it's giving relay energy πŸ“‘

This stays in force until you issue the second form of the command, which removes the association. bye bestie πŸ‘‹


🌸 --route Argument 🌸

This option lets you manipulate the internal AX.25 routing table. You can read that table in /proc/net/ax25_route, and it gets built up dynamically by stations being heard β€” but you can also add, delete and list entries yourself via this option. main character energy fr fr πŸ‘‘

The formats of this option are:

axparms --route add <port> <callsign> [<digis>] [--ipmode V|D]
axparms --route del <port> <callsign>
axparms --route list

Routes you add via this command will not be removed from the internal routing table when they're β€œold” the way normal entries are. permanent, unlike some people 😭

The --ipmode option sets mode vc or mode datagram for this destination.

If the <callsign> argument is set to β€œdefault”, then this sets the default route for all outgoing AX.25 connections β€” the one that gets used whenever there's no specific route to the required destination. fallback queen 🌈


🌸 --setcall Argument 🌸

The format of this option is:

axparms --setcall <interface> <callsign>

This changes the callsign associated with the given physical ax25 interface. cute little glow-up for your interface πŸ’…

Cave: the interface name is not the symbolic port name from axports, it's the real interface name (from ifconfig(8)): ax0, ax1, .., sp0, .., bpq0, ... etc.. iykyk, don't mix them up or you'll be sad πŸ™ˆ

The change is permanent as long as the interface exists, or until another β€œaxparms --setcall” is issued.

The interface has to exist already in order to use this option β€” it may be in state UP or DOWN, so either is fine, she's flexible 🧚


🌸 --version Argument 🌸

This option displays the version of the AX.25 utilities that axparms belongs to. simple, honest, iconic ⭐


πŸŽ€ FILES πŸŽ€

  • /proc/net/bpqether
  • /proc/net/ax25_calls
  • /etc/ax25/axports

πŸ¦‹ SEE ALSO πŸ¦‹

call(1), getsockopt(2), setsockopt(2), ax25(4), axctl(8), axports(5).


πŸ‘‘ AUTHORS πŸ‘‘

  • Alan Cox GW4PTS <alan@cymru.net>
  • Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>
  • Joerg Reuter DL1BKE <jreuter@poboxes.com>

that's the whole page bestie, go configure something legendary πŸ’œβœ¨

Linux β€” 19 January 2017 β€” AXPARMS(8) πŸ“ mwah, see u in the group chat 🫢