MMDVM Bridge: Difference between revisions
mNo edit summary |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="clear:both; position:relative; box-sizing:border-box; width:100%; margin:1.2em 0 6px; min-width: | <div style="clear:both; position:relative; box-sizing:border-box; width:100%; margin:1.2em 0 6px; min-width:40em; border:3px solid #FF0000;background-color:#ffffff; color:#000000; white-space:nowrap;text-align:center; font-size: 18px; ">'''Esta es una guía para configurar un Bridge entre DMR y P25, el TG que se utiliza''' | ||
;'''como ejemplo es el | ;'''como ejemplo es el 334. Por favor no copies y pegues ciegamente,''' | ||
;'''debes cambiar los valores a los de tu TG, IDs, etc.''' | ;'''debes cambiar los valores a los de tu TG, IDs, etc.''' | ||
</div> | </div> | ||
Line 8: | Line 8: | ||
Este es un Work in progress... | Este es un Work in progress... | ||
= Instalación | = Instalación MMDVM Bridge = | ||
Asegúrate de tener tu sistema actualizado. | Asegúrate de tener tu sistema actualizado. | ||
Line 61: | Line 61: | ||
<pre> | <pre> | ||
sudo cp -r /opt/MMDVM_Bridge/ /opt/ | sudo cp -r /opt/MMDVM_Bridge/ /opt/MMDVM_Bridge_334 | ||
sudo nano /opt/ | sudo nano /opt/MMDVM_Bridge_334/DVSwitch.ini | ||
sudo nano /opt/ | sudo nano /opt/MMDVM_Bridge_334/MMDVM_Bridge.ini | ||
</pre> | </pre> | ||
Line 69: | Line 69: | ||
<pre> | <pre> | ||
sudo cp /opt/Analog_Bridge/Analog_Bridge.ini /opt/Analog_Bridge/ | sudo cp /opt/Analog_Bridge/Analog_Bridge.ini /opt/Analog_Bridge/Analog_Bridge_334_dmr.ini | ||
sudo nano /opt/Analog_Bridge/ | sudo nano /opt/Analog_Bridge/Analog_Bridge_334_dmr.ini | ||
</pre> | </pre> | ||
Line 76: | Line 76: | ||
<pre> | <pre> | ||
sudo cp /opt/Analog_Bridge/Analog_Bridge.ini /opt/Analog_Bridge/ | sudo cp /opt/Analog_Bridge/Analog_Bridge.ini /opt/Analog_Bridge/Analog_Bridge_334_p25.ini | ||
sudo nano /opt/Analog_Bridge/ | sudo nano /opt/Analog_Bridge/Analog_Bridge_334_p25.ini | ||
</pre> | |||
<pre> | |||
usrpAudio = AUDIO_UNITY ; Digital -> Analog (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_USE_AGC) | |||
usrpGain = 1.0 ; Gain factor when usrpAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY) | |||
usrpAGC = -20,10,100 ; Set the agc threshold (db), slope (db) and decay (ms) | |||
dmrAudio = AUDIO_UNITY ; Audio from ASL (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF) | |||
dmrGain = 0.35 ; Gain factor of audio from ASL (0.0-1.0) | |||
tlvAudio = AUDIO_UNITY ; Analog -> Digital (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF) | |||
tlvGain = 1.0 ; Gain factor when tlvAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY) | |||
agcGain = 0.0 ; Gain (in db) of the AGC filter | |||
</pre> | </pre> | ||
Line 83: | Line 94: | ||
<pre> | <pre> | ||
sudo cp /opt/P25Gateway/P25Gateway.ini /opt/P25Gateway/ | sudo cp /opt/P25Gateway/P25Gateway.ini /opt/P25Gateway/P25Gateway_334.ini | ||
sudo nano /opt/P25Gateway/ | sudo nano /opt/P25Gateway/P25Gateway_334.ini | ||
</pre> | </pre> | ||
Line 102: | Line 113: | ||
<pre> | <pre> | ||
334 p25.link 41009 | |||
</pre> | </pre> | ||
= Auto Start configuration = | = Auto Start configuration = | ||
* Para | * Para MMDVM_Bridge_334: | ||
<pre> | <pre> | ||
sudo cp /lib/systemd/system/mmdvm_bridge.service /lib/systemd/system/ | sudo cp /lib/systemd/system/mmdvm_bridge.service /lib/systemd/system/mmdvm_bridge_334.service | ||
sudo nano /lib/systemd/system/ | sudo nano /lib/systemd/system/mmdvm_bridge_334.service | ||
</pre> | </pre> | ||
Line 117: | Line 128: | ||
<pre> | <pre> | ||
WorkingDirectory=/opt/ | WorkingDirectory=/opt/MMDVM_Bridge_334 | ||
ExecStart=/opt/ | ExecStart=/opt/MMDVM_Bridge_334/MMDVM_Bridge /opt/MMDVM_Bridge_334/MMDVM_Bridge.ini | ||
</pre> | </pre> | ||
* Para | * Para P25Gateway_334 | ||
<pre> | <pre> | ||
sudo cp /lib/systemd/system/p25gateway.service /lib/systemd/system/ | sudo cp /lib/systemd/system/p25gateway.service /lib/systemd/system/p25gateway_334.service | ||
sudo nano /lib/systemd/system/ | sudo nano /lib/systemd/system/p25gateway_334.service | ||
</pre> | </pre> | ||
Line 131: | Line 142: | ||
<pre> | <pre> | ||
ExecStart=/opt/P25Gateway/P25Gateway /opt/P25Gateway/ | ExecStart=/opt/P25Gateway/P25Gateway /opt/P25Gateway/P25Gateway_334.ini | ||
</pre> | </pre> | ||
* Para | * Para Analog_Bridge_334_DMR | ||
<pre> | <pre> | ||
sudo cp /lib/systemd/system/analog_bridge.service /lib/systemd/system/ | sudo cp /lib/systemd/system/analog_bridge.service /lib/systemd/system/analog_bridge_334_dmr.service | ||
sudo nano /lib/systemd/system/ | sudo nano /lib/systemd/system/analog_bridge_334_dmr.service | ||
</pre> | </pre> | ||
Line 144: | Line 155: | ||
<pre> | <pre> | ||
ExecStart=/opt/Analog_Bridge/Analog_Bridge /opt/Analog_Bridge/ | ExecStart=/opt/Analog_Bridge/Analog_Bridge /opt/Analog_Bridge/Analog_Bridge_334_dmr.ini | ||
</pre> | </pre> | ||
* Para | * Para Analog_Bridge_334_P25 | ||
<pre> | <pre> | ||
sudo cp /lib/systemd/system/analog_bridge.service /lib/systemd/system/ | sudo cp /lib/systemd/system/analog_bridge.service /lib/systemd/system/analog_bridge_334_p25.service | ||
sudo nano /lib/systemd/system/ | sudo nano /lib/systemd/system/analog_bridge_334_p25.service | ||
</pre> | </pre> | ||
Line 157: | Line 168: | ||
<pre> | <pre> | ||
ExecStart=/opt/Analog_Bridge/Analog_Bridge /opt/Analog_Bridge/ | ExecStart=/opt/Analog_Bridge/Analog_Bridge /opt/Analog_Bridge/Analog_Bridge_334_p25.ini | ||
</pre> | </pre> | ||
Line 196: | Line 207: | ||
sudo systemctl enable md380-emu | sudo systemctl enable md380-emu | ||
sudo systemctl start md380-emu | sudo systemctl start md380-emu | ||
sudo systemctl enable p25gateway_334 | sudo systemctl enable p25gateway_334 | ||
Line 222: | Line 216: | ||
sudo systemctl enable analog_bridge_334_p25 | sudo systemctl enable analog_bridge_334_p25 | ||
sudo systemctl start analog_bridge_334_p25 | sudo systemctl start analog_bridge_334_p25 | ||
sudo systemctl enable mmdvm_bridge_334 | |||
sudo systemctl start mmdvm_bridge_334 | |||
</pre> | </pre> | ||
Line 228: | Line 225: | ||
<pre> | <pre> | ||
sudo systemctl restart md380-emu | sudo systemctl restart md380-emu | ||
sudo systemctl restart mmdvm_bridge_334 | sudo systemctl restart mmdvm_bridge_334 | ||
sudo systemctl restart p25gateway_334 | sudo systemctl restart p25gateway_334 | ||
Line 241: | Line 232: | ||
== Desactivar Auto Start == | == Desactivar Auto Start == | ||
<pre> | <pre> | ||
Line 271: | Line 245: | ||
sudo systemctl stop mmdvm_bridge_334 | sudo systemctl stop mmdvm_bridge_334 | ||
sudo systemctl disable mmdvm_bridge_334 | sudo systemctl disable mmdvm_bridge_334 | ||
sudo systemctl stop md380-emu | |||
sudo systemctl disable md380-emu | |||
</pre> | </pre> | ||
Latest revision as of 13:45, 24 March 2024
- como ejemplo es el 334. Por favor no copies y pegues ciegamente,
- debes cambiar los valores a los de tu TG, IDs, etc.
Este es un Work in progress...
Instalación MMDVM Bridge
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
Etapa 1, configura la conexión a un servidor DMR y al otro servicio, en este caso yo seleccioné P25.
sudo cp -r /opt/MMDVM_Bridge/ /opt/MMDVM_Bridge_334 sudo nano /opt/MMDVM_Bridge_334/DVSwitch.ini sudo nano /opt/MMDVM_Bridge_334/MMDVM_Bridge.ini
Etapa 2, configura el puente de DMR a análogo.
sudo cp /opt/Analog_Bridge/Analog_Bridge.ini /opt/Analog_Bridge/Analog_Bridge_334_dmr.ini sudo nano /opt/Analog_Bridge/Analog_Bridge_334_dmr.ini
Etapa 3, configura el puente de análogo al modo que seleccionaste (en mi caso fue P25).
sudo cp /opt/Analog_Bridge/Analog_Bridge.ini /opt/Analog_Bridge/Analog_Bridge_334_p25.ini sudo nano /opt/Analog_Bridge/Analog_Bridge_334_p25.ini
usrpAudio = AUDIO_UNITY ; Digital -> Analog (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_USE_AGC) usrpGain = 1.0 ; Gain factor when usrpAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY) usrpAGC = -20,10,100 ; Set the agc threshold (db), slope (db) and decay (ms) dmrAudio = AUDIO_UNITY ; Audio from ASL (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF) dmrGain = 0.35 ; Gain factor of audio from ASL (0.0-1.0) tlvAudio = AUDIO_UNITY ; Analog -> Digital (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF) tlvGain = 1.0 ; Gain factor when tlvAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY) agcGain = 0.0 ; Gain (in db) of the AGC filter
Etapa 4, configura el gateway del modo al que vas a hacer el enlace (en mi caso fue P25).
sudo cp /opt/P25Gateway/P25Gateway.ini /opt/P25Gateway/P25Gateway_334.ini sudo nano /opt/P25Gateway/P25Gateway_334.ini
Si el reflector al que vas a conectarte no está en la lista de hosts.
sudo nano /var/lib/mmdvm/P25Hosts.txt
Deberás agregarlo en 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) en el archivo:
sudo nano /var/lib/mmdvm/private_P25Hosts.txt
Quedando la línea similar a:
334 p25.link 41009
Auto Start configuration
- Para MMDVM_Bridge_334:
sudo cp /lib/systemd/system/mmdvm_bridge.service /lib/systemd/system/mmdvm_bridge_334.service sudo nano /lib/systemd/system/mmdvm_bridge_334.service
Edita las líneas WorkingDirectory y ExecStart agregando el número de TG como este ejemplo:
WorkingDirectory=/opt/MMDVM_Bridge_334 ExecStart=/opt/MMDVM_Bridge_334/MMDVM_Bridge /opt/MMDVM_Bridge_334/MMDVM_Bridge.ini
- Para P25Gateway_334
sudo cp /lib/systemd/system/p25gateway.service /lib/systemd/system/p25gateway_334.service sudo nano /lib/systemd/system/p25gateway_334.service
Edita la línea ExecStart agregando el número de TG como este ejemplo:
ExecStart=/opt/P25Gateway/P25Gateway /opt/P25Gateway/P25Gateway_334.ini
- Para Analog_Bridge_334_DMR
sudo cp /lib/systemd/system/analog_bridge.service /lib/systemd/system/analog_bridge_334_dmr.service sudo nano /lib/systemd/system/analog_bridge_334_dmr.service
Edita la línea ExecStart agregando el número de TG como este ejemplo:
ExecStart=/opt/Analog_Bridge/Analog_Bridge /opt/Analog_Bridge/Analog_Bridge_334_dmr.ini
- Para Analog_Bridge_334_P25
sudo cp /lib/systemd/system/analog_bridge.service /lib/systemd/system/analog_bridge_334_p25.service sudo nano /lib/systemd/system/analog_bridge_334_p25.service
Edita la línea ExecStart agregando el número de TG como este ejemplo:
ExecStart=/opt/Analog_Bridge/Analog_Bridge /opt/Analog_Bridge/Analog_Bridge_334_p25.ini
- Para MD380-emu
sudo nano /lib/systemd/system/md380-emu.service
Desactivar Auto Start pre-configurado
sudo systemctl stop analog_bridge sudo systemctl disable analog_bridge sudo systemctl stop mmdvm_bridge sudo systemctl disable mmdvm_bridge sudo systemctl stop p25gateway sudo systemctl disable p25gateway sudo systemctl stop p25parrot sudo systemctl disable p25parrot sudo systemctl stop ysfgateway sudo systemctl disable ysfgateway sudo systemctl stop ysfparrot sudo systemctl disable ysfparrot sudo systemctl stop nxdngateway sudo systemctl disable nxdngateway sudo systemctl stop nxdnparrot sudo systemctl disable nxdnparrot
Activar Auto Start
sudo systemctl enable md380-emu sudo systemctl start md380-emu sudo systemctl enable p25gateway_334 sudo systemctl start p25gateway_334 sudo systemctl enable analog_bridge_334_dmr sudo systemctl start analog_bridge_334_dmr sudo systemctl enable analog_bridge_334_p25 sudo systemctl start analog_bridge_334_p25 sudo systemctl enable mmdvm_bridge_334 sudo systemctl start mmdvm_bridge_334
Reiniciar Bridge
sudo systemctl restart md380-emu sudo systemctl restart mmdvm_bridge_334 sudo systemctl restart p25gateway_334 sudo systemctl restart analog_bridge_334_p25 sudo systemctl restart analog_bridge_334_dmr
Desactivar Auto Start
sudo systemctl stop analog_bridge_334_p25 sudo systemctl disable analog_bridge_334_p25 sudo systemctl stop analog_bridge_334_dmr sudo systemctl disable analog_bridge_334_dmr sudo systemctl stop p25gateway_334 sudo systemctl disable p25gateway_334 sudo systemctl stop mmdvm_bridge_334 sudo systemctl disable mmdvm_bridge_334 sudo systemctl stop md380-emu sudo systemctl disable md380-emu