Multi-Reflector-Installer/README.md

94 lines
3.3 KiB
Markdown
Raw Normal View History

2018-11-23 07:33:49 +01:00
# Multi-Reflector-Installer (Proof of Concept)
2018-11-26 07:21:12 +01:00
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...
2018-11-23 07:33:49 +01:00
#### This script will install the following:
2018-11-26 07:21:12 +01:00
- `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)*
2018-11-23 07:33:49 +01:00
- Apache2 and configure the virtualhosts for both dashboards
2018-11-23 07:39:19 +01:00
2018-11-23 07:33:49 +01:00
**But not**
2018-11-26 07:21:12 +01:00
- `AMBED` (along with the required AMBE chips)
2018-11-23 07:43:45 +01:00
- *AMBED can be installed locally or on a remote server, but is required for the transcoding part.*
2018-11-23 07:33:49 +01:00
#### You will need the following information to get started:
- Ready to go **and updated** fresh install of Debian 9.x
2018-11-26 07:21:12 +01:00
- FQDN for ysf and xlx web dashboards
2018-11-23 07:33:49 +01:00
- XLX number that isnt taken (or pick a random one for testing)
2018-11-26 07:21:12 +01:00
#### 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:
```sh
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**
```sh
systemctl start|stop|status|restart xlxd
```
- Installs to /xlxd
- Logs are in /var/log/messages
- Be sure to restart xlxd after each config change
2018-11-23 07:33:49 +01:00
2018-11-26 07:21:12 +01:00
**YSFReflector**
```sh
2018-11-26 07:23:39 +01:00
systemctl start|stop|status|restart ysfreflector
2018-11-26 07:21:12 +01:00
```
- Installs to /ysfreflector
- Logs are in /var/log/YSFReflector
2018-11-23 07:33:49 +01:00
2018-11-26 07:21:12 +01:00
**YSF2DMR**
```sh
Screen -S ysf2dmr
cd /ysf2dmr
./YSF2DMR YSF2DMR.ini
```
To exit the screen session to leave the program running:
```sh
ctrl-a, then press d
```
2018-12-04 06:39:22 +01:00
### Linking to AMBED for transcoding:
Once you have AMBED installed and its up and running, simply edit the /etc/init.d file.
```sh
nano or vi /etc/init.d/xlxd
```
Edit the ARGUMENTS line
```sh
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 reload rc.d
```sh
update-rc.d xlxd defaults
```
--------------------
2018-11-26 07:21:12 +01:00
2018-11-25 20:03:03 +01:00
#### To give you a visual idea of what the end result would look like, here are 2 scenarios..
## Scenario A :
2018-12-04 06:39:22 +01:00
Cloud Server installation allowing for worldwide connectivity like a typical reflector. Here is XLX410 as an example..
2018-11-23 07:33:49 +01:00
![Reflector setup](https://sadigitalradio.com/wp-content/uploads/2018/11/Local-XLX-Network.jpg)
2018-11-25 20:03:03 +01:00
## Scenario B :
2018-11-25 20:08:41 +01:00
A single tower site installation allowing local communication across 3 different digital modes…
2018-11-25 20:03:03 +01:00
![Single Site](https://sadigitalradio.com/wp-content/uploads/2018/11/Single-repeater-site.png)
2018-11-23 07:33:49 +01:00
### For more information, please visit:
2018-11-23 07:40:17 +01:00
https://sadigitalradio.com/digital-radio-how-tos/build-digital-voice-transcoding-server/