MMDVM Bridge

From WLPS Wiki
Jump to navigation Jump to search

Instalación DV Switch

Asegúrate de tener tu sistema actualizado.

sudo apt update
sudo apt upgrade

Una ves que se haya actualizado, re-inicia tu sistema.

sudo reboot

Agrega la distribución de DVSwitch:

cd /tmp
sudo wget http://dvswitch.org/buster
sudo chmod +x buster
sudo /tmp/buster

Asegúrate que se haya agregado la distribución:

sudo apt update

Busca "deb http://dvswitch.org/DVSwitch_Repository hamradio" en el historial de la pantalla.

Verifica que los programas se puedan instalar:

sudo apt install dvswitch-server --dry-run

¿Surgió algún error?

Instala el servidor DVSwitch:

sudo apt install dvswitch-server -y

¿Algún error? Entonces contacta a soporte técnico.


Configuración DV Switch MMDVM

sudo cp /opt/Analog_Bridge/Analog_Bridge.ini  /opt/Analog_Bridge/Analog_Bridge_3345_DMR.ini
sudo cp /opt/Analog_Bridge/Analog_Bridge.ini  /opt/Analog_Bridge/Analog_Bridge_3345_P25.ini
sudo nano /opt/Analog_Bridge/Analog_Bridge_3345_DMR.ini
sudo nano /opt/Analog_Bridge/Analog_Bridge_3345_P25.ini
sudo cp -r /opt/MMDVM_Bridge/ /opt/MMDVM_Bridge_3345
sudo nano /opt/MMDVM_Bridge_3345/DVSwitch.ini
sudo nano /opt/MMDVM_Bridge_3345/MMDVM_Bridge.ini
sudo cp /opt/P25Gateway/P25Gateway.ini  /opt/P25Gateway/P25Gateway_3345.ini
sudo nano /opt/P25Gateway/P25Gateway_3345.ini
sudo nano /var/lib/mmdvm/P25Hosts.txt
sudo nano /var/lib/mmdvm/private_P25Hosts.txt

Auto Start configuration

  • Para MMDVM_Bridge_3345:
sudo cp /lib/systemd/system/mmdvm_bridge.service /lib/systemd/system/mmdvm_bridge_3345.service
sudo nano /lib/systemd/system/mmdvm_bridge_3345.service

Cambiar las líneas:

WorkingDirectory=/opt/MMDVM_Bridge
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini

a

WorkingDirectory=/opt/MMDVM_Bridge_3345
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge_3345 /opt/MMDVM_Bridge/MMDVM_Bridge.ini
  • Para P25Gateway_3345
sudo cp /lib/systemd/system/p25gateway.service /lib/systemd/system/p25gateway_3345.service
sudo nano /lib/systemd/system/p25gateway_3345.service

Cambiar la línea:

ExecStart=/opt/P25Gateway/P25Gateway /opt/P25Gateway/P25Gateway.ini

a

ExecStart=/opt/P25Gateway/P25Gateway /opt/P25Gateway/P25Gateway_3345.ini
  • Para Analog_Bridge_3345_DMR
sudo cp /lib/systemd/system/analog_bridge.service /lib/systemd/system/analog_bridge_3345_dmr.service
sudo nano /lib/systemd/system/analog_bridge_3345_dmr.service

Cambia la línea:

ExecStart=/opt/Analog_Bridge/Analog_Bridge /opt/Analog_Bridge/Analog_Bridge.ini

a

ExecStart=/opt/Analog_Bridge/Analog_Bridge /opt/Analog_Bridge/Analog_Bridge_3345_dmr.ini
  • Para Analog_Bridge_3345_DMR
sudo cp /lib/systemd/system/analog_bridge.service /lib/systemd/system/analog_bridge_3345_p25.service
sudo nano /lib/systemd/system/analog_bridge_3345_p25.service

Cambia la línea:

ExecStart=/opt/Analog_Bridge/Analog_Bridge /opt/Analog_Bridge/Analog_Bridge.ini

a

ExecStart=/opt/Analog_Bridge/Analog_Bridge /opt/Analog_Bridge/Analog_Bridge_3345_p25.ini

Activar Auto Start

sudo systemctl enable p25gateway_3345
sudo systemctl start p25gateway_3345
sudo systemctl enable mmdvm_bridge_3345
sudo systemctl start mmdvm_bridge_3345
sudo systemctl enable analog_bridge_3345_dmr
sudo systemctl start analog_bridge_3345_dmr
sudo systemctl enable analog_bridge_3345_p25
sudo systemctl start analog_bridge_3345_p25

Reiniciar Bridge

sudo systemctl restart p25gateway_3345
sudo systemctl restart mmdvm_bridge_3345
sudo systemctl restart analog_bridge_3345_p25
sudo systemctl restart analog_bridge_3345_dmr

Desactivar Auto Start

sudo systemctl stop p25gateway_3345
sudo systemctl disable p25gateway_3345
sudo systemctl stop mmdvm_bridge_3345
sudo systemctl disable mmdvm_bridge_3345
sudo systemctl stop analog_bridge_3345_p25
sudo systemctl disable analog_bridge_3345_p25
sudo systemctl stop analog_bridge_3345_dmr
sudo systemctl disable analog_bridge_3345_dmr