ax25rtctl(8)

ax25rtctl8

Ax.25 routing control program

Usage

ax25rtctl [options]

Overview

ax25rtctl is a program to control ax25rtd. There are several options:

-a, --add ax25 <callsign> <dev> <time> [digipeater]

Add an entry to the AX.25 routing table. If time is "0" this entry will be marked permanent, hence: the daemon will not overwrite this route.

-d, --del ax25 <callsign> <dev>

Remove an entry from the AX.25 routing table.

-a, --add ip <ip> <dev> <time> <call> <ipmode>

Add an entry to the IP routing table. If time is "0" the entry will be marked permanent.

-d, --del ip <ip>

Remove an entry from the IP routing table.

-l, --list ax25

Lists the content of the cache for the AX.25 routing table.

-l, --list ip

Lists the content of the cache for the IP routing table.

-e, --expire <minutes>

Removes the entries older than <minutes> from the caches and the kernel routing tables.

-s, --save

Saves the AX.25 and IP cache to /var/ax25/ax25rtd/ax25_route and /var/ax25/ax25rtd/ip_route (or the files specified in /etc/ax25/ax25rtd.conf).

-r, --reload

Reloads the config file /etc/ax25/ax25rtd.conf. This will *not* affect the caches or the heard list.

-q, --shutdown

Same as 'killall -TERM ax25rtd' ;-)

-V, --version

Prints version.

Note that you can specify either the port name (as defined in /etc/ax25/axports) or the interface name (shown by ifconfig). If names conflict (i.e. port scc0 is in fact interface scc3, and vica versa), the interface name has precedence over the port name. Example:

ax25rtctl --add ax25 dl0tha scc3 0 db0pra

is equivalent to

ax25rtctl --add ax25 dl0tha 9k6 0 db0pra

All commands return port names in their output, though. With one exception: ax25_route and ip_route use interface names.

Files

/etc/ax25/ax25rtd.conf

Releases

13 releases since Debian 2.0 (Hamm); the text changed 5 times.

  1. 2.0
  2. 2.2–3.0
  3. 3.1–6.0
  4. 8–11
  5. 12
  6. 13

--expire since Debian 3.1 (Sarge); --list since Debian 3.1 (Sarge); --reload since Debian 3.1 (Sarge); --save since Debian 3.1 (Sarge); --shutdown since Debian 3.1 (Sarge); --version since Debian 3.1 (Sarge); -V since Debian 3.1 (Sarge); -e since Debian 3.1 (Sarge); -l since Debian 3.1 (Sarge); -q since Debian 3.1 (Sarge); -r since Debian 3.1 (Sarge); -s since Debian 3.1 (Sarge).

Authors

Joerg Reuter <[email protected]>
Klaus Kudielka OE1KIB

From ax25-apps 0.0.8-rc5+git20230513+afc4a5f-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.