Analog_Reflector VPS


Steve N4IRS
 

Peter,
From what I see, you are not going to want to tune or steer either side of the bridge. What I mean is that your bridge will always be connected to TG 31085 and AllStar 45479.
So this is how it lays out:
Right now you have:
AllStar <-> Analog_Bridge
This is how it's going to look:
AllStar <-> Analog_Reflector <-> Analog_Bridge

So,
apt update
apt upgrade
If any updates applied, reboot
Verify all is still working
Stop Analog_Bridge and AllStar
apt install analog-reflector
edit Analog_Bridge.ini (I would back it up first)
[USRP]
txPort = 31001                          ; Transmit USRP to Analog_Reflector
rxPort = 31001                          ; Listen for USRP frames from Analog_Reflector

cd /opt/Analog_Reflector
edit Analog_Reflector.json (I would back it up first)
{
  "nodeName":"DVSwitch",
  "dmrID":"1234567",
  "abAddress": "127.0.0.1",
  "usrpTxPort": "31001",
  "usrpRxPort": "31001",
  "mobilePort": "12345",
  "wsPort": "443",
  "keyDir": "./ssl/",
  "siteroot": "./arRoot",
  "logFileName": "/var/log/dvswitch/Analog_Reflector.log",
  "logLevel": "2",
  "disallowUnknownClients": false,
  "brokerURL": "mqtt://localhost:1883",
  "rightsMask": "4",
  "autoMute": true,
  "clientDebugMode": false,
  "clientModes": ["Intercom", "DMR", "STFU", "DSTAR|D-Star", "NXDN", "P25", "YSF", "ASL|AllStar"],
  "bridges": {
    "asl": [
      {"node" : "1999", "address" : "127.0.0.1", "rxPort" : "34001", "txPort" : "32001", "rights" : 3, "amiUserName" : "admin", "amiSecret" : "llcgi"}
    ],
    "ab" : [
      {"name" : "DMR",    "address" : "127.0.0.1", "rxPort" : "51100", "txPort" : "51103", "rights" : 1},
      {"name" : "D-Star", "address" : "127.0.0.1", "rxPort" : "52100", "txPort" : "52103", "rights" : 1},
      {"name" : "NXDN",   "address" : "127.0.0.1", "rxPort" : "53100", "txPort" : "53103", "rights" : 1},
      {"name" : "P25",    "address" : "127.0.0.1", "rxPort" : "54100", "txPort" : "54103", "rights" : 1},
      {"name" : "YSF",    "address" : "127.0.0.1", "rxPort" : "55100", "txPort" : "55103", "rights" : 1}
    ]
  }
}

I have bolded the things you want to edit You should not have to edit anything else.
You should know the values you want to replace Node number, DMR ID etc.
Change "autoMute": true, to "autoMute": false,

There are minimum changes you need to make. Once you have things working, you can tweak this to better reflect you system.

cd /opt/Analog_Reflector
./Analog_Reflector user YourCallSign YourDMRID YourDMRID+SSID YourSecretPassword 11
Mine would look like this:
./Analog_Reflector user N4IRS 3112138 311213899 BigSecret 11

cd /opt/Analog_Reflector/ssl
./mkcerts.sh

If you have any errors along the way, stop and ask.
cd /opt/Analog_Reflector
./Analog_Reflector -f Analog_Reflector.json

See any bad words? errors? OK, good.
Control C
systemctl start analog_reflector
You should now be able to point a web browser at https://InternetVail.Dyndns.org
Login with your callsign and password.


Steve N4IRS
   

On 3/18/2021 9:51 AM, Peter Buckley via groups.io wrote:
Yes, Steve - trying to add Analog_Reflector to working Allstar 45479 <----> DMR Gateway  BM/TG 31085

Browser page for Gateway Here:     http://InternetVail.Dyndns.org:8888

-pete


Peter Buckley
 

Yes, Steve - trying to add Analog_Reflector to working Allstar 45479 <----> DMR Gateway  BM/TG 31085

Browser page for Gateway Here:     http://InternetVail.Dyndns.org:8888

-pete


Steve N4IRS
 

Peter,
Are you trying to add Analog_Reflector to your existing AllStar to DMR bridge or building a new bridge?

Steve N4IRS

On 3/17/2021 10:31 AM, Peter Buckley via groups.io wrote:
On Tue, Mar 16, 2021 at 08:57 AM, Steve N4IRS wrote:
edit Analog_Reflector.json to configure the reflector
Port Question:  Analog_Reflector.json
(I have a working Allstar to DMR Gateway)  AM trying to configure the Analog_Reflector now...
I pulled my usrpTxPort and usrpRxPort (below)  from my working Analog Bridge settings.
(always confused about ports - if they need to be reversed).  Is below OK?
what should the "mobile port" be?
Thanks!
N0ECT

{
  "nodeName":"DVSwitch",
  "dmrID":"1108299",
  "abAddress": "127.0.0.1",
  "usrpTxPort": "32001", 
  "usrpRxPort": "34001",
  "mobilePort": "12346",
  "wsPort": "443",
  "keyDir": "./ssl/",
  "siteroot": "./arRoot",
  "logFileName": "/var/log/dvswitch/Analog_Reflector.log",
  "logLevel": "2",
  "disallowUnknownClients": false,
  "brokerURL": "mqtt://localhost:1883",
  "rightsMask": "4",
  "autoMute": true,
  "clientModes": ["DMR", "STFU", "DSTAR|D-Star", "NXDN", "P25", "YSF", "ASL|AllStar", "Intercom"],
  "bridges": {
    "asl": [
      {"node" : "1999", "address" : "127.0.0.1", "rxPort" : "34001", "txPort" : "32001", "rights" : 3, "amiUserName" : "admin", "amiSecret" : "llcgi"}
    ],
    "ab" : [
      {"name" : "DMR",    "address" : "127.0.0.1", "rxPort" : "51100", "txPort" : "51103", "rights" : 1},
      {"name" : "D-Star", "address" : "127.0.0.1", "rxPort" : "52100", "txPort" : "52103", "rights" : 1},
      {"name" : "NXDN",   "address" : "127.0.0.1", "rxPort" : "53100", "txPort" : "53103", "rights" : 1},
      {"name" : "P25",    "address" : "127.0.0.1", "rxPort" : "54100", "txPort" : "54103", "rights" : 1},
      {"name" : "YSF",    "address" : "127.0.0.1", "rxPort" : "55100", "txPort" : "55103", "rights" : 1}
    ]
  }
}
 


Peter Buckley
 

On Tue, Mar 16, 2021 at 08:57 AM, Steve N4IRS wrote:
edit Analog_Reflector.json to configure the reflector
Port Question:  Analog_Reflector.json
(I have a working Allstar to DMR Gateway)  AM trying to configure the Analog_Reflector now...
I pulled my usrpTxPort and usrpRxPort (below)  from my working Analog Bridge settings.
(always confused about ports - if they need to be reversed).  Is below OK?
what should the "mobile port" be?
Thanks!
N0ECT

{
  "nodeName":"DVSwitch",
  "dmrID":"1108299",
  "abAddress": "127.0.0.1",
  "usrpTxPort": "32001", 
  "usrpRxPort": "34001",
  "mobilePort": "12346",
  "wsPort": "443",
  "keyDir": "./ssl/",
  "siteroot": "./arRoot",
  "logFileName": "/var/log/dvswitch/Analog_Reflector.log",
  "logLevel": "2",
  "disallowUnknownClients": false,
  "brokerURL": "mqtt://localhost:1883",
  "rightsMask": "4",
  "autoMute": true,
  "clientModes": ["DMR", "STFU", "DSTAR|D-Star", "NXDN", "P25", "YSF", "ASL|AllStar", "Intercom"],
  "bridges": {
    "asl": [
      {"node" : "1999", "address" : "127.0.0.1", "rxPort" : "34001", "txPort" : "32001", "rights" : 3, "amiUserName" : "admin", "amiSecret" : "llcgi"}
    ],
    "ab" : [
      {"name" : "DMR",    "address" : "127.0.0.1", "rxPort" : "51100", "txPort" : "51103", "rights" : 1},
      {"name" : "D-Star", "address" : "127.0.0.1", "rxPort" : "52100", "txPort" : "52103", "rights" : 1},
      {"name" : "NXDN",   "address" : "127.0.0.1", "rxPort" : "53100", "txPort" : "53103", "rights" : 1},
      {"name" : "P25",    "address" : "127.0.0.1", "rxPort" : "54100", "txPort" : "54103", "rights" : 1},
      {"name" : "YSF",    "address" : "127.0.0.1", "rxPort" : "55100", "txPort" : "55103", "rights" : 1}
    ]
  }
}
 


Bruno
 

very good, thanks for all the information. Good continuation in your development.

Bruno


Steve N4IRS
 

As root:

apt update
apt upgrade
if any updates applied, reboot
wget http://dvswitch.org/buster
chmod +x buster
./buster
apt install dvswitch-server
apt-install analog-reflector
logout
login
run dvs to configure DVSwitch Server
edit Analog_Reflector.json to configure the reflector

Steve N4IRS

On 3/16/2021 11:48 AM, Bruno wrote:
ok
I have to install the DVSWitch Server and Analog_Bridge on the VPS ?  
The HTML client is a github delivery or is it part of a package?

Well done for the dev work the whole team is doing.

Bye


Bruno
 

ok
I have to install the DVSWitch Server and Analog_Bridge on the VPS ?  
The HTML client is a github delivery or is it part of a package?

Well done for the dev work the whole team is doing.

Bye


Steve N4IRS
 

Yes, works fine.

On 3/16/2021 11:36 AM, Bruno wrote:
Hi

Can we install an Analog_Reflector on a VPS and have the HTML client.

73's
--
F1PTL Bruno


Bruno
 

Hi

Can we install an Analog_Reflector on a VPS and have the HTML client.

73's
--
F1PTL Bruno