Skip to content

Instantly share code, notes, and snippets.

@colinmcintosh
Last active April 10, 2021 17:11
Show Gist options
  • Save colinmcintosh/1ef44db0c286401b317f7cd480b71d1d to your computer and use it in GitHub Desktop.
Save colinmcintosh/1ef44db0c286401b317f7cd480b71d1d to your computer and use it in GitHub Desktop.
Run AX25 on Ubuntu 18.04 via a Kenwood TH-D72 handheld transceiver
sudo apt update
sudo apt install ax25-tools ax25-apps
sudo vim /etc/ax25/axports
# Add the following line (replace MYCALL with your callsign):
# thd72a MYCALL 9600 255 7 TH-D72A (MYCALL)
# Install the latest release of Pat from here: https://github.com/la5nta/pat/releases. E.g.
wget https://github.com/la5nta/pat/releases/download/v0.6.1/pat_0.6.1_linux_amd64.deb
sudo dpkg -i pat_0.6.1_linux_amd64.deb
sudo /usr/share/pat/ax25/install-systemd-ax25-unit.bash
# Setup the AX25 Service
wget http://www.trinityos.com/HAM/CentosDigitalModes/usr/src/misc/D710/tmd710_tncsetup.c
sudo apt install build-essential gcc
gcc -o tmd710_tncsetup tmd710_tncsetup.c
sudo mv tmd710_tncsetup /usr/local/bin/
# Connect the radio to the USB port and check which /dev/ttyUSB<n> the device is attached to (e.g. /dev/ttyUSB0)
sudo vim /etc/default/ax25
# Set the following parameters. Replace DEV with the correct USB port the radio is attached to:
# AXPORT=thd72a
# HBAUD=9600
# DEV=/dev/ttyUSB0
# TNC_INIT_CMD="/usr/local/bin/tmd710_tncsetup -B 0 -S $DEV -b $HBAUD"
sudo systemctl start ax25.service
# If the service doesn't start run sudo journalctl -u ax25.service to check the service log
# Call the remote radio. Replace <target callsign> with the call sign you are trying to reach.
axcall thd72a <target callsign>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment