DF6AX Frank Rose
Lamspringe · JO51AX

FMNetWeb: the FM-Funknetz in your browser

FMNetWeb is a small service for the Raspberry Pi or a Linux PC that logs in to the FM-Funknetz as a node. Listening and transmitting then work in the browser on your phone or PC, with no app and no hotspot.

Diagram: phone or PC with a browser, connected via HTTPS on the home network to FMNetWeb on a Raspberry Pi, which is linked via SvxLink V2 to the FM-Funknetz reflector that the repeaters are connected to

If you want to be QRV on the FM-Funknetz, you normally need a radio within range of a linked repeater, a hotspot or an app. FMNetWeb takes a different route: a Raspberry Pi on your home network logs in to the reflector itself, just like a node (SvxLink V2). You operate it through a web interface. The microphone and speaker of your phone or PC are used directly in the browser, so there is no app to install.

The interface runs on your own network, i.e. on your Wi-Fi or LAN at home. There you choose the talkgroup (TG), listen and transmit by holding down a button.

A node on your home network, operated in the browser

The set-up has three parts. The browser on your phone or PC talks to FMNetWeb on the Pi over an encrypted connection. On the Pi, the original SvxLink maintains the connection to the FM-Funknetz reflector; FMNetWeb controls it and provides the user interface. The reflector is where the talkgroups come together, which the repeaters and the other nodes are also connected to.

To the reflector, the station is an ordinary SvxLink node with its own callsign. The connection is handled by an unmodified SvxLink 24.02, which FMNetWeb starts and controls (github.com/sm0svx/svxlink). The station therefore logs in with the genuine software ID “SvxLink”; FMNetWeb only adds itself as the front end in the node information. It transmits only while you hold the button; there is no VOX. Two reflector addresses are stored in the settings: if server 1 fails, SvxLink switches to server 2.

“Active now”, “Last heard” and the eye come from the official MQTT broker of the FM-Funknetz. FMNetWeb subscribes only to what the interface currently needs and does not scrape any web pages, in line with the network’s rules for external applications.

What you need

  • A Raspberry Pi 3, 4 or 5, or a Linux PC running Debian or Ubuntu, with internet access and systemd.
  • Access to the FM-Funknetz. You get the reflector password (AUTH_KEY) by opening a ticket at ticket.fm-funknetz.de.
  • Your own callsign with a suffix, for example DL1ABC-App. It must not be used by a hotspot or another device at the same time, otherwise the reflector rejects the login.
  • A phone, tablet or PC with an up-to-date browser (Chrome, Edge, Firefox, Safari) on the same network.

Every character of the callsign matters. It must be entered exactly as it is registered with the FM-Funknetz, including the suffix and upper and lower case. DF6AX-iOS is not the same as DF6AX-IOS.

Transmitting via the FM-Funknetz is only permitted with a valid amateur radio licence and your own access.

Installation with two commands

On the Pi, Raspberry Pi OS Lite (64-bit) is all you need. In Raspberry Pi Imager you set the hostname, user, password and Wi-Fi in advance and enable SSH. After the first boot you log in via SSH and run two commands:

wget https://df6ax.de/fmnetweb/install.sh
sudo bash install.sh

The installer asks only two things: the callsign with suffix and the reflector password. The password stays hidden as you type. It then installs the required packages, builds SvxLink 24.02 from the original source, sets up the service and starts it. SvxLink is built because the Raspberry Pi OS repositories only contain an old version without talkgroups. The first installation therefore takes about 20 to 40 minutes on a Pi. At the end it shows the address at which the interface can be reached.

If port 443 is already in use, the installer falls back to 8443 or asks you. To specify a particular port:

sudo bash install.sh --port 8443
Interactive

Installation step by step

In Raspberry Pi Imager, choose “Raspberry Pi OS Lite (64-bit)” and the SD card. Use the cog to enter the hostname, user, password and Wi-Fi, and tick “Enable SSH”. Insert the card into the Pi, boot it and log in via SSH after about two minutes, for example with ssh pi@raspberrypi.local.

On the Pi, run wget https://df6ax.de/fmnetweb/install.sh followed by sudo bash install.sh. The installer downloads the required packages, builds SvxLink, sets up the service and starts it. The first time, this takes about 20 to 40 minutes on a Pi.

The installer asks for the callsign with suffix, such as DL1ABC-App, and for the reflector password from your ticket at ticket.fm-funknetz.de. Enter the callsign exactly as it is registered, with upper and lower case. It must not be running on a hotspot at the same time.

Open the address the installer shows, for example https://raspberrypi.local. Accept the certificate warning once; on iPhone and iPad the certificate is installed as a profile. Then use “Test connection” under the cog to check that the login to the reflector works.

The first visit and the certificate

Browsers only grant microphone access on encrypted pages. That is why the interface runs over https, with a certificate the Pi has issued to itself. On the first visit you will see a certificate warning. In Chrome, Edge, Firefox and on Android you accept it once via “Advanced” and “Proceed to …” or “Accept the risk and continue”.

On iPhone and iPad one more step is needed. At the end, the installer shows an address from which Safari downloads the certificate as a profile. The profile is installed under Settings, General, VPN & Device Management and then enabled under About, Certificate Trust Settings. Only then open the Pi’s https address.

Audio starts when the page loads or at the first tap. Until then the header shows a crossed-out speaker icon. In Chrome and Edge you can set “Sound” to “Allow” in the site settings; it then starts immediately.

The installer does not ask for a web password, and the interface opens without a login. This means that anyone on your home network who can open the page can transmit under your callsign and change the settings. If other people use your network as well, for instance via a guest Wi-Fi that is not separated, set a password in the settings.

What operating it looks like

FMNetWeb on a phone: header with status, on/off button and cog, Radio and SSTV tabs, display with RX timer, TG 262, DL1ABC currently talking and the software in use, SvxLink, history of the last transmissions with buddy stars, buttons for TG selection, favourites and scan, a large TRANSMIT button and the “Active now” list
FMNetWeb on a phone (sample data).

At the top is a display showing the status, the current TG and who is talking. An eye icon at the top right shows how many stations are currently tuned to your TG. Tap it to list them with name, location, locator and distance, nearest first. At the top left, “RX” when receiving and “TX” when transmitting counts the duration of the transmission, even if you switch into the middle of a conversation. At the bottom left you can see which software the other station is transmitting with, such as SvxLink or an app, and at the bottom right the FMNetWeb version; the header also shows it with the build number. Below that is the history with the last six transmissions on your TG. The ⏻ button in the header disconnects from the network and reconnects; after a restart, FMNetWeb reconnects by itself.

FMNetWeb on a PC in two columns: on the left the display, history, buttons and TRANSMIT, on the right “Active now”, below it the buddy notice that DK2RB is talking on TG 8 Cluster TG with a link to switch, and “Last heard”
On a PC the sections are arranged in two columns. Above “Last heard” a notice appears when a buddy is talking on another TG.

“◀ TG” and “TG ▶” step through your favourites, “★ Favourites” shows them as a list with names so you can switch directly, and “Enter TG” selects any number. The scan steps through the monitor TGs or the whole network and stops on activity for the set hold time. The scanner shows all TGs of the network as a waterfall: wherever someone is talking, a bright line runs, which breaks off when the transmission ends, and the last minute remains visible below. Tapping a line switches to that TG. The “Active now” list shows who is talking on which TG right now; tapping an entry switches there.

Stations you don’t want to miss go into your buddy list: with the ☆ next to a callsign in the history or in the settings. If a buddy talks on another TG, a notice appears above “Last heard”, and tapping it switches to that buddy. A callsign without a suffix applies to all devices of that station, i.e. to DL1ABC-APP just as much as to DL1ABC-L.

To transmit, hold down TRANSMIT and talk; releasing it ends the transmission. On a PC the space bar works the same way. A maximum transmit time automatically ends overly long transmissions. Test on TG 9990 (echo test) or TG 20 (Test Area), never on TG 262. There is also a dedicated “Echo test (TG 9990)” button in the settings for this.

SSTV: sending and receiving pictures

FMNetWeb transfers pictures via SSTV on the two SSTV TGs 26599 and 265990. The “SSTV” tab switches there and pauses the scan; going back to “Radio” returns you to the previous TG. A red dot on the tab shows when someone is currently transmitting on an SSTV TG.

24 analogue modes from the Robot, black-and-white, Martin, Scottie, PD, Pasokon and MP families are supported, i.e. everything that MMSSTV and the network’s dashboard know, plus EasyPal (HamDRM), which transfers a picture as a file in a digital signal. You don’t have to set the mode when receiving: FMNetWeb detects it by itself, and if you tune into a picture that is already in progress, the rest builds up in the right place.

SSTV view on a PC: on the left a received test picture with the callsign DL0ABC builds up line by line, on the right the preview of the picture to send with the mode selection Robot36 and a gallery with two pictures
A picture coming in (left), next to it the preview, mode and gallery.

Received pictures build up line by line and end up in a gallery of the last 20 pictures, from where you can save them as PNG. To send, you choose a picture or take a photo with your phone or PC camera using “Camera”. FMNetWeb crops it to fit and, if you like, overlays your callsign and a short text. After a picture has been received, the transmit mode is automatically set to the same mode, for EasyPal with the other station’s mode and QAM, so you can reply straight away. It only transmits when nobody is talking on the TG. The decoder compensates for slightly different sound card clocks at the other station so that pictures arrive straight.

Settings, APRS and RC-28

The cog in the header opens the settings. Out of the box, TG 262 is the default TG and is monitored, and the favourites are 262 and 20. You can enter up to 28 monitor TGs: the FM-Funknetz allows 30 per station, and FMNetWeb uses two for the SSTV TGs. Below that you enter your buddies. The receive buffer sets the trade-off between stable audio and delay. Under “Station” you enter your position, location, sysop and website; these details appear on the network’s dashboard. FMNetWeb calculates the locator from the coordinates. Under “Experts” you can change the FM-Funknetz servers in case an address ever changes: the MQTT server (the network’s official MQTT for “Active now”, “Last heard” and the eye) and the dashboard for the TG names. Today’s addresses are preset.

APRS is off by default. When enabled, FMNetWeb regularly reports your position to APRS-IS. The APRS callsign defaults to your callsign without suffix plus -10, because app suffixes such as -iOS are not valid SSIDs. The program calculates the passcode itself.

On a PC you can connect an Icom RC-28 as a control unit, in Chrome, Edge, Opera and Vivaldi. The rotary knob steps through the favourite TGs, TRANSMIT transmits, F-1 switches to the selected TG and F-2 toggles the scan. The RC-28 plugs into the PC you are sitting at, not into the Pi. If the browser cannot find it, it often helps to plug it directly into the PC instead of a USB hub.

Updates

FMNetWeb checks with df6ax.de at start-up and then once a day whether a new version is available. Nothing is installed in the process. If an update is available, a dot appears on the cog, and under “About FMNetWeb” you start it with “Install update”. The package is verified by checksum and your settings are kept. If an update fails, the old version keeps running. The first update to version 2 builds SvxLink once; the old version keeps running until then. The current version is 2.0.0.

During the check, FMNetWeb transmits the software version, an anonymous device ID and, unless switched off, the callsign. Sending the callsign can be switched off in the settings.

Frequently asked questions

Where do I get the reflector password?

By opening a ticket at ticket.fm-funknetz.de. In the settings it is called “Reflector password (AUTH_KEY)”; the installer, whose prompts are still in German, asks for the “Reflektor-Passwort (Auth-Key)”.

The login is rejected. Why?

Usually the callsign or password is wrong. Check upper and lower case and enter the callsign with its suffix. If FMNetWeb reports that the callsign is “already logged in”, the callsign is currently in use on another device or hotspot. After disconnecting, it sometimes takes a minute before it is free again.

Can I keep using my hotspot callsign?

Not at the same time. FMNetWeb needs its own callsign with a suffix, for example -App, that is not logged in anywhere else.

The audio stutters. What helps?

Increase the receive buffer in the settings, for example to 300 to 500 ms. The Pi should have good Wi-Fi reception; a LAN cable is better still.

Why does the browser ask for the microphone and warn about the certificate?

Browsers only grant microphone access over https. For this, the Pi issues its own certificate, which the browser doesn’t know. You accept the warning once; the first time you transmit, the browser asks for the microphone.

How do I remove FMNetWeb?

With sudo bash install.sh --uninstall. This removes the service, update check, program, settings and certificates. Installed system packages are kept.

What it comes down to

FMNetWeb turns a Raspberry Pi into a permanent gateway to the FM-Funknetz that you can operate from any device on your home network. All you need on your phone or PC is a browser. Installation consists of two commands and two questions; the callsign needs the most care, as it must be entered exactly as registered with the FM-Funknetz.

FMNetWeb is free software under the GPL-2.0-or-later. The download is at df6ax.de/fmnetweb; the full manual with troubleshooting is available as a web page and as a PDF.