SvxLink Beginners Guide

From WLPS Wiki
Revision as of 13:14, 2 November 2021 by Wodie (talk | contribs)
Jump to navigation Jump to search

Introduction

Terestrial Trunked Radio (TETRA)

Terrestrial Trunked Radio (TETRA) is a four slot TDMA radio technology that fits in a standard 25khz channel. It supports voice, text, and data from up to four talkers (called terminals) simultaneously. It even supports phone calls bridged to the public switched telephone network (think private autopatch). The audio codec is patented, but the code is open source... so experimentation is at least technically possible. Some of the designed applications are public service, emergency response, and railroads. It is very popular in Europe and South America.

Some of it's cooler features include a "gateway" mode, where if one radio can't reach the infrastructure (repeater), but it can communicate with a radio that can, the radio in the middle can act as a bridge. Similarly, the radios can act as virtual repeaters in the total lack of any infrastructure at all: you can talk simplex to any radio you can hear, and through it, any radio it can hear, etc. Imagine being at an event with no repeater coverage, but being able to have a self expanding network of radios on a simplex network.

Here I will explain using DMO mode only, as TMO very expensive.


How to

There are two options, if you are located in an area with repeater/node coverage you only need a TETRA radio. I there is no repeater/node in your area you can setup one an link it to the TETRA Mexico network.

To use an existing repeater you will need:

  • 01 TETRA Radio 430-440 MHz.
  • Programming periferials (PC, cable, CPS, etc).

Programación del radio

Para que tu radio tenga acceso a la red TETRA México, deberás programar los siguientes parámetros:

En la sección Subscriber Unit Parameters:

  • Radio ISSI = 1234567 (Tu ID obtenido en www.radioid.net)

En la sección DMO Parameters>DMO Group Call Timers:

  • DMO Reservation Time, sec = 1

En la sección DMO Parameters>DMO Address Extension:

  • MCC 901
  • MNC 16383

En la sección de TalkGroups>DMO>DMO Folders List:

DMO Folders List
Name Status Transmision Timeout Timer, sec Transmision Timeout Warning Timer, sec Number of Talkgroups in Range Receive Only
DMO Ham On 120 110 2

En la sección Talk Groups>DMO>DMO Talkgroup List necesitarás programar dos canales con la frecuencia del repetidor/nodo que utilizarás.

DMO Talkgroup List
Name ID Status DMO Folder List Communication type Gateway Selection Gateway Address Frequency Channel Receive Call to DMO Partnership Networks Network MCC Network MNC TMO Mapping Key Group Incoming Call Minimum Security Class Outing Call Security Class Status/Alarm/Addressing GPS LIP Addressing
Canal 1 1 Programmed 1:DMO Ham Direct None 433.650 User Defined 901 16383 NO_KG Security Class 1 Security Class 1 None None
Canal 2 1 Programmed 1:DMO Ham Repeater None 433.650 User Defined 901 16383 NO_KG Security Class 1 Security Class 1 None None


En la sección Data Services>Status ID List agrega los siguientes mensajes, los cuales te permitirán conectarte a distintos grupos.

Si tu equipo cuenta con GPS, para que envíe su ubicación a APRS utiliza el modo LIP

  • GPS>GPS Settings>GPS Location Protocol = LIP
  • GPS>LIP Configuration/Destination ISSI = 9999


Regresar a Radioafición en Español

Conectar a un Reflector

Para conectarte a un reflector, solo debes enviar un mensaje de estado al Talkgroup 1.

Dashboard Tetra

Programación de repetidor/nodo

Si quieres instalar tu propio repetidor/nodo necesitarás lo siguiente:

  • 01 Radio móvil Motorola modelo MTM800e o MTM5400 que opere en 430-440 MHz (Gateway).
  • 01 Raspberry Pi 2B o 3B con cable y fuente de alimentación.
  • 01 cable FTDI de 3.3 Volts de RS232 a USB.
  • 01 interfase URIxB o Signalink o R1 2020.
  • 01 antena UHF con cable, etc.
  • 01 Fuente de 12 Volts para alimentar el radio.
  • 01 Memoria Micro SD de 8 Gb o mas.
  • Internet.
  • Periféricos para programar el radio (PC, cable, CPS, etc) y configurar la Raspberry Pi.

Solicita tu contraseña para el reflector

Entra al siguiente link y solicita una cuenta para solicitar una cuenta nueva para accesar al reflector.

https://forms.office.com/Pages/ResponsePage.aspx?id=WsUri6k2uUyVDFYiLbvQQMlKWpMbYRhDih7oaHFX6dJUMDZPUUJGRUdKRkRKNUI5QkFXRTFTT1hUQi4u

La respuesta te llegará en unas 24 horas.

Descargar SVXLink

Descarga la imagen de SVXLink para Raspbian en:

Descargar SVXLink para Raspberry Pi

Pasa la imagen a una tarjeta Micro SD.

Actualiza Svxlink a la Versión mas Reciente

Una ves que esté corriendo la imagen en tu Raspberry, ejecuta los siguientes comandos para actualizarla:

sudo systemctl stop svxlink
cd /home/pi/svxlink/src/build
sudo git pull
sudo make install
sudo systemctl start svxlink

Configurar SVXLink

Para configurar tu Gateway, debes modificar el archivo svxlink.conf con tu información, a continuación están las líneas a modificar.

nano /etc/svxlink/svxlink.conf

Deberás modificar varias stanzas:

Global

Si usas un R1 2020 modifica la linea con un valor de 2, de lo contrario déjala en 1.

CARD_CHANNELS=1

ReflectorLogic

Coloca el siguiente valor en HOST:

HOST=dashboard.vktetra.com

Cambia YourCallSign por tu indicativo.

CALLSIGN="YourCallSign-L"

Cambia ReflectorPasswordHere por la contraseña que te enviaron.

AUTH_KEY="ReflectorPasswordHere"

TetraLogic

Cambia YourCallSign por tu indicativo.

CALLSIGN=YourCallsign

Cambia YourCallSign por tu indicativo.

APRSPATH=APRS,qAR,YourCallsign-10:

SdsOnUserActivity

Cambia YourCallSign por tu indicativo.

0=Hello from YourCallSign-L! Refer to vktetra.com for more info.

Tetra_Users

Cambia YourCallSign por tu indicativo.

0901163830YourRadioISSI=YourCallsign-1,YourName,/1,Tetra DMO Your Gateway Frequency vktetra.com

LocationInfo

Cambia 33.12.12S por tu Latitud en grados.minutos.segundos

LAT_POSITION=33.12.12S

Cambia 151.12.45E por tu Longitud en grados.minutos.segundos

LON_POSITION=151.12.45E

Cambia YourCallSign por tu indicativo.

CALLSIGN=EL-YourCallSign

Cambia Your Frequency por la frecuencia de tu Gateway, p.e. 433.650

FREQUENCY=Your Frequency

Cambia Your Suburb por el nombre de tu ciudad.

COMMENT=TETRA DMO - Your Suburb Your Gateway Frequency vktetra.com 

Al terminar de hacer los cambios presiona <CTRL> + <X> y luego presiona <Y> y luego <Enter>.

Reinicia tu nodo para aplicar los cambios.

sudo reboot

Conectar la Raspberry al radio

Deberás utilizar el conector trasero para accesorio.

En el caso del MTM800 el conector es de 20 pines.

MTM800
PTT Pin 3
Tx audio Pin 5
Analog Ground Pin 7
Rx audio Pin 11

En el caso del MTM5400 el conector es de 26 pines.

MTM5400
Digital Gnd Pin 16
PTT Pin 17
Tx Audio Pin 11
Analog Ground Pin 12
Rx Audio Pin 14
RXD (serial) Pin 20
TXD (serial) Pin 25

Programar el Repetidor/Nodo

En la sección Subscriber Unit Parameters:

  • Radio ISSI = 9999

En la sección DMO Parameters>DMO Group Call Timers:

  • DMO Reservation Time, sec = 1

En la sección DMO Parameters>DMO Address Extension:

  • MCC 901
  • MNC 16383

En la sección de TalkGroups>DMO>DMO Folders List:

DMO Folders List
Name Status Transmision Timeout Timer, sec Transmision Timeout Warning Timer, sec Number of Talkgroups in Range Receive Only
DMO Ham On 120 110 1

En la sección Talk Groups>DMO>DMO Talkgroup List necesitarás programar un con la frecuencia del repetidor/nodo que utilizarás.

DMO Talkgroup List
Name ID Status DMO Folder List Communication type Gateway Selection Gateway Address Frequency Channel Receive Call to DMO Partnership Networks Network MCC Network MNC TMO Mapping Key Group Incoming Call Minimum Security Class Outing Call Security Class Status/Alarm/Addressing GPS LIP Addressing
Repetidor 1 Programmed 1:DMO Ham Repeater None 433.650 User Defined 901 16383 NO_KG Security Class 1 Security Class 1 None None

Ajuste de niveles de audio

En la línea de comando escribe:

sudo alsamixer

Selecciona la tarjeta de audio externa que estás utilizando para comunicarte con el radio y ajusta los niveles de entrada y salida.

Al terminar tus ajustes ejecuta la siguiente línea para que se guarden los cambios realizados.

sudo alsactl store 0


Regresar a Radioafición en Español

Conexión a Echolink (opcional)

Ejecuta las siguientes líneas (observa la mayúsculas y minúsculas):

sudo mv /usr/lib/arm-linux-gnueabihf/svxlink/ModuleEchoLink.so   /usr/lib/arm-linux-gnueabihf/svxlink/ModuleModuleEcholink.so 
sudo cp /etc/svxlink/svxlink.d/ModuleEchoLink.conf   /etc/svxlink/svxlink.d/ModuleEcholink.conf

Deberás editar el siguiente archivo colocando la información de tu cuenta de Echolink.

sudo nano /etc/svxlink/svxlink.d/ModuleEcholink.conf

Edita la líea 1 para que quede de la siguiente forma (observa la mayúsculas y minúsculas)

[ModuleEcholink]

Edita las siguientes líneas con tu información.

CALLSIGN=MYCALL
PASSWORD=Password
SYSOPNAME=Tu Nombre
LOCATION=[Svx] Frecuencia, Ciudad

DESCRIPTION="You have connected to a SvxLink node,\n"
            "a voice services system for Linux with EchoLink\n"
            "support.\n"
            "Check out http://svxlink.sf.net/ for more info\n"
            "\n"
            "QTH:     My_QTH\n"
            "QRG:     Simplex link on 433.650 MHz\n"
            "CTCSS:   901-16383\n"
            "Trx:     TETRA DMO\n"
            "Antenna: Comet/Omni/GP-3\n"

Al terminar de hacer los cambios presiona <CTRL> + <X> y luego presiona <Y> y luego <Enter>.

Reinicia tu nodo para aplicar los cambios.

sudo reboot


Regresar a Radioafición en Español