Linux command
beacon 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Send a beacon
beacon [port] "[message text]"
Set a custom interval
beacon -t [interval] [port] "[message text]"
Send the message once
beacon -s [port] "[message text]"
Specify a source callsign
beacon -c [src_call] [port] "[message text]"
Set the destination callsign
beacon -d "[dest_call] [digi1] [digi2]" [port] "[message text]"
Run in the foreground
beacon -f [port] "[message text]"
Send a one-shot mail beacon
beacon -m [port] "[message text]"
说明
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.
参数
- -c _src_call_
- Configure the source callsign for the beacon. Defaults to the AX.25 callsign of the interface.
- -d _dest_call_
- 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.
FAQ
What is the beacon command used for?
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.
How do I run a basic beacon example?
Run `beacon [port] "[message text]"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c _src_call_ do in beacon?
Configure the source callsign for the beacon. Defaults to the AX.25 callsign of the interface.