← How-Tos
raspberry-pi 5 days ago ◑ 12 views ◯ 4 min read

Operating a Ham Radio Station Remotely Over the Internet with a Raspberry Pi: rigctld, Audio Streaming, and Remote CAT Control

ham radioremote stationrigctldhamlibraspberry piCAT controlamateur radioremote operation

A remote ham station lets you operate your home rig — and more importantly, your home antenna — from anywhere with an internet connection. For an apartment-dwelling ham, a shack located at a quieter RF location, or just the convenience of working a contest from a laptop on the couch, a Raspberry Pi sitting next to the radio can bridge CAT control and audio over the network with nothing more exotic than Hamlib and a USB sound interface. This is distinct from portable field operating (POTA/SOTA) covered elsewhere on this site: here the radio and antenna stay put, and only the operator moves.

What You're Actually Building

A remote station has three data paths that all need to cross the network: CAT control (frequency, mode, PTT commands), receive audio (the radio's speaker output), and transmit audio (your microphone, back to the radio). The Pi's job is to expose all three to a remote client without you needing to forward a pile of fragile ports to your home network.

PathWhat MovesTypical Tool
CAT controlSerial commands: frequency, mode, PTT, filter widthrigctld (part of Hamlib), exposed over TCP
Receive audioRadio's audio out → remote speakerMumble, or a dedicated app like RemoteRig/RCForb
Transmit audioRemote mic → radio's mic inputSame audio channel as receive, full duplex

Setting Up rigctld on the Pi

Hamlib's rigctld is the standard bridge between a CAT-capable radio and anything that wants to control it — logging software, digital mode apps, and remote clients all speak its protocol.

  1. Install Hamlib: sudo apt install libhamlib-utils on Raspberry Pi OS pulls in rigctld and rigctl for testing.
  2. Find your radio's Hamlib model number with rigctl -l | grep -i <your radio> — nearly every modern HF/VHF rig with a USB or serial CAT port is supported.
  3. Identify the serial device: USB CAT interfaces usually enumerate as /dev/ttyUSB0; check with dmesg | tail after plugging in.
  4. Launch rigctld bound to all interfaces so it's reachable over the network: rigctld -m <model_number> -r /dev/ttyUSB0 -s 38400 -T 0.0.0.0 -t 4532
  5. Test locally first with rigctl -m 2 -r localhost:4532 f (model 2 is the generic "NET rigctl" client) — it should return your radio's current frequency.

Run rigctld as a systemd service rather than a manual terminal session so it survives reboots and Pi power cycles:

[Unit]
Description=Hamlib rigctld
After=network.target

[Service]
ExecStart=/usr/bin/rigctld -m MODEL -r /dev/ttyUSB0 -s 38400 -T 0.0.0.0 -t 4532
Restart=on-failure
User=pi

[Install]
WantedBy=multi-user.target

Getting Audio Across the Network

CAT control alone gets you remote tuning and PTT, but you need audio to actually make a contact. A USB sound interface (a dedicated rig interface like a SignaLink, or a simple USB sound card wired to the radio's data/accessory port) gives the Pi a full-duplex audio device to work with. From there:

Reaching the Pi Without Exposing Your Home Network

Port-forwarding rigctld's raw TCP port directly to the internet is a bad idea — it has no authentication. Instead:

Legal and Operating Notes

Once rigctld, audio, and a VPN tunnel are in place, the Pi basically disappears into the background: you point a client at your home IP (or Tailscale hostname) and the radio behaves exactly like it's sitting on your desk, just with a few hundred milliseconds of extra latency.