User Tools

Site Tools


ninotnc-aprs

This is an old revision of the document!


APRS with the NinoTNC

The NinoTNC can be used to send and receive APRS which will allow you to run an iGate, Digipeater or position beacon when used in conjunction with some additional software. As well as contributing to the APRS network, this might be useful to help find local stations you can peer with to help build a national packet network.

This document will cover installing and configuring the software to run as an Rx only iGate, with a periodic position beacon sent via RF. Two software packages are documented, you can chose one or the other. Aprx is lightweight and easy to configure, and BPQ32 is more fully featured but harder to configure.

The guides for both packages assume you're using Raspberry Pi OS or Debian, but may work for other Debian derivatives.

Notes on licensing

N.B. These are my interpretation of the license. You're encouraged to read and interpret the license yourself.

  • A Digipeater will require an NoV as you're re-transmitting third party traffic.
  • The ETCC state you require an NoV for a receive only iGate. This is widely disputed, doesn't appear to be backed up by law and frequently ignored. (See aprs.fi to see how many stations are iGating without an NoV… ). That said, anyone with a foundation license or greater can apply for an Rx only iGate, and you get a fancy MB7 callsign.
  • If you're beaconing over RF your station will need to be attended unless you have an NoV or you're operating “remotely” ( See license for restrictions on remote operation )

Aprx

Installation

Firstly install some pre-requisites:

sudo apt-get update && apt-get upgrade
sudo apt-get install wget openssl

Next download the latest package. I'm forcing IPv4 only as I had issues when attempting to download via IPv6.

For Raspberry Pi:

wget --inet4-only -O /tmp/aprx.deb https://thelifeofkenneth.com/aprx/debs/aprx_2.9.0_raspi.deb

For amd64:

wget --inet4-only -O /tmp/aprx.deb https://thelifeofkenneth.com/aprx/debs/aprx_2.9.0_amd64.deb

Next install the deb package:

dpkg -i /tmp/aprx.deb

Configuration

Now it's time to customise the configuration. Use your preferred text editor to open /etc/aprx.conf and edit to suit.

The latitude and longitude syntax is mildy annoying, you need them in degrees, minutes, and seconds format. Latitude requires 4 digits before the decimal point and Longitude requires 5 digits before the decimal point. Pad with zeros if required. I use the “GPS Coordinates” from latlong.net

You can generate your APRS Passcode here

It should look something like the example below.

mycall YOURCALL-YOURSSID
myloc lat 5139.20N lon 00025.09W

<interface>
        callsign YOURCALL-YOURSSID
        serial-device /dev/ttyACM0 57600 8n1 KISS
        telem-to-is false
        tx-ok true
</interface>

<aprsis>
        login YOURCALL-YOURSSID
        passcode YOURPASSCODE
        server euro.aprs2.net
        heartbeat-timeout 1m
</aprsis>

<beacon>
        cycle-size 15m
        beaconmode both # aprsis, radio, or both
        beacon interface YOURCALL-YOURSSID via WIDE1-1 symbol "R&" $myloc comment "Aprx + NinoTNC Rx-iGate"
</beacon>

<logging>
        rflog /var/log/aprx/aprx-rf.log
        aprxlog /var/log/aprx/aprx.log
</logging>

systemd

Aprx doesn't ship with a systemd service file by default, and I've had some issues with the included init script. Lets create a systemd service instead.

sudo systemctl disable aprx
sudo systemctl daemon-reload
sudo rm /etc/init.d/aprx

/etc/systemd/system/aprx.service

sudo systemctl enable aprx
sudo systemctl start aprx
ninotnc-aprs.1676754123.txt.gz · Last modified: 2023/02/18 21:02 by 2e0sip