You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.8 KiB

title summary date lastmod categories tags draft
mobilinkd on my linux laptop 2024-02-13T22:05:30+01:00 2024-02-16T17:08:08+0000
amateur-radio
computerstuff
draft_post
true

Mobilinkd

I use blueman-manager, a graphical tool to manage bluetooth devices. Because I actually hate bluetooth and its unpredictability...

right click on to TNC4 Mobilinkd, Connect with: serial port

that will create /dev/rfcomm0

open that port with KISS

$ sudo kissattach /dev/rfcomm0 wl2k
AX.25 port wl2k bound to device ax0

For now, I haven't enabled auto-connect of the serial port.

We can now use this in pat http when we select AX.25+linux

There are a few files that need to be prepared.

/etc/ax25/axports

# /etc/ax25/axports
#
# The format of this file is:
#
# name callsign speed paclen window description
#

#1	OH2BNS-1	1200	255	2	144.675 MHz (1200  bps)
#2	OH2BNS-9	38400	255	7	TNOS/Linux  (38400 bps)
wl2k OE7DRT 1200 255 7 Winlink

and the pat config has

  "ax25_linux": {
    "port": "wl2k"
  },
  "serial-tnc": {
    "path": "/dev/rfcomm0",
    "serial_baud": 9600,
    "hbaud": 1200,
    "type": "Kenwood",
    "rig": ""
  },

Digirig

Using AX.25+agwpe in pat

  "ax25": {
    "engine": "linux",
    "rig": "",
    "beacon": {
      "every": 3600,
      "message": "Winlink P2P",
      "destination": "IDENT"
    }
  },
  "agwpe": {
    "addr": "127.0.0.1:8000",
    "radio_port": 0
  },

Direwolf

ADEVICE  plughw:1,0
CHANNEL 0
MYCALL OE7DRT
MODEM 1200
PTT /dev/ttyUSB0 RTS DTR
AGWPORT 8000
KISSPORT 8001
IGTXLIMIT 6 10

Some systemd units I use for this

pat

[Unit]
Description="pat winlink"
After=network.target rigctld.service ardopc64.service
Wants=rigctld.service ardopc.service

[Service]
Type=simple
ExecStart=/home/dominic/bin/pat --listen "ardop,telnet" http
TimeoutSec=10

[Install]
WantedBy=default.target

rigctl

[Unit]
Description="rigctld for TX-500 using Digirig"
After=network.target
Before=pat.service

[Service]
Type=simple
ExecStart=/usr/bin/rigctld -m 2050 -r /dev/ttyUSB0 -d /dev/ttyUSB0 -p /dev/ttyUSB0 -P RTS -s 9600 -vvv
TimeoutSec=10

[Install]
WantedBy=default.target

ardopc

[Unit]
Description="ardopc for TX-500 using Digirig"
After=network.target
Before=pat.service

[Service]
Type=simple
ExecStart=/home/dominic/bin/ardopc 8515 hw:1,0 hw:1,0 -c /dev/ttyUSB0:9600 -p /dev/ttyUSB0:9600
TimeoutSec=10

[Install]
WantedBy=default.target