Skip to content

Running version 0.13? Its documentation is on the 0.13 site. Go to the 0.13 documentation

Build a remote station

A remote station is one you operate while you are away from it: your home station from elsewhere, or a station at a site of its own, such as a summer cottage or a club site. Web Radio Control runs the same way in both. This page helps you plan what is around it, so that the station keeps running without anyone there. For each part of Web Radio Control, it links to the page that describes it.

The parts

PartWhat it takesWhere to read
The internet linkA fixed line or a mobile network, and a way in from the internetThe internet link
The station control computerA Raspberry Pi with a good power supply, storage that survives, and a way to restart it from afarHardware that runs unattended
The radioCAT control and audio over USB, and a way to switch it on and offThe radio
AntennasAntennas that need no adjustment by hand, good coax, grounding and lightning protectionAntennas and coax
SwitchingAntenna switches, relays for power and accessories, a rotatorAntenna switches, rotators and relays
SecurityEncrypted connections, a login for each operator, the firewallSecurity
Internet ── Router ── Station control computer ──┬── USB ── Radio ── Antenna switch ── Antennas
  (fixed line      (Raspberry Pi with Web        ├── USB ── Rotator controller
   or mobile)       Radio Control)               └── Control lines ── Relays: power, amplifier, accessories

Power switch with its own link (a text message or a second line): router, computer, radio and amplifier supplies

The internet link

A fixed line

A fixed line, such as fiber, cable or DSL, is the steadiest link. The station needs little bandwidth. The received audio of each listener takes roughly 96 to 128 kbit/s with the default settings, some 40 to 60 MB an hour, and less when a listener chooses a lower Receive bitrate in My settings › Connection & quality. The spectrum and the controls come beside it. The upload speed of the line matters most, as the station sends the audio of every listener.

A mobile network

Where no fixed line reaches, a 4G or 5G mobile router serves. For a station:

  • A router made for unattended use: one with connectors for an outdoor antenna, and a watchdog of its own that restarts the modem when the connection is lost. Where coverage is uncertain, choose one with two SIM cards for two operators. A USB modem stick or the hotspot of a phone is not built for it.
  • An outdoor antenna for the router, placed for the signal and away from the transmitting antennas and their feed lines. RF from a transmitter can drop a mobile link while it transmits. Ferrites on the cables of the router help.
  • A subscription for the data. See the bandwidth above. The audio of several listeners adds up.

Reach the station from the internet

How browsers find the station is in Change how the station is reached. For a remote station it depends on whether the internet link has a public address of its own:

  • A public IPv4 address. Forward the public port of the station, TCP and UDP, on the router to the station (see Use the station from the internet). Or let the router do it with UPnP, once you have read its risks (see Forward the port automatically (UPnP)). Many public addresses change from time to time. The wrcs.tech domain name of the station follows its address as it changes, and so does your own domain kept current by your DNS provider (see Use your own domain).
  • Behind carrier-grade NAT, as most mobile subscriptions are, or behind another router. No forwarding reaches the station, and the test from the internet says so. Use a private network, your own Tailscale network, which needs no port forwarded (see Use a private network). Or ask the mobile operator for a public address, which some sell as an option of the subscription.
  • Over IPv6, where the network gives the station an address the internet routes and the router lets connections in. IPv6 is off unless you turn it on (see IPv6).

Before you leave the station, test it from outside its network: a phone on mobile data with its Wi-Fi off. In Settings › Station › Ways to reach, under Remote use, Test asks the WRC Cloud Service to connect to the station from the internet (see Test from the internet).

What the station needs from the internet

  • Its license check, once a day with the WRC Cloud Service. A station that can’t check its license for too long goes into setup mode, where its devices are shown but not controlled (see How the station checks the license).
  • The time, from time servers on the internet, or from the router or a time server on its own network (see Time servers). A Raspberry Pi keeps no time while it is switched off, unless a clock battery is fitted. A Raspberry Pi 5 has a connector for one.
  • The renewal of its certificate and software updates (see Update the software).

Hardware that runs unattended

The computer and its power

Every 64-bit Raspberry Pi runs the station. A Raspberry Pi 4 or 5 with 2 GB of memory or more is a good choice (see What you need). Give it what it needs to run for months without anyone there:

  • Its own power supply, or one rated for it, with a short, thick cable. The setup page and the diagnostic report show Throttling, which says whether the Raspberry Pi has had too little voltage since it started (see Station details and the diagnostic report). Too little voltage can damage the SD card and make the USB connection to the radio drop. To power the Raspberry Pi from the 13.8 V supply of the radio, use a DC-DC converter rated for it. A radio that transmits can pull a shared supply down.
  • Cooling: a case with a heatsink or a fan, and room for air, in summer too. The setup page shows the Temperature beside Throttling.
  • USB: short, good cables to the radio, with ferrites at both ends, and a powered hub for several devices.

SD card or SSD

An SD card wears with writing, and a power cut can damage it. Use a card made for endurance. A Raspberry Pi 4 or 5 can also start from a USB SSD, and a Raspberry Pi 5 from an NVMe drive on a HAT, but Web Radio Control has not been tested on either yet. Whatever the storage:

  • The station copies its database every night, on the same card, so those copies don’t survive the card (see Automatic backups).
  • Now and then, export the station data and keep the file away from the station (see Export the station data).
  • Keep a spare SD card with the image written to it at the station. Someone there can then swap the cards, and you import the station data. The license moves with you (see Move your license).

A UPS

An uninterruptible power supply (UPS) keeps the computer and the router running through short power cuts, and spares the SD card. Size it for both, and for the time the router needs to come back once the power returns. The station doesn’t read the state of a UPS, and doesn’t shut its computer down when the battery runs low.

When something stops answering

The station looks after its own programs. Each starts again by itself when it stops, and Web Radio Control starts by itself whenever the station control computer does. A Raspberry Pi starts whenever its power comes back.

From afar, a power user or the administrator has this in Settings › Station › Diagnostics & logs (see Restart, logs and diagnostics):

  • Fix device control and audio restarts the control of every device and looks for the audio devices again, for a device that has stopped answering.

In Settings › Station › Restart & shutdown, they also have these:

  • Restart Web Radio Control restarts Web Radio Control alone, back in about 30 to 60 seconds.
  • Reboot the station restarts the station control computer, for a USB sound card or radio interface that has stopped answering, or a network that is stuck.
  • Shut down the station switches the computer off. Never use it at a remote station unless you can switch its power off and on from afar, as only that starts it again.

A change that could cut you off, such as a port, the address the station listens on, or the firewall turned off, is confirmed from the new address within three minutes, or undone by itself. A mistake can’t lock you out (see Change a port or the address).

Power you can switch without the station

The station can switch relays for the power supply of the radio, an amplifier, a fan or a light (see Antenna switches and relays). It can’t help when the station itself or its internet link has stopped. For that, a remote station needs a way to switch power that depends on neither:

  • a power switch controlled over the mobile network by a text message or a call, with a SIM card of its own;
  • or a network power switch reached through a second internet link;
  • and the watchdog of the router, which restarts its modem when the connection is lost.

With it, you can switch the router, the station control computer and the transmitters off and on when nothing else answers. Some licenses require a way to switch a remote transmitter off that doesn’t depend on its control link (see Your license and remote operation).

Never put the power of the router or the station control computer on a relay the station switches. Switching it off from the station cuts the station off, with nothing left to switch it on again, unless the relay turns itself back on after a set time.

The radio

A radio with CAT control and audio over one USB cable is the simplest. Others take a USB serial cable and a USB sound card, with an interface between them and the radio that isolates the two (see Add a device, Supported radios and Interfaces).

  • Switching it on. A radio that can switch itself on by command is switched on with Power on, in the Power tile of the Controls drawer, or by itself as a user connects, with Switched on as a user connects (see Radio settings). A radio that can’t needs its power supply switched by a relay, and must start by itself when its power comes back. Not every radio does.
  • Switching it off. Power off where the radio can switch itself off, and the relay of its power supply otherwise.
  • Transmitting. The Transmit time limit of the radio, 3 minutes unless you change it, ends any transmission. When the connection of a browser that holds the transmitter is lost, the station releases it within about 15 seconds (see Who holds the transmitter). Transmitting disabled keeps a radio receiving only.
  • Who operates. Reservations keep a radio for one user at a time (see Reservation rules). The Remote use lamp shows anyone at the station that it is operated from afar (see The remote use lamp).

Anyone who may receive may switch the relays of another device. Restrict switching on and off, on the Operating tab of a radio, covers the power command of the radio itself, not a relay on its power supply.

Antennas and coax

  • Antennas. Start simple, with a dipole or a wire such as a Windom, and raise it as high as you can. Height and a good match do more than anything else. A remote station needs antennas that stay tuned without anyone at them. A multiband wire takes an automatic tuner at its feed point.
  • Coax. Use the lowest-loss cable you can, keep the runs short, use good connectors, and seal every outdoor joint against water. Cable laid underground is made for burial, or runs in a conduit.

Grounding and lightning protection

Lightning protection and grounding are safety work under the electrical and building rules of your country. Have a qualified electrician plan and check them, above all the bonding to the electrical ground of the building. Nothing protects a station from a direct strike. Protection lowers the damage from strikes nearby and the static that wire antennas gather.

  • One ground. Bond the ground of the station, the ground of the mast or tower and the electrical ground of the building together, with short, heavy copper. Everything then rises and falls together in a strike.
  • The mast or tower. Ground it at its base with its own ground rods, and the anchors of its guy wires too, bonded to the rest.
  • Every cable that enters. Ground the shield of each coax where it enters the building, with a lightning arrestor on each line, all on one entry panel bonded to the ground. The control cables of the rotator and the antenna switch need arrestors of their own.
  • Antennas disconnected or grounded while the station isn’t used and before storms. A switch grounded at rest does it from afar (see Grounded at rest).
  • Mains. Put surge protection on the power supply of the station.

RF exposure. The rules of your license on exposure apply to the antennas of a remote station as to any. You can’t see from afar who is near the antennas while you transmit. Place the antennas, and limit the power, accordingly.

Antenna switches, rotators and relays

  • Antenna switches. Remote antenna switches describes the kinds and those the station drives, and Wire relays and switches how to drive relays from the control lines of the station. The station never switches an antenna while a radio related to the switch transmits (see Never while transmitting).
  • Rotators. A rotator whose controller has a computer interface Hamlib supports, most often a serial port as on GS-232 type controllers, is added as a device (see A rotator or an amplifier). Switch the power of its controller with a relay where it has no standby of its own.
  • Other equipment. Power supplies, the mains of an amplifier, a fan or a light go on relays of another device (see Relays). Set At start of each relay to its safe state.

Cameras

Web Radio Control doesn’t show cameras. Use a camera of its own, with its own app or web page, to watch the display of the radio and the meters of the amplifier, the shack, the mast and the weather. Keep it on the network of the station and reach it over the private network or your own VPN. Never forward a port to it, as many inexpensive cameras are poorly secured. The video of a camera uses far more data than the audio of the station, which counts on a mobile subscription.

Security

  • The connection is always encrypted. A wrcs.tech domain name or your own domain gives a certificate every browser trusts. Otherwise, install the station certificate on each device you use (see Change how the station is reached and Install the station certificate).
  • Logins. Give each operator a login of their own, with the role they need. Keep a strong administrator password in a password manager, and add a second user with the Administrator role. After failed logins, the station slows down new tries. A forgotten administrator password is reset only with the station control computer in your hands, or with SSH as the Linux user wrchost (see A forgotten password). Connected sessions shows who is logged in, and logs everyone out (see Sessions and paired clients).
  • The firewall of the station control computer lets in the remote control port of the station, and SSH. The setup page answers only on the network of the station. Your router decides which of them the internet reaches. Forward the public port of the station alone (see The firewall).
  • SSH. Log in with a key. Never forward port 22 from the internet. Reach SSH over the private network instead (see Log in with SSH).
  • UPnP lets every device on the network open ports in the router. Prefer forwarding the port by hand, or the private network (see Forward the port automatically (UPnP)).
  • Updates. Keep the station updated (see Update the software).
  • Everything else on the network, such as relay boards, power switches, cameras and the management page of the router, stays off the internet, each with a password of its own.

Recover the station from afar

With the private network on, your devices on it reach the setup page of the station as a computer on its own network does. A station that doesn’t start, or whose Web Radio Control can’t be reached, can then be put right without a trip to it (see Recover the station from afar and Recover a station). From the internet, the setup page stays out of reach. SSH over the private network is the other way in (see Log in with SSH).

Your license and remote operation

The conditions of your license and the rules of your country decide whether and how you may operate a station from afar. They may ask more of it: a notice to the authority, a way to switch the transmitter off that doesn’t depend on the control link, identification, a log, a licensed operator in control while it transmits, and the call sign to use when you operate from abroad. Check them before you build, and again before you operate from another country.

Before you leave the station

  • The station opens from outside its network, a phone on mobile data, at its address from the internet, and Test under Remote use reaches it, or the private network connects.
  • Two users with the Administrator role, their passwords kept safe, and an SSH key installed for the Linux user wrchost.
  • The station data exported and the file kept away from the station, and a spare SD card with the image at the station.
  • The tests of every device passed. Transmitting tested into a dummy load and into each antenna at low power, the SWR checked.
  • The Transmit time limit of each radio set, Transmitting disabled on a radio that only receives, and Switched on as a user connects where you want it.
  • At start of every relay and antenna switch set to its safe state, and the state each network relay board takes after its own power cut. The relays watched through a reboot and through a power cut at the station.
  • A power cut at the station: the computer, the router and Web Radio Control come back by themselves, and the radio as it should.
  • The internet cut at the station, at the mobile link of the router or its WAN cable: the router recovers, and a transmission from afar ends when its connection is lost.
  • The power switch that doesn’t depend on the station tested from afar: the router and the transmitters switched off and on.
  • Throttling shows none and the Temperature is reasonable, in the enclosure, at the warmest time of day.
  • Grounding and lightning protection checked, and the antennas grounded at rest, or a plan for storms.
  • The clock synchronized (see Check the clock).
  • The rules for remote operation met.
  • A note at the station for whoever visits it: what it is, how to switch it off, and how to reach you.
Last updated on