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

Agregar una línea con el Talk Group, la URL o IP del Reflector y el Puerto del Reflector, todo esto separado por tabuladores (no usar espacios).

3345    p25.link        41009

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
  • Para MD380-emu
sudo nano /lib/systemd/system/md380-emu.service


Desactivar Auto Start pre-configurado

sudo systemctl stop p25gateway
sudo systemctl disable p25gateway
sudo systemctl stop mmdvm_bridge
sudo systemctl disable mmdvm_bridge
sudo systemctl stop analog_bridge
sudo systemctl disable analog_bridge


Activar Auto Start

sudo systemctl enable md380-emu
sudo systemctl start md380-emu
sudo systemctl enable p25gateway_3345
sudo systemctl start p25gateway_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
sudo systemctl enable mmdvm_bridge_3345
sudo systemctl start mmdvm_bridge_3345

Reiniciar Bridge

sudo systemctl restart md380-emu
sudo systemctl restart p25gateway_3345
sudo systemctl restart analog_bridge_3345_p25
sudo systemctl restart analog_bridge_3345_dmr
sudo systemctl restart mmdvm_bridge_3345

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
sudo systemctl stop md380-emu
sudo systemctl disable md380-emu