Advanced Amateur Radio APRS IGate & Digipeater
A high-performance, ultra-lightweight gateway and digipeater bridging RF amateur radio networks with the global APRS-IS backbone.
- Overview & Features
- Supported Platforms & Packages
- ⚡ Quick Start: Automated Installer
- 🐳 Docker & Container Deployment
- 💻 Manual Installation Guide
- ⚙️ Configuration Guide
- 🚀 Running & Service Management
- 📊 Statistics & Telemetry (
aprx-stat) - 🔍 Troubleshooting & Best Practices
- 👥 Maintainers & Credits
Aprx is a dedicated, ultra-low-footprint APRS (Automatic Packet Reporting System) gateway and digipeater daemon designed for Unix-like operating systems. It is optimized for embedded devices (Raspberry Pi, OpenWrt, thin clients) as well as mission-critical mountaintop repeater sites.
- Rx-IGate (RF ➡️ APRS-IS): Listens to RF packets via serial TNCs, soundmodems (Direwolf), or AX.25 devices and forwards valid APRS traffic to APRS-IS.
- Tx-IGate (APRS-IS ➡️ RF): Intelligently routes messages from the internet backbone back onto local RF frequencies only for stations recently heard locally.
- Viscous Digipeater: Prevents RF channel congestion by buffering packets momentarily. If an adjacent digipeater transmits the same packet first, Aprx drops duplicate transmission.
- Multi-Interface & Cross-Band Routing: Connect multiple TNCs, Direwolf instances, D-STAR D-PRS streams, and AX.25 ports with independent filter rules.
- Erlang Telemetry & Channel Monitoring: Measures real-time RF channel occupancy and reports statistics to APRS-IS and local diagnostics.
Automated release packages and binaries are generated directly by GitHub Actions for every release:
| Operating System | Arch / Format | Package Type | Package / Archive Name |
|---|---|---|---|
| Ubuntu Linux | x86_64 |
Native DEB | aprx-2.9.1-ubuntu-x86_64.deb |
| Debian Linux | x86_64 |
Native DEB | aprx-2.9.1-debian-x86_64.deb |
| Fedora / RHEL | x86_64 |
Native RPM | aprx-2.9.1-fedora-x86_64.rpm |
| Arch Linux | x86_64 |
Native Arch Package | aprx-2.9.1-archlinux-x86_64.pkg.tar.zst |
| FreeBSD | amd64 |
Native FreeBSD PKG | aprx-2.9.1-freebsd-x86_64.pkg |
| Raspberry Pi (64-bit) | arm64 / aarch64 |
Standalone ZIP | aprx-2.9.1-raspberrypi-arm64.zip |
| Raspberry Pi (32-bit) | armhf / armv7l |
Standalone ZIP | aprx-2.9.1-raspberrypi-armhf.zip |
| macOS | arm64 (Apple Silicon) |
Standalone ZIP | aprx-2.9.1-macos-arm64.zip |
👉 Download pre-built assets from the Releases Page.
Install Aprx in seconds on any supported OS (Debian, Ubuntu, Raspberry Pi OS, Fedora, Arch Linux, FreeBSD, macOS):
curl -sSL https://raw.githubusercontent.com/9M2PJU/aprx-installer/master/install.sh | sudo bash- 🔍 Auto-Detection: Detects your OS distribution and CPU architecture (
x86_64,arm64,armhf). - 📦 Installation Choices: Lets you choose between Native System Package / Binary or Docker Container (GHCR).
- ⚙️ Interactive Configuration: Shows and opens the configuration file (
/etc/aprx.confor~/aprx-docker/aprx.conf) in your editor (nano/vim) so you can fill in your callsign, passcode, and TNC device. - 🚀 Service Activation: Asks to enable and start the
systemdorrc.dservice / Docker container immediately. - 📊 Diagnostics: Displays quick status and verified monitoring commands (
aprx-stat).
Multi-architecture container images (linux/amd64, linux/arm64, linux/arm/v7) are automatically built and published to GitHub Container Registry (GHCR).
Create a dedicated directory for Aprx and extract the sample configuration file directly from the image:
mkdir -p ~/aprx-docker && cd ~/aprx-docker
# Extract the default configuration template from the image
docker run --rm --entrypoint cat ghcr.io/9m2pju/aprx-installer:latest /etc/aprx.conf.default > aprx.conf
# Edit aprx.conf with your callsign, passcode, and interface settings
nano aprx.confdocker run -d \
--name aprx \
--restart unless-stopped \
-v $(pwd)/aprx.conf:/etc/aprx.conf:ro \
-v aprx-logs:/var/log/aprx \
ghcr.io/9m2pju/aprx-installer:latestWhen using a physical USB radio modem or TNC, pass the device into the container:
docker run -d \
--name aprx \
--restart unless-stopped \
--device /dev/ttyUSB0:/dev/ttyUSB0 \
-v $(pwd)/aprx.conf:/etc/aprx.conf:ro \
-v aprx-logs:/var/log/aprx \
ghcr.io/9m2pju/aprx-installer:latestCreate a docker-compose.yml file:
services:
aprx:
image: ghcr.io/9m2pju/aprx-installer:latest
container_name: aprx
restart: unless-stopped
volumes:
- ./aprx.conf:/etc/aprx.conf:ro
- aprx-logs:/var/log/aprx
# If using a physical USB TNC:
# devices:
# - /dev/ttyUSB0:/dev/ttyUSB0
# If using host network (e.g., Direwolf running on host machine):
# network_mode: host
volumes:
aprx-logs:Start the service:
# Launch container in background
docker compose up -d
# View live container logs
docker compose logs -f# View live Aprx log output
docker logs -f aprx
# Run aprx-stat real-time statistics directly inside the running container
docker exec -it aprx aprx-stat -S
# View channel Erlang load metrics
docker exec -it aprx aprx-stat -x
# Reload / Restart after editing aprx.conf
docker restart aprx
# Update to latest Aprx container release
docker pull ghcr.io/9m2pju/aprx-installer:latest
docker compose up -d --pull always# Download the package for your distribution
wget https://github.com/9M2PJU/aprx-installer/releases/download/v2.9.1/aprx-2.9.1-ubuntu-x86_64.deb
# Install using apt (automatically handles dependencies)
sudo apt update
sudo apt install ./aprx-2.9.1-ubuntu-x86_64.debwget https://github.com/9M2PJU/aprx-installer/releases/download/v2.9.1/aprx-2.9.1-ubuntu-x86_64.zip
unzip aprx-2.9.1-ubuntu-x86_64.zip -d aprx-dist
sudo cp aprx-dist/aprx /usr/sbin/aprx
sudo cp aprx-dist/aprx-stat /usr/bin/aprx-stat
sudo cp aprx-dist/aprx.conf.in /etc/aprx.confPre-compiled binary archives are provided for Raspberry Pi (Raspberry Pi OS / DietPi / Ubuntu ARM).
# For 64-bit OS (Raspberry Pi 3/4/5 / Zero 2W on 64-bit kernel):
wget https://github.com/9M2PJU/aprx-installer/releases/download/v2.9.1/aprx-2.9.1-raspberrypi-arm64.zip
unzip aprx-2.9.1-raspberrypi-arm64.zip -d aprx-rpi
# For 32-bit OS (Raspberry Pi 1/2/Zero or 32-bit OS):
wget https://github.com/9M2PJU/aprx-installer/releases/download/v2.9.1/aprx-2.9.1-raspberrypi-armhf.zip
unzip aprx-2.9.1-raspberrypi-armhf.zip -d aprx-rpi
# Install binaries and configuration
sudo cp aprx-rpi/aprx /usr/sbin/aprx
sudo cp aprx-rpi/aprx-stat /usr/bin/aprx-stat
sudo chmod +x /usr/sbin/aprx /usr/bin/aprx-stat
[ ! -f /etc/aprx.conf ] && sudo cp aprx-rpi/aprx.conf.in /etc/aprx.confTo create the systemd service file on Raspberry Pi:
sudo tee /etc/systemd/system/aprx.service << 'EOF'
[Unit]
Description=Amateur Radio APRS Gateway & Digipeater
After=network.target
[Service]
Type=simple
ExecStart=/usr/sbin/aprx -f /etc/aprx.conf
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload# Download and install with DNF
wget https://github.com/9M2PJU/aprx-installer/releases/download/v2.9.1/aprx-2.9.1-fedora-x86_64.rpm
sudo dnf install ./aprx-2.9.1-fedora-x86_64.rpmwget https://github.com/9M2PJU/aprx-installer/releases/download/v2.9.1/aprx-2.9.1-fedora-x86_64.zip
unzip aprx-2.9.1-fedora-x86_64.zip -d aprx-fedora
sudo cp aprx-fedora/aprx /usr/sbin/aprx
sudo cp aprx-fedora/aprx-stat /usr/bin/aprx-stat
sudo cp aprx-fedora/aprx.conf.in /etc/aprx.conf# Download and install with Pacman
wget https://github.com/9M2PJU/aprx-installer/releases/download/v2.9.1/aprx-2.9.1-archlinux-x86_64.pkg.tar.zst
sudo pacman -U aprx-2.9.1-archlinux-x86_64.pkg.tar.zstwget https://github.com/9M2PJU/aprx-installer/releases/download/v2.9.1/aprx-2.9.1-freebsd-x86_64.pkg
sudo pkg add aprx-2.9.1-freebsd-x86_64.pkgfetch https://github.com/9M2PJU/aprx-installer/releases/download/v2.9.1/aprx-2.9.1-freebsd-x86_64.zip
unzip aprx-2.9.1-freebsd-x86_64.zip -d aprx-freebsd
sudo cp aprx-freebsd/aprx /usr/local/sbin/aprx
sudo cp aprx-freebsd/aprx-stat /usr/local/bin/aprx-stat
sudo cp aprx-freebsd/aprx.conf.in /usr/local/etc/aprx.conf# Download the macOS archive
curl -LO https://github.com/9M2PJU/aprx-installer/releases/download/v2.9.1/aprx-2.9.1-macos-arm64.zip
unzip aprx-2.9.1-macos-arm64.zip -d aprx-macos
# Copy binaries into your executable path
sudo cp aprx-macos/aprx /usr/local/bin/aprx
sudo cp aprx-macos/aprx-stat /usr/local/bin/aprx-stat
sudo chmod +x /usr/local/bin/aprx /usr/local/bin/aprx-stat
# Setup configuration
sudo mkdir -p /etc
[ ! -f /etc/aprx.conf ] && sudo cp aprx-macos/aprx.conf.in /etc/aprx.confIf you wish to compile Aprx from source for custom optimization or unlisted operating systems:
- Debian / Ubuntu / Raspberry Pi OS:
sudo apt install -y build-essential libssl-dev git perl - Fedora / RHEL:
sudo dnf install -y gcc make openssl-devel git perl - Arch Linux:
sudo pacman -S --needed base-devel openssl perl git - FreeBSD:
sudo pkg install gmake perl5 git openssl - macOS:
xcode-select --install(andbrew install opensslif SSL is desired)
git clone https://github.com/9M2PJU/aprx-installer.git
cd aprx
./configure --prefix=/usr --sysconfdir=/etc
make
sudo make install(On FreeBSD, use ./configure --prefix=/usr/local --sysconfdir=/usr/local/etc && gmake && sudo gmake install)
| Operating System | Default Configuration Path |
|---|---|
| Linux (All distributions) | /etc/aprx.conf |
| Docker Container | /etc/aprx.conf |
| macOS | /etc/aprx.conf (or /usr/local/etc/aprx.conf) |
| FreeBSD | /usr/local/etc/aprx.conf |
A minimal configuration that receives APRS packets from a USB hardware TNC (or KISS modem) and forwards them to the global APRS-IS network.
# /etc/aprx.conf
mycall 9M2PJU-10
<aprsis>
server rotate.aprs2.net 14580
passcode 12345
</aprsis>
<logging>
aprxlog /var/log/aprx/aprx.log
rflog /var/log/aprx/aprx-rf.log
</logging>
<interface>
# Serial KISS TNC interface
serial-device /dev/ttyUSB0 9600 8n1 KISS
callsign $mycall
tx-ok false
</interface>
<beacon>
beaconmode both
cycle-size 20m
beacon symbol "I#" lat "0308.50N" lon "10141.50E" comment "Aprx RX-Only IGate"
</beacon>A complete setup for a bi-directional gateway (Rx & Tx IGate) with smart viscous digipeating on VHF:
# /etc/aprx.conf
mycall 9M2PJU-1
<aprsis>
server rotate.aprs2.net 14580
passcode 12345
</aprsis>
<logging>
aprxlog /var/log/aprx/aprx.log
rflog /var/log/aprx/aprx-rf.log
</logging>
<interface>
serial-device /dev/ttyUSB0 9600 8n1 KISS
callsign $mycall
tx-ok true
telem-to-is true
</interface>
<beacon>
beaconmode aprsis
cycle-size 20m
beacon symbol "I#" lat "0308.50N" lon "10141.50E" comment "Aprx 2-Way IGate & Digipeater"
beacon interface $mycall symbol "I#" lat "0308.50N" lon "10141.50E" comment "Aprx 2-Way IGate & Digipeater"
</beacon>
<digipeater>
transmitter $mycall
<source>
source $mycall
relay-type viscous-digipeater
viscous-delay 500ms
ratelimit 60 120
</source>
<source>
source APRSIS
relay-type txigate
msg-path WIDE2-1
ratelimit 60 120
</source>
</digipeater>If you run Direwolf as a software modem on the same or another host, Aprx connects directly over network TCP:
<interface>
tcpdevice 127.0.0.1 8001 KISS
callsign $mycall
tx-ok true
</interface>If you have native Linux kernel AX.25 networking configured (e.g. ax0 in /etc/ax25/axports):
<interface>
ax25-device $mycall
tx-ok true
</interface>Before enabling automatic startup, verify your configuration and serial connection in foreground debug mode:
# -d: debug output (use -dd or -ddd for higher verbosity)
# -v: verbose output
# -f: specify configuration file
aprx -dd -v -f /etc/aprx.confOn Debian, Ubuntu, Raspberry Pi OS, Fedora, Arch Linux, and RHEL:
# Enable Aprx to start on boot and launch immediately
sudo systemctl enable --now aprx
# Check service status
sudo systemctl status aprx
# Restart after editing configuration
sudo systemctl restart aprx
# View live runtime logs
sudo journalctl -u aprx -f- Enable the service in
/etc/rc.conf:sudo sysrc aprx_enable="YES" - Start and control the daemon:
sudo service aprx start sudo service aprx status sudo service aprx restart
To run Aprx continuously in the background on macOS:
-
Create a LaunchDaemon descriptor at
/Library/LaunchDaemons/net.aprx.plist:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>net.aprx</string> <key>ProgramArguments</key> <array> <string>/usr/local/bin/aprx</string> <string>-f</string> <string>/etc/aprx.conf</string> </array> <key>RunAtLoad</key> <true/> <key>KeepAlive</key> <true/> <key>StandardErrorPath</key> <string>/var/log/aprx-err.log</string> <key>StandardOutPath</key> <string>/var/log/aprx-out.log</string> </dict> </plist>
-
Load and start the daemon:
sudo launchctl load -w /Library/LaunchDaemons/net.aprx.plist
Aprx includes the aprx-stat diagnostic utility to monitor runtime performance, interface traffic, and channel loading:
# Show instantaneous summary of all interfaces and connections
aprx-stat -S
# Show interface packet and byte counters
aprx-stat -t
# Show Erlang RF channel utilization and load metrics
aprx-stat -x
# Continuous monitoring with 5-second interval
aprx-stat -S -i 5| Problem | Cause | Solution |
|---|---|---|
Permission denied on serial port |
User / daemon lacks access to /dev/ttyUSB0 |
Add user to group: sudo usermod -a -G dialout $USER (Linux) or uucp (Arch/FreeBSD). |
APRS-IS login failed |
Wrong passcode or formatting | Ensure valid APRS passcode matches your mycall station callsign. |
Missing /var/log/aprx directory |
Log directory not pre-created | Run sudo mkdir -p /var/log/aprx && sudo chmod 755 /var/log/aprx. |
| Serial port path differences across OSes | Different kernel device naming | Linux: /dev/ttyUSB0 or /dev/ttyACM0macOS: /dev/cu.usbserial-* or /dev/cu.usbmodem*FreeBSD: /dev/cuaU0 |
| Duplicate packet storms | Multiple digipeaters without hold-off | Ensure relay-type viscous-digipeater and viscous-delay 500ms are enabled in <digipeater>. |
- 🧑💻 Matti Aarnio (OH2MQK) — Original author & architect (2007–2014)
- 🧑💻 Kenneth W. Finnegan (W6KWF) — Longtime upstream maintainer (2014–Present)
- 🧑💻 9M2PJU — Modern CI/CD automation, multi-arch packaging & cross-platform releases