Current Version 1.1
Tested on:
- Debian 13 (Trixie), x86_64
- Minimal Debian installation (console only)
- Debian VM on Proxmox
OpenFM is a dashboard and control environment for SVXLink by SM0SVX and supports the FM-Funknetz by DJ1JAY.
It provides a clean, OpenDVM-compatible interface and was originally developed for the DB0SL repeater, but it can be configured for any station.
- Dashboard interface for SVXLink
- FM-Funknetz support
- OpenDVM-compatible UI style
- Talkgroup filter
- Detailed statistics
- Setup menu with password protection for essential configuration
- MariaDB based activity database
- Automatic startup of SVXLink and FMparser using systemd
🔗 Live Installation: fm.db0sl.de
Version 1.0 is approved for operation at DB0SL and should run reliably on other repeaters as well.
Depending on the radio and sound interface being used, adjustments to
/etc/svxlink/svxlink.conf will normally be necessary.
OpenFM does not install SVXLink itself.
SVXLink must already be installed before running:
sudo ./install.sh
For OpenFM, SVXLink is built directly from the official upstream source
instead of using the Debian svxlink-server package.
The installation described below has been tested with:
SVXLink [email protected]
SVXLink release 26.05.1 contains important security fixes and is the version currently recommended and tested for OpenFM.
Do not build an arbitrary development version from the master branch
for a production repeater.
The following instructions assume a fresh Debian 13 (Trixie) x86_64 installation.
Update the system first:
sudo apt update sudo apt full-upgrade -y
If a kernel or other important system component was updated, reboot:
sudo reboot
SVXLink and OpenFM use the local user:
svxlink
Check whether the user already exists:
id svxlink
If it does not exist, create it:
sudo adduser svxlink
Add the user to the groups required for audio devices and serial interfaces:
sudo usermod -aG audio,dialout svxlink
If USB devices requiring the plugdev group are used and the group
exists:
getent group plugdev
then add it as well:
sudo usermod -aG plugdev svxlink
Group changes take effect after a new login or reboot.
Install the compiler, CMake and the libraries required to build SVXLink:
sudo apt install -y \
git \
build-essential \
cmake \
groff \
doxygen \
graphviz \
gzip \
libsigc++-2.0-dev \
libgsm1-dev \
libpopt-dev \
tcl-dev \
libgcrypt20-dev \
libspeex-dev \
libasound2-dev \
alsa-utils \
libjsoncpp-dev \
libopus-dev \
libssl-devThe following packages are recommended for the hardware and additional SVXLink functions commonly used with OpenFM:
sudo apt install -y \
gpiod \
libgpiod-dev \
i2c-tools \
libi2c-dev \
librtlsdr-dev \
rtl-sdr \
libogg-dev \
vorbis-tools \
curl \
libcurl4-openssl-dev \
python3-serialCreate a directory for locally built software:
mkdir -p ~/src cd ~/src
Clone the official SVXLink repository and explicitly select release
26.05.1:
git clone \
--branch 26.05.1 \
--depth 1 \
https://github.com/sm0svx/svxlink.git \
svxlink-26.05.1Enter the repository:
cd ~/src/svxlink-26.05.1
Verify the checked-out version:
git status git describe --tags --always
The version should be:
26.05.1
Do not continue if another version is shown.
Enter the source directory:
cd ~/src/svxlink-26.05.1/src
Create a separate build directory:
mkdir build
cd buildConfigure SVXLink with the paths used by OpenFM:
cmake \
-DUSE_QT=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONF_INSTALL_DIR=/etc \
-DLOCAL_STATE_DIR=/var \
-DWITH_SYSTEMD=ON \
..These options result in the following important locations:
SVXLink binary: /usr/bin/svxlink
Configuration: /etc/svxlink
Event scripts: /usr/share/svxlink/events.d
Libraries: /usr/lib/...
Runtime/state files: /var/...
USE_QT=OFF disables Qt based applications which are not required for
an OpenFM repeater.
Compile SVXLink:
make -j"$(nproc)"This step does not require root privileges.
The build must complete without errors before continuing.
Install the compiled files:
sudo make install sudo ldconfig
Check the binary:
which svxlink
The expected path is:
/usr/bin/svxlink
Check the installed version:
svxlink --version
The expected output is:
Check the main files and directories:
ls -l /usr/bin/svxlink ls -ld /etc/svxlink ls -ld /usr/share/svxlink
Create the SVXLink log directory if it does not already exist:
sudo install -d \
-o svxlink \
-g svxlink \
-m 755 \
/var/log/svxlinkBecause SVXLink was installed from source, it is normal that Debian's
package manager does not know about /usr/bin/svxlink.
For example:
dpkg -S /usr/bin/svxlink
may return:
dpkg-query: no path found matching pattern /usr/bin/svxlink
This is expected.
The authoritative version check is:
svxlink --version
Before OpenFM is installed, SVXLink must have a valid configuration:
/etc/svxlink/svxlink.conf
The configuration depends on the actual repeater hardware.
Typical station-specific settings include:
- Callsign
- RX audio device
- TX audio device
- Squelch configuration
- PTT configuration
- Audio levels
- DTMF configuration
- Reflector configuration
- FM-Funknetz authentication
OpenFM contains the configuration used at DB0SL under the DR1X
directory. It can be used as a reference, but station-specific values
must be changed.
In particular, never reuse another station's reflector authentication key.
For FM-Funknetz operation the reflector configuration currently uses:
TYPE=ReflectorV2 DNS_DOMAIN=reflector-network.eu
A valid AUTH_KEY must be obtained for the individual station.
The callsign in the OpenFM web GUI continues to supply CALLSIGN in
[SimplexLogic] and [RepeaterLogic]. Configure the FM-Funknetz login
separately as CALLSIGN under [ReflectorLogic] in
/etc/svxlink/svxlink.conf, for example CALLSIGN="DB0SL-REL".
OpenFM preserves this entry and the associated AUTH_KEY. After a manual
change, restart SvxLink with sudo systemctl restart svxlink.service.
The configuration file should exist before running the OpenFM installer:
ls -l /etc/svxlink/svxlink.conf
The SVXLink program itself does not contain all voice announcements.
Sound packages can be installed separately according to the language used by the repeater.
The official sound packages are available from the SVXLink project:
https://github.com/sm0svx/svxlink-sounds-en_US-heather/releases
The selected sound directory must match the language configuration in
svxlink.conf.
Sound files are not required to compile OpenFM, but they are required for voice announcements used by SVXLink modules and repeater logic.
SVXLink is now installed and OpenFM can be downloaded.
Change to the desired directory, for example the home directory:
cd ~
Clone OpenFM:
git clone https://github.com/dj0abr/OpenFM.git
Enter the project directory:
cd OpenFMMake sure the installer is executable:
chmod +x install.sh
Run the installer:
sudo ./install.sh
The installer checks that:
- the user
svxlinkexists /usr/bin/svxlinkexists/etc/svxlinkexists/etc/svxlink/svxlink.confexists
It then installs and configures the OpenFM components, including:
- Apache
- PHP
- MariaDB
- OpenFM web interface
- FMparser
- MariaDB database
mmdvmdb - systemd service for SVXLink
- systemd service for FMparser
- required sudo permissions for OpenFM
The installer does not compile or update SVXLink.
After the installation has completed, reboot the machine:
sudo reboot
Check the installed SVXLink version:
svxlink --version
Expected:
Check the SVXLink service:
sudo systemctl status svxlink --no-pager
It should show:
Active: active (running)
Check FMparser:
sudo systemctl status fmparser --no-pager
It should also show:
Active: active (running)
OpenFM starts SVXLink with its own logfile:
/var/log/svxlink/svxlink.log
Display the last messages:
sudo tail -n 100 /var/log/svxlink/svxlink.log
Follow the logfile live:
sudo tail -f /var/log/svxlink/svxlink.log
For FM-Funknetz operation, successful startup should include messages similar to:
Starting logic: RepeaterLogic
Starting logic: ReflectorLogic
ReflectorLogic: Connecting to service _svxreflector._tcp.reflector-network.eu
ReflectorLogic: Connection established
ReflectorLogic: Authentication OK
NOTICE: Initialization done. Starting main application.
After installation, test the complete repeater before putting it into normal operation.
At minimum verify:
- RX squelch operation
- RX audio
- PTT
- TX audio
- DTMF decoding
- Parrot module
- Repeater identification
- Reflector connection
- FM-Funknetz talkgroup switching
- Audio from the reflector
- Audio to the reflector
Also test a controlled restart:
sudo systemctl restart svxlink
and check:
sudo systemctl status svxlink --no-pager
After the reboot, the setup password can be configured.
The initial password is:
setuppassword
Change it using:
sudo ./set-setup-password.sh
This password is required to save settings on the OpenFM setup page.
The OpenFM web interface displays the live operational data of the repeater.
Open the IP address or hostname of the OpenFM machine in a browser on the local network.
For example:
http://192.168.x.x/
- Top tile showing the local connection status to the FM-Funknetz
- Live status: mode, callsign, duration and talkgroup
- Colored status tiles and country flags
- "Last Heard" list with callsign, timestamp, duration and TG names
- Activity chart with 48-hour RF / NET separation
- Bar statistics
- 30-day heatmap
- Responsive dark UI
- Setup menu
- Uses Chart.js as the only external frontend library
FMparser follows /var/log/svxlink/svxlink.log and publishes the status via
mmdvmdb.fmconnection and api.php?q=fmconnection. The database table is
created automatically at startup. The top tile polls about once per second:
- Amber: connecting, authenticating or waiting for server admission
- Green: connected, confirmed by the server's
Connected nodes:message - Red: server ban, access denied, heartbeat timeout or disconnected
- Gray: unknown status, unreadable log or stale backend data
Authentication OK alone does not turn the status green: the server may still
reject the connection afterwards. A generic subsequent disconnect preserves
the specific error. A new connection attempt retains the previous error as
brief context. Any displayed ban duration is the original value reported by
the server, not a countdown.
The monitor handles log rotation and checks whether SvxLink is running.
Data becomes stale after more than 15 seconds without a backend update.
The svxlink service user must be able to read the log file.
At startup, the monitor searches backwards from the end of the file for the
latest connection status instead of replaying a multi-year log first. If the
relevant event is older, the tile shows search progress while new live events
are still processed. Journal diagnostics use the [ReflectorStatus] prefix:
sudo journalctl -u fmparser.service -g ReflectorStatus -n 50 --no-pager
For an existing installation, rebuild FMparser from the updated gui/parser
directory (sudo make), copy gui/html/index.html and gui/html/api.php to
/var/www/html/, then run sudo systemctl restart fmparser.service and reload
the browser page. Run make test in the parser directory to check the log
monitor without a running SvxLink service or database.
The installer configures /etc/logrotate.d/svxlink: daily rotation,
maxsize 20M, five archives, and gzip compression for older archives. The
newest archive remains uncompressed until the next rotation. The size threshold
is checked when logrotate runs; it is not a hard size limit. SvxLink reopens
the log on SIGHUP without restarting
(SvxLink signal handler).
For an existing installation, run from the updated project directory:
sudo bash ./configure-logrotate.sh --trim
This installs the policy and reduces an oversized log to complete recent lines
from at most the last 20 MiB. Older messages are discarded without creating a
multi-GiB archive. A running SvxLink service is briefly stopped for this one-off
reduction and restarted afterwards. Omit --trim to install the policy only.
Check the policy and schedule:
sudo logrotate --debug /etc/logrotate.conf systemctl list-timers logrotate.timer
- Vanilla JavaScript
- CSS Grid
- PHP
- MariaDB
- C++ FMparser
- 1-second live updates via AJAX
- Apache web server
SVXLink 26.05 and newer provide an override mechanism for local Tcl modifications.
Do not directly modify the original files under:
/usr/share/svxlink/events.d/
Local modifications should instead be stored under:
/usr/share/svxlink/events.d/local/
This prevents local changes from being overwritten when a newer SVXLink version is installed.
For example:
/usr/share/svxlink/events.d/local/Logic.tcl
/usr/share/svxlink/events.d/local/RepeaterLogicType.tcl
Only the variables or event handlers that actually need to be modified should be overridden.
Do not copy complete Tcl files from an older SVXLink version over newer versions.
SVXLink is installed from source and is therefore not managed by APT.
Running:
sudo apt update sudo apt upgrade
does not update the manually installed SVXLink version.
Check the currently installed version with:
svxlink --version
Before updating SVXLink, create a backup of at least:
/etc/svxlink
/usr/share/svxlink/events.d/local
For example:
sudo tar czf /root/svxlink-backup-$(date +%F).tgz \
/etc/svxlink \
/usr/share/svxlink/events.d/localIf OpenFM is running inside a virtual machine, creating a VM snapshot before an SVXLink update is strongly recommended.
For an update, download and build a specific tested SVXLink release in the same way as described above.
Do not blindly update a production repeater to the current master
branch.
After installing a new release, always check:
svxlink --version sudo systemctl restart svxlink sudo systemctl status svxlink --no-pager sudo tail -n 100 /var/log/svxlink/svxlink.log
Then perform the complete functional repeater test again.
Check:
sudo systemctl status svxlink --no-pager
and:
sudo tail -n 200 /var/log/svxlink/svxlink.log
Check:
sudo systemctl status fmparser --no-pager
and:
sudo journalctl -u fmparser -n 100 --no-pager
Check the reflector configuration in:
/etc/svxlink/svxlink.conf
and verify:
TYPE=ReflectorV2 DNS_DOMAIN=reflector-network.eu
Also verify that the station-specific AUTH_KEY is valid.
Then check:
grep -iE 'Reflector|Authentication|Connection' \ /var/log/svxlink/svxlink.log | tail -n 100
Use:
grep -i '/events.d/local/' \ /var/log/svxlink/svxlink.log | tail -n 50
Loaded overrides should appear in the SVXLink startup log.
OpenFM and SVXLink are network-connected services and should be kept up to date.
SVXLink should run under the unprivileged user:
svxlink
Do not run the SVXLink service as root.
Do not publish station-specific credentials such as the FM-Funknetz
AUTH_KEY.
Configuration backups containing authentication data should also be treated as confidential.
OpenFM only grants the svxlink user the specific sudo permissions
required by the web interface.
This project is licensed under the same terms as SVXLink.
Refer to the LICENSE file for details.