Skip to content

A script to install multiple reflectors for ham radio digital voice.

Notifications You must be signed in to change notification settings

n5amd/Multi-Reflector-Installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 

Repository files navigation

This repo is outdated as of January 2020.

At the start of 2020 a new version of XLX was released that allows for native C4FM connections. This means it's even simpler to run a multi-mode reflector. XLX now natively supports DMR, D-Star, and C4FM. C4FM and DMR do not require any transcoding hardware (AMBE) to work together. If you plan on using D-Star with any of the other modes, you will need hardware AMBE chips.

If your goal is to build a system that supports D-Star, YSF, and DMR, then please see: https://github.com/n5amd/xlxd-debian-installer

NOTE FOR BELOW: If you plan on using the scripts below anyway it will still work. Please take note that by using the latest version of XLX and YSFReflector, you will need to alter the default network ports as both applications use UDP 42000.

Multi-Reflector-Installer (Proof of Concept)

The script is very much currently a proof of concept and gets you about 90% of the way to have everything fully installed and configured. The concept is, This will build you a 3 mode ham radio digital voice reflector server that will transcode Yaesu Fusion, DMR, and D-Star with the help of AMBED and AMBE vocoder chips. I did not build each application. This script simply goes through the install steps for each application for you and configures apache for the dashboards. Features and abilities coming... If you are looking to only build an XLX reflector, possibly with transcoding, then look at my other project: https://github.com/n5amd/xlxd-debian-installer, this multi-reflector might be overkill for your needs.

This script will install the following:

  • XLXD (D-Star/DMR Reflector that also communicates with AMBED)
  • YSFReflector (HomeBrew Fusion Reflector)
  • YSF2DMR (The bridge software between YSF and XLX)
  • YSF and XLX Dashboards (Web pages that shows real-time activity)
  • Apache2 and configure the virtualhosts for both dashboards

But not

  • AMBED (along with the required AMBE chips)
  • AMBED can be installed locally or on a remote server, but is required for the transcoding part.

You will need the following information to get started:

  • Ready to go and updated fresh install of Debian 9.x
  • FQDN for ysf and xlx web dashboards
  • XLX number that isnt taken (or pick a random one for testing)

The script does not yet edit all the config files in order to complete the installation:

App Config file(s)
XLXD /etc/init.d/xlxd, /var/www/xlxd/pgs/config.inc.php
YSF /ysfreflector/YSFReflector.ini
YSF2DMR /ysf2dmr/YSF2DMR.ini

Using the Multi-Reflector-Installer script:

git clone https://github.com/n5amd/Multi-Reflector-Installer.git
cd Multi-Reflector-Installer
./Multi-Reflector-Installer.sh

To manage each service after installation:

XLXD

systemctl start|stop|status|restart xlxd
  • Installs to /xlxd
  • Logs are in /var/log/messages
  • Be sure to restart xlxd after each config change

YSFReflector

systemctl start|stop|status|restart ysfreflector
  • Installs to /ysfreflector
  • Logs are in /var/log/YSFReflector

YSF2DMR

I havent been able to make a working Systemd unit file for this yet. So this app will simply have to run in screen.

screen -S ysf2dmr
cd /ysf2dmr
./YSF2DMR YSF2DMR.ini

To exit the screen session and leave ysf2dmr running:

ctrl-a, then press d

To return to the screen session:

screen -r ysf2dmr

Linking to AMBED for transcoding:

  1. Install AMBED: https://github.com/n5amd/ambed-debian-installer
  2. Edit the /etc/init.d file for xlxd.
nano or vi /etc/init.d/xlxd

Edit the ARGUMENTS line:

ARGUMENTS="XLX### <YOUR IP> <IP OF AMBED>" #Use 127.0.0.1 if ambed is on the same computer as XLXD
EX: ARGUMENTS="XLX111 192.168.0.2 127.0.0.1"

Then update systemd to read the updated init file and restart xlxd:

systemctl daemon-reload
systemctl restart xlxd

For more information, please visit:

https://n5amd.com/digital-radio-how-tos/build-digital-voice-transcoding-server/

About

A script to install multiple reflectors for ham radio digital voice.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published