beacon
Transmit periodic messages on an AX.25 port
TLDR
SYNOPSIS
beacon [-c srccall] [-d destcall[digi ..]] [-f] [-l] [-m] [-s] [-t interval] [-v] port "message"
DESCRIPTION
beacon is part of the ax25-tools suite for amateur packet radio on Linux. It periodically transmits a UI (Unnumbered Information) frame containing a user-supplied text message on a configured AX.25 port. Beacons announce a station's presence, advertise services, or publish APRS-style position and status data on packet networks.By default the destination address is IDENT and the message is sent every 30 minutes; both can be overridden. The program normally daemonises itself so it can keep running in the background while the operator continues other work. The -s and -m options turn it into a one-shot transmitter.The named port must be a configured AX.25 interface (commonly a KISS TNC, a soundmodem, or a kernel AX.25 device) listed in /etc/ax25/axports.
PARAMETERS
-c srccall_
Configure the source callsign for the beacon. Defaults to the AX.25 callsign of the interface.-d destcall_
Configure the destination callsign. Defaults to IDENT. Digipeaters may follow, separated by spaces, when the argument is quoted.-f
Do not fork into the background; keep the process attached to the terminal.-l
Enable logging of errors to the system log. Disabled by default.-m
Send the message once with destination address set to MAIL instead of IDENT.-s
Send the message text only once and exit.-t interval
Time interval between transmissions, in minutes. Default is 30.-v
Display version information.port
Name of the AX.25 port as defined in /etc/ax25/axports.message
Text to transmit. Quote the string so spaces and special characters are passed unchanged.
EXAMPLES
Announce a BBS every 15 minutes:
CONFIGURATION
AX.25 ports are defined in /etc/ax25/axports with one line per port:
radio AB1CDE-1 1200 256 2 VHF packet on 144.39 MHz
CAVEATS
Requires the AX.25 kernel stack and an attached AX.25 interface; beacon will not start without a valid port. Frequent beaconing wastes shared radio channel capacity and is widely discouraged in amateur packet networks. Many operators recommend intervals of 30 minutes or longer outside of APRS use cases. Running beacon typically requires privileges that allow opening the AX.25 socket (often root or membership in an appropriate group).
HISTORY
beacon ships with ax25-tools, the userspace utilities for the Linux AX.25 protocol stack. The Linux AX.25 implementation was started in the early 1990s by Alan Cox and others to bring amateur packet radio to Linux, and ax25-tools has been maintained by the Linux AX.25 project ever since. The utility has remained largely unchanged for decades because the AX.25 link-layer protocol itself has been stable since its original 1984 specification.
SEE ALSO
ax25(4), axports(5), kissattach(8), axlisten(1), call(1)
