logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ax25rtctl - AX.25 routing control program

Authors

       Joerg Reuter <jreuter@poboxes.com>
       Klaus Kudielka OE1KIB

Linux                                           11 November 2003                                    AX25RTCTL(8)

Description

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

       -a,--addax25<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,--delax25<callsign><dev>
              Remove an entry from the AX.25 routing table.

       -a,--addip<ip><dev><time><call><ipmode>
              Add an entry to the IP routing table. If time is "0" the entry will be marked permanent.

       -d,--delip<ip>
              Remove an entry from the IP routing table.

       -l,--listax25
              Lists the content of the cache for the AX.25 routing table.

       -l,--listip
              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

Name

       ax25rtctl - AX.25 routing control program

See Also

ax25rtd.conf(5), ax25rtd(8).

Synopsis

ax25rtctl[options]

See Also