Point POTACAT and Graywolf at rigctld in radio configure

POTACAT gets a "rigctld Network" rig at 127.0.0.1:4532 in My Rigs, made
the active rig, with the connection written where POTACAT reads it: the
global settings, or the operator's profile once there is one. It's left
alone if it has a radio set up, unless --force.

Graywolf's web API needs its password, so its database gets the change:
PTT through rigctld on each channel that transmits and has none. It's
checked first without writing; only if something changes is Graywolf
stopped with sudo, its database backed up through SQLite, and Graywolf
started again. If sudo is refused, or no channel transmits, it says what
to set in the web UI instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Young
2026-11-28 12:56:14 -07:00
co-authored by Claude Opus 5.5
parent 892bfb9df0
commit 04d973039a
5 changed files with 306 additions and 16 deletions
+15 -7
View File
@@ -46,7 +46,7 @@ cable.
## radio configure
With the radio on a dummy load or an antenna, and WSJT-X, JS8Call, Pat, fldigi,
Dire Wolf, not1mm and QLog quit:
Dire Wolf, not1mm, QLog and POTACAT quit:
1. Run `radio configure`. It should name the radio, its by-id port and a baud
rate, and say what it did for each program.
@@ -76,16 +76,24 @@ Dire Wolf, not1mm and QLog quit:
written straight into QLog's log, with the values QLog 0.54.2's own form
gives a new profile, so check that QLog shows and saves it without
complaint, and that your QSOs are all still there.
10. Run `radio configure` again: each program is "already set up", and
10. Open POTACAT (after running it once). My Rigs has "... (HamPack's
rigctld)" as a rigctld Network rig at 127.0.0.1:4532, it's the active rig,
and the frequency follows the radio. If you have an operator profile, check
POTACAT doesn't say the connection belongs to another rig.
11. In Graywolf's web UI, add a channel with the radio's sound card, then run
`radio configure` (it asks for sudo to stop Graywolf). The channel's PTT
is rigctld, 127.0.0.1:4532, Graywolf is running again, and "Test rigctld"
in its PTT page passes. Send a beacon and check it keys the radio.
12. Run `radio configure` again: each program is "already set up", and
rigctld restarts.
11. With a rig set by hand in WSJT-X, `radio configure` leaves it alone, and
13. With a rig set by hand in WSJT-X, `radio configure` leaves it alone, and
`--force` replaces it. The `.bak-` copy has the old settings.
12. Unplug the radio, plug it in again, and check rigctld reconnects within
14. Unplug the radio, plug it in again, and check rigctld reconnects within
a few seconds. Reboot and check it starts at login.
| Date | Commit | Radio | rigctld | WSJT-X | JS8Call | Pat | fldigi | Dire Wolf | not1mm | QLog | Notes |
|------|--------|-------|---------|--------|---------|-----|--------|-----------|--------|------|-------|
| | | | | | | | | | | | |
| Date | Commit | Radio | rigctld | WSJT-X | JS8Call | Pat | fldigi | Dire Wolf | not1mm | QLog | POTACAT | Graywolf | Notes |
|------|--------|-------|---------|--------|---------|-----|--------|-----------|--------|------|---------|----------|-------|
| | | | | | | | | | | | | | |
## Pairing radios with sound cards