Operating a Ham Radio Station Remotely Over the Internet with a Raspberry Pi: rigctld, Audio Streaming, and Remote CAT Control
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.
| Path | What Moves | Typical Tool |
|---|---|---|
| CAT control | Serial commands: frequency, mode, PTT, filter width | rigctld (part of Hamlib), exposed over TCP |
| Receive audio | Radio's audio out → remote speaker | Mumble, or a dedicated app like RemoteRig/RCForb |
| Transmit audio | Remote mic → radio's mic input | Same 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.
- Install Hamlib:
sudo apt install libhamlib-utilson Raspberry Pi OS pulls inrigctldandrigctlfor testing. - 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. - Identify the serial device: USB CAT interfaces usually enumerate as
/dev/ttyUSB0; check withdmesg | tailafter plugging in. - 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 - 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:
- Mumble is the pragmatic choice for most hams: it's low-latency, free, cross-platform, and designed for exactly this kind of full-duplex voice link. Run a Mumble server (or client in "link" mode) on the Pi routed to/from the USB sound card with
pavucombor ALSA loopback devices, and connect from a phone or laptop Mumble client anywhere. - Dedicated remote-rig software (RCForb, RemoteHams' RemoteRig ecosystem) bundles CAT and audio together with a purpose-built client, at the cost of being Windows-centric and less flexible than a DIY Mumble/rigctld pairing.
- PTT keying over the network is handled by your remote client sending a PTT command through rigctld rather than toggling a physical line — confirm your rig's Hamlib backend supports CAT-based PTT (most modern rigs do).
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:
- Put the Pi on a WireGuard or Tailscale VPN (both well covered elsewhere on this site) and only ever reach rigctld and your audio service over that private tunnel.
- If you must expose a port directly, put an SSH tunnel in front of it (
ssh -L 4532:localhost:4532 pi@yourhost) and never bind rigctld's plaintext socket straight to a public IP. - Latency matters more for CAT control than you'd expect — a VPN hop through a distant exit node makes tuning feel laggy. Test from your actual remote location, not just localhost.
Legal and Operating Notes
- In the US, FCC rules permit remote control of an amateur station by its licensed control operator; you're still responsible for station identification and operating within your license class privileges exactly as if you were sitting in front of the radio.
- Log your remote sessions like any other operating — some contest and award rules have specific requirements or restrictions around remote and "unmanned" stations, so check the sponsoring organization's rules before claiming points from a remote session.
- Automatic or unattended transmission without a control operator actively present and able to immediately halt transmissions is treated differently under Part 97 — a remote station where you are the active, attentive control operator over the link is not the same as an automated/robotic station, so don't conflate the two.
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.