Code plugs for Tytera MD380/390 and Retevis RT3 or similar.

I have seen many requests for code plugs to be shared but to be frank there is nothing better than learning to do it yourself.

Both these radios are similar, but I find that there is a slight difference between my RT3 and the MD380G due to the different vocoders and the addition of the GPS.

You can run the software without the connection of the radio and build the code plug piece by piece, researching the various aspects as you go and saving from time to time.

 Absolutely essential will be your digital ID, so if you haven’t got it, do it now.

Let’s start the CPS. It should be blank and show the content of the first menu Basic Information.

Select your frequency range, I’m starting of in the 400-480 MHz range, and fill in the boxes that the software can permit.

Let’s go to General Settings, giving your radio a name and entering your Digital ID in the Radio ID box. In Alert Tone, I would suggest selecting Digital in the Talk Permit Tone, so that any repeater you access will cause your radio to respond with bleepity bloop if it is good to go.

I left everything else as standard except Intro Screen where you can select Char String, and have two friendly lines of texts greet you when you switch on.

Let’s pass straight on to Button Definitions.

I would suggest short press on button 2 to Manual Dial for Private and long press toggle High/Low Power.

That leaves you button 1 to do with what you will.

Now we’ll go to Digital Contacts.

It is important here to try and get some semblance of order. The contact name will be the convention used by the general populace. I have stuck to what is “normal”, such as TG9 for talk group 9, or what ever you deem practical, however the Call ID MUST be the numerical value of the Talkgroup or Reflector that you wish to reference to it. I chose to enter ALL the available talkgroups wherever they may be, in numerical order, followed by ALL the available Reflectors, as Group Calls, but then you can add any other Digital IDs as Private Calls, together with names and callsign as you need, but with Talk Alias, this may not be necessary. You may not think you need all the talkgroups or reflectors but it is best to add them now as it makes for a tidy database. The Call Receive Tone is at your discretion.

We can safely skip the rest of the menus for the moment and go straight to Channel Information.

Here is where your research is most important. For each repeater or hotspot, you will need to know the frequencies and the colour code, together with the talkgroups that are available on each of the repeaters and on which slots they are.

So GB7PK has its TX frequency 430.525 MHz and RX frequency 439.525 MHz. Colour code 1. There appear to be 4 operational talkgroups TG9 Slot1 TG235 Slot1, TG9 Slot2 and TG2350 on Slot2. So this means you will be creating 4 pages in Channel Information, so you will need to give each page a Channel Name, carefully selecting each of the drop down boxes. Digital in Channel Mode, Color code in Admit Criteria, RX ref and TX Ref as low, TOT (timeout timer) to whatever you prefer. Contact Name will be the Talkgroup, from your previously constructed table. Color Code and Repeater Slot are from your research.

Click Add and you will have saved your first page and created a new blank page. Now the time saver!

Click on the page you have already created in the menu and right click Copy. Highlight the new page in the list also in the menu, and click paste. In the new main page on the right you just need to create the Channel Name, select the new Contact Name, and Slot number. And repeat!

So for GB7PK we shall create four channels.

Next we go back up the menu list to Zone Information where we create a new zone and give it a name. This zone can contain up to the 16 positions on the channel switch, but for the moment we have only four channels programmed. From the available channel list we can add channel members.

In my case I have created many more channels that I would consider of use, like DMR simplex or PMR channels, so I can fill a zone of 16 channels so I don’t get the horrible squawk of a vacant channel.

Some repeaters may have more than 16 available talkgroups, so you can create more than one zone, like one containing all slot 1 channels and the other with slot 2.

As you build the CPS don’t forget to do frequent saves, so that if you have to go back you haven’t got to build from scratch.

Then upload the code plug to the radio. It’s that easy.

DRM Repeater Limousin – Indicatif à suivre

Si vous voulez faire les préparations au répéteur dans votre pocket numerique à DMR, suivre les instructions ci-dessous.

Les fréquences du répéteur:
TX 430.075 MHz RX 439.475 MHz
Colour-Code 1
Donc il faut faire la programmation de votre materiel au renvers dans le CPS TX 439.475 RX 430.075.

Les slots et Talkgroups:
Slot 1 – 9,208,937,235,9990
Slot 2 – 9,2080,2088,2350,2351,2352,2355,2358,9990
Explicatifs:
Talkgroup – 9 – locale autour du relais
Talkgroup – 9990 – Echotest pour assurer le déclanchement de votre Trx.
Talkgroup – 937 – Monde Francophone
Talkgroup – 208 – France Nationale
Talkgroup – 2080 – Ile de France
Talkgroup – 2088 – Region centre – Bavarder ici.
Talkgroup – 235,2350,2351,2352,2355,2358 for visiting British Amateurs to maintain their contacts in the community DMR.

Reflecteurs.
Normallement le reflecteur 4300 se soit mis en place, mais avec des manipulations de votre transceiver vous pouvez faire le changement de reflecteur, le perroquet annocera le nouveau reflecteur.
Après 15 minute, sans utilisation, le reflecteur 4300 se rédemarrera et supprimera le reflecteur choisi.

Pourquoi pas programmer les canaux DMR simplex pour les contactes plus proches.

DMR 1 à 8 sont 438.5875 à 438.675, Colourcode 1 Talkgroup 9.

Pour l’instant le répéteur est en teste chez F5VMR.
DMR soit la seule possibilité dans le futur immédiat, mais s’il ya une demande, on peux essayer événtuellement les autres modes numériques.
Chris F5VMR

DV4MINI – A Further Update

There are many so called experts that know best, but quite frankly none of the expertise has produced a solution in my case.

I have run my DV4Mini from new for nearly 18 months and until the introduction of the”Talk Alias” protocol it was working 100%. I had been running it on Ubuntu Mate 16.04.01 and DV4MF2.exe very successfully on the Raspberry PI 3 and RealVNC from an android tablet, when I began to notice drops in received audio part way through a transmission by someone else. The squelch was open but the audio was not decoded.

My DV4Mini runs on 438.650 as measured by a frequency counter without need for correction, that’s channel DMR simplex channel 6, colour 1, slot 1, TG 9. It has done so for for all its time of operation and has worked impeccably. The latest firmware was 1.66.

I initially thought the Retevis RT 3 was dead or dying, but this was not the case as the newly purchased MD 380 proved. It too could not decode the DV4mini.

I upgraded the DV4mini with 1.77, and the latest drivers and software, and upgraded to mdTools in both radios but nothing changed in what was occurring with the DV4mini, until I went to Promiscuous Mode on the radios, when all the transmissions became audible again.

DOH!

Error located and dealt with as follows.

Word from the wise!

When you updated your code plug, make sure you don’t get the talkgroups wrong. 

In my case follow your own advice! I had overwritten tg9 with tg4. That’s the solution.

SVXReflector – Connections between SVXLink installations

SVXServer developed by Adi Bier DL1HRC used the existing inbuilt logic of RemoteTrx within SVXLink. RemoteTrx was designed for for exactly what it says, for feeding remote installations to a central repeater using the voting strategy in the RepeaterLogic, so whilst it worked, it was hungry on resources.

Tobias SM0SVX has revisited the concept and has completely changed how independent repeaters or another nodal systems can communicate with each other. By creating a new logic module to make the possible connection, it makes a change in the way it works. This new SvxReflectorLogic is not referenced like the other logic modules in SvxLink, but requires a complete reload of all the software in the repeaters and the server that is to be used for the connection.

In any machine that has the current installation running the following instructions need to be followed.

In the current build on the computers in use (Raspberry, Linux etc) it will first be necessary to remove the existing build folder svxlink. (sudo rm -r svxlink in a terminal window will do the trick).

Next we need to introduce the new software build. You will need to watch the svxlink.org on github.com as while the build is in development, there may be changes taking place on a daily basis.

In the same terminal window type

sudo git clone –branch svxreflector –single-branch https://github.com/sm0svx/svxlink.git

which will create a new svxlink folder in our computer. 

We need to go to the source folder to start. So we cd svxlink/src, and then we follow the instructions from the INSTALL.adoc folder from this page – https://github.com/sm0svx/svxlink/tree/svxreflector that lists exactly the commands for the compilation. Always use the sudo command before each of the lines to allow correct permissions in file creation and this command for the cmake.

sudo cmake -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc \
      -DLOCAL_STATE_DIR=/var ..

If you have an installation already then this compilation will only create updated files and not overwrite any config files that exist already.

We will need to add a section to the etc/svxlink/svxlink.conf to permit a repeater to communicate to the server also installed and compiled with the same software, and we will also need to modify its /etc/svxlink/svxreflector.conf to permit the communicate with the other nodes in the network.

So first we edit this in sudo nano /etc/svxlink/svxlink.conf and add this:

[GLOBAL]
LOGICS=RepeaterLogic,ReflectorLogic
LINKS=ReflectorLink

[RepeaterLogic]
...

[ReflectorLogic]
TYPE=Reflector
HOST=reflector.example.com
CALLSIGN=MYCALL
AUTH_KEY="The password"
AUDIO_CODEC=OPUS

[ReflectorLink]
CONNECT_LOGICS=RepeaterLogic:99:REF,ReflectorLogic
DEFAULT_ACTIVE=1
TIMEOUT=10

In the server sudo nano /etc/svxlink/svxreflector.conf

[GLOBAL]
TIMESTAMP_FORMAT=”%c”
LISTEN_PORT=5300
AUTH_KEY=”Change this key now!”

is what you will see. You need to syncronise the passwords in the server and the repeaters.

We will all find the problems together at this point.

The one problem discovered was that compiling a new installation over an existing one fails to write the new library files over the old in the make install.

The solution is simple.

sudo cp -r -i svxlink/src/build/lib/* /usr/lib/arm-linux-gnueabhif (on the raspberry pi) 

sudo cp -r -i svxlink/src/build/lib/* /usr/lib/i386-linux-gnu (on the pc server)
F5ZGM-R and F5ZJE can communicate with each other.

DV4MF2 and the Raspberry PI3 -an update.

A while ago I published my efforts towards a solution for driving the DV4mini from a Raspberry PI 3.

The only problems I encountered was that there appears to be an inconsistency with Ubuntu MATE and Mono complete in its arm7 configuration and updating it on the go. So it was a with a heavy heart I ripped it out to start again. 

This time i decided to go for Ubuntu Mate 16.04.2, and fully updated it and upgraded it before introducing mono into the equation.

Another problem is that some of the original software for the DV4mini has disappeared, but sagely I maintain a terabyte back up drive with all the previously available software.

My first actions however were to ensure that x11vnc is correctly installed and is available from restart every time. I created a folder in my /home/username directory, and loaded the necessary files there. They are DV4MF2.exe, xref.ip, dv_serial and the image files, and a bash script to run the app.

So far I have been unable to launch the script from an icon on the desktop or the menus, but 100% via the script from a terminal window. I ‘cd’ to my folder and ‘sudo bash startscript.sh’ not forgetting to ‘sudo chmod +x startscript.sh’ before setting it to run.

#!/bin/bash

sudo pkill mono

sudo pkill dv_serial

sudo mono DV4MF2.exe

So far the system has been running continuously for 48 hours.

It runs on a 5v power pack, which is on constant charge itself.

Still running ver. 1.66 on the DV4MINI and 2.0.0.1 on the RT3. Very few failures and error rate in very low single figures. 0% Correction and on frequency since January 2016.

Chris F5VMR G4NAB

A new installation of SVXlink – the Do It Yourself method. Part 3 of 3

What I would term the “nitty-gritty”:

MetarInformation

Without correct setting of the .conf files we won’t go far, but they are always user specific, so we have to play with them until we get the node how we want it, but then we always want more!

We have some deeper parameters to play with but first we will look at /etc/svxlink/svxlink.d/ModuleMetarInfo.conf.

Since there has been changes at NOAA, it was necessary to may a change in the compilation of this module to take into account a new source of the Airport Metar Data. This meant a bit of debian knowledge to incorporate this change. we can look at https://github.com/sm0svx/svxlink/issues/189 for the solution although the changes have already been incorporated if we have just installed SVXLink from the github. The .conf file just needs to have the local airport codes installed and suitable voice samples created for the airport. the voice samples need to be resident in /usr/share/svxlink/sounds/language/MetarInfo to be incorporated in the playback.

Logic Files:

These are located in /usr/share/svxlink/events.d, but before we can work on them we must cd to this directory then sudo mkdir local then sudo cp * local so that all the files are copied into the new directory. now we cd local to enter this directory. We type ls to view what’s here.

CW.tcl, Logic.tcl, and RepeaterLogic.tcl are the files that we need to look at.

CW.tcl needs an extra line so we can send VA when closing down the link or repeater. So let’s sudo nano CW.tcl and scroll down the file. We can see the CW translation table that we can create a new line near the bottom. so we type a new line and “_” “…-.-“ making use of the underscore character and the morse for VA. ctrl-o and cntl-x to exit.

Now we need to make use of this change. So we sudo nano RepeaterLogic.tcl and scroll down to proc repeater_down.  Just below set now [clock seconds]; are two lines that begin playTone. We place # in front of both of these commands to suppress the “bi-boop” we would hear on close down,  and place a new line:

CW::play ”  _”;

This now creates the VA after a short delay on close down.

We can change the roger_beep in the same way by sudo nano Logic.tcl. and find proc send_rgr_sound. There are two lines playTone here, the first for the on_air tone and the second for the internet linking tone. we can place # in front of either of both these lines. We create a new line after the first and type CW::play ”  K”; and CW::play ”  I”; after the second. This then gives a “K” tone on the air and a “bibip” for internet originated transmissions.

We must be careful not to mess with these files too much, but if there is an issue with time, then we can shorten the times on the playSilence commands.

If we are going to use two RepeaterLogics and use two repeaters in the same package, we can copy RepeaterLogic.tcl to an new RepeaterLogic2.tcl, but we must remember to change the name inside the file too in the top section.

Voice Samples

We can create new voices by using Dimio Free Speech, and any TTS installed voices. Most of the voice samples in En_US_Heather have text files inside to give a clear as to what is required. We save the .avi file but we cannot use it straight away, so we load it into Audacity to trim the blank spaces.Then highlight the remaining sample and “export” it to get the required format. I did this over 460 times to make the French samples, tedious but necessary.

More to follow as I read through the what’s published.

A new installation of SVXlink – the Do It Yourself method. Part 2 of 3

In part one, we installed Raspbian Jessie on an SD Card to install on a Raspbery PI. Because of the easy availability of these, let’s say it was a Raspberry PI 2. We carried out the necessary updates and upgrades, and installed the software SVXlink ready to commission into use for a Repeater Logic or Simplex Node, primarily for EchoLink but not necessarily so. We have the possibility of a Parrot repeater (one that repeats the last received transmission received by the node), a MetarInformation Node, A Mail Server for users of the Node, and a Propagation monitor.

Let’s log back in as user pi with the default password raspberry. Note for the purists here we are NOT using root here. We use sudo to carry out our root commands.

Language

This is dependant on where you are, but the present en_US Heather is available via the svxlink.org website. I have the french language version that I can make available with over 460 samples in the repetoire, and can offer assistance on creating more if needed.

To download anything from a webpage, Raspbian has the following instruction with the example of introducing the voices below.

cd /usr/share/svxlink/sounds

sudo wget http://https://github.com/sm0svx/svxlink-sounds-en_US-heather/releases/svxlink-sounds-en_US-heather-16k-13.12.tar.bz2

sudo tar -xzvf svxlink-sounds-en_US-heather-16k-13.12.tar.bz2 

This creates a folder in which lie the default folders for all the sounds for svxlink. when unzipped, we can sudo rm svxlink-sounds-en_US-heather-16k-13.12.tar.bz2 which removes this folder completely.

To go back one directory we can type cd .. or we can go back to our home directory by typing simply cd just like that.

GPIO Configuration

Whatever we decide to do with this installation, it will need an interface. There are so many different methods but we will concentrate on the most useful, that of using the General Purpose Input Output or GPIO. We will address two pins of the GPIO strip on the Raspberry so that one becomes a PTT driver, and the other becomes a squelch or COS/COR detector. We must remember that the GPIO is restrictive in that 3V is the maximum voltage, so we must buffer these suitably to drive our devices. However to enable the GPIO we have to set up a script in order to do so. We will use the on-board text editor to do this.

We type sudo nano /etc/rc.local where we modify a hidden file rc.local in the home directory /etc.

 

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will “exit 0” on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ “$_IP” ]; then
printf “My IP address is %s\n” “$_IP”
fi
################
#GPIO SCRIPT #
#TO BE INSERTED#
#ON START-UP #
################

# GPIO 17 as PTT to TX2
echo 17 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio17/direction
sudo chmod 777 /sys/class/gpio/gpio17/value
# GPIO 18 as Squelch to RX2
echo 18 > /sys/class/gpio/export
echo in > /sys/class/gpio/gpio18/direction
sudo chmod 777 /sys/class/gpio/gpio18/value

#GPIO 24 as PTT to TX1
echo 24 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio24/direction
sudo chmod 777 /sys/class/gpio/gpio24/value
# GPIO 23 as Squelch to RX1
echo 23 > /sys/class/gpio/export
echo in > /sys/class/gpio/gpio23/direction
sudo chmod 777 /sys/class/gpio/gpio23/value

#end of GPIO
#Remove # at start of next line for permanent reboot on power loss.
#sudo svxlink –daemon –logfile=/var/log/svxlink.log
exit 0

This is a “Bash” script and needs a little explanation. Firstly #!/bin/bash at the beginning of the file designates it as a script. We will ignore the rest and start at the GPIO section.

This script has been written for driving two transceiver pairs with the same logic, thus giving the possibility of a UHF and VHF repeater working in double-duplex. The # character is a comment line (except for the first line). However we shall concentrate on GPIO 23 and 24, with GPIO 23 as the COS squelch and GPIO 24 as the PTT driver. “echo” simple writes a value to a variable and stores it, and sudo chmod 777 gives the program full permission to use it. This file is a script so has to be enabled as executable, so in nano we ctrl-o to save, then ctrl-x to exit nano, then sudo chmod +x /etc/rc.local for this to occur.

The line second for bottom needs editing later to remove the # to provide the svxlink service, but we leave it for now until it is fully tested.

Sound Configuration

I use a plug in USB sound card, as they are cheap and convenient, and they can be used for two sets of transceivers at the same time, by using the left and right channels. The first thing that has to be done is to turn off or blacklist the internal sound port on the Raspberry. So we create a file as follows: sudo nano /etc/modprobe.d/alsa-blacklist.conf and in the editor type the line “blacklist snd_bcm2835” (without the quotes) and ctrl-o to save the file and ctrl-x to exit the editor. now type sudo reboot. When the Raspberry returns we log back in and type sudo alsamixer. We now have a graphical representation of the sound controller and hopefully the USB Sound card listed in the header. Ideally we need to type ctrl-f5 to open all options. We should set the speaker audio around 55-60 by using the keyboard arrow keys. The next box (Mic) should be set at zero, and the next box (also Mic but Capture) set low to begin with, and Auto Gain Off. Now we type escape to exit the controller and the following command sudo alsactl store to lock these settings against change in the event of a restart.

Further changes to levels may need to be accomplished in the interface.

svxlink.conf

This file will be the main set up file for our node either as simplex or a repeater. For full details look at http://www.svxlink.org/doc/man/man5/svxlink.conf.5.html but here is the file from F5ZGM-R. This .conf file is found in /etc/svxlink/ and needs to be present.

################################################################
# #
# Configuration file for the SvxLink server #
# #
################################################################

[GLOBAL]
#MODULE_PATH=/usr/lib/svxlink
LOGICS=RepeaterLogic,NetLogic
CFG_DIR=svxlink.d
TIMESTAMP_FORMAT=”%c”
CARD_SAMPLE_RATE=48000
LOCATION_INFO=LocationInfo
LINKS=LinkToServer We have a link via a dummy sound card to the 6 metre repeater

[NetLogic] The logic that connects to the 6 Metre repeater
TYPE=Repeater
TX=Net1Tx
RX=Net1Rx
CALLSIGN=NONE we need no ident on this link
RGR_SOUND_DELAY=-1 nor any roger beep
EVENT_HANDLER=/usr/share/svxlink/events.tcl
DEFAULT_LANG=fr_FR Default language (french)
OPEN_ON_SQL=50
OPEN_SQL_FLANK=OPEN Opens for voice immediately
#MUTE_RX_ON_TX=1
NO_REPEAT=1 We don’t need to repeat the audio here

[RepeaterLogic] The logic for the VHF Repeater, The alternative would be [SimplexLogic]
TYPE=Repeater
RX=Voter We are using two receivers, one local and one on the network 45 kms away.
TX=MultiTx We TX 130 watts on the main Tx1 and TX simultaneously to a stream
MODULES=ModuleHelp,ModuleMetarInfo,ModuleEchoLink,ModulePropagationMonitor only modules we need are listed here.
CALLSIGN=F5ZGM
SHORT_IDENT_INTERVAL=15 1/4 past and 1/4 to the hour
LONG_IDENT_INTERVAL=30 on the hour and half hour
EVENT_HANDLER=/usr/share/svxlink/events.tcl
DEFAULT_LANG=fr_FR
RGR_SOUND_DELAY=1 Beep is enabled in our case rewritten to “K”
REPORT_CTCSS=88.5 CTCSS included in the announcement
#TX_CTCSS=NONE The motorola GM350 transmits this so we don’t need it
MACROS=Macros points to our interpreted codes below
FX_GAIN_NORMAL=-3 Volume of the announcements
FX_GAIN_LOW=-15 reduced volume of the announcements when someone is talking
#QSO_RECORDER=8:QsoRecorder We don’t want to do this
#NO_REPEAT=1
IDLE_TIMEOUT=22 Period of repeater hanging after last received call.
#OPEN_ON_1750=400 we can enable this if we need
OPEN_ON_CTCSS=88:800 800 milliseconds of 88.5 and the repeater latches open
#OPEN_ON_DTMF=*
#OPEN_ON_SQL=5000
#OPEN_ON_SEL5=03423
OPEN_SQL_FLANK=OPEN so we can talk straight away and be heard
#OPEN_ON_SQL_AFTER_RPT_CLOSE=10
IDLE_SOUND_INTERVAL=5000 Boing Boing Boing on the channel when not occupied
SQL_FLAP_SUP_MIN_TIME=500 Squelch interference trap
SQL_FLAP_SUP_MAX_COUNT=6 Counts the occurences of interference then shuts off
#ACTIVATE_MODULE_ON_LONG_CMD=4:EchoLink
#IDENT_NAG_TIMEOUT=13
#IDENT_NAG_MIN_TIME=5000
ONLINE_CMD=###### We have an engineering code to shut down the logic by DTMF
[LinkToServer] This connects to the 6 Metre repeater #900 is off #901 is on
CONNECT_LOGICS=RepeaterLogic:91:F5ZJE,NetLogic:90:F5ZGM
DEFAULT_ACTIVE=1
#TIMEOUT=300
#AUTOACTIVATE_ON_SQL=VeraLogic

[Macros] The macros for EchoLink with the repeater open DTMF D02# for example will open the first on the list F1ZFS-R instead of opening the EchoLink module by 2# then DTMF 284183# – Just a short cut
# Relais St Gobain F1ZFS-R
02=EchoLink:284183#
08=EchoLink:675582#
12=EchoLink:12011#
17=EchoLink:5727#
18=EchoLink:774130#
19=EchoLink:370016#
2A=EchoLink:849539#
# Reseau FRN
22=EchoLink:224090#
# F1OYP-L
24=EchoLink:975335#
29=EchoLink:190151#
31=EchoLink:345506#
# Reseau FON
35=EchoLink:282229#
# F6KCI Tours
37=EchoLink:902457#
# F4FPQ-L
38=EchoLink:386535#
# F5KIA-R Montargis
45=EchoLink:346535#

49=EchoLink:968386#
# F5RZU-L
51=EchoLink:51005#
54=EchoLink:926658#
541=EchoLink:293568#
57=EchoLink:850955#
# Relais de Lille F1ZTK-R
59=EchoLink:326000#
# F8KGS-L
591=EchoLink:358392#
# F5NTS-L Cambrai
592=EchoLink:486287#
# F8BSY-L
66=EchoLink:127113#
# F5SWB-L
67=EchoLink:509794#
68=EchoLink:210038#
75=EchoLink:890232#
# F8KGK-L
76=EchoLink:127270#
77=EchoLink:896321#
# F6GWB-L
78=EchoLink:797558#
# F1VJT 29 MHz
83=EchoLink:198079#
# F8HJV-L F6ZFZ
831=EchoLink:987330#
85=EchoLink:688734#
87=EchoLink:285873#
# F5POE-L
91=EchoLink:9102#
# F5KKD-L
93=EchoLink:972109#
99=EchoLink:7654#
#GB3JC
101=EchoLink:974222#
#GB3IW
102=EchoLink:401932#
#GB3HT
103=EchoLink:662746#
#GB3CA
104=EchoLink:412685#
#Hubnet UK Allstar
201=EchoLink:973498#
#991=EchoLink:224090#
#992=EchoLink:282229#

[QsoRecorder]Not enabled on F5ZGM-R
REC_DIR=/usr/var/spool/svxlink/qso_recorder
#MIN_TIME=1000
MAX_TIME=3600
SOFT_TIME=300
MAX_DIRSIZE=1024
#DEFAULT_ACTIVE=1
#TIMEOUT=300
#QSO_TIMEOUT=300
#ENCODER_CMD=/usr/bin/oggenc -Q \”%f\” && rm \”%f\”

[Voter] This is the voting component between the The main receiver Rx1 and the distant receiver Net1Trx. The repeater constantly votes which is providing the best signal, ideal for black spots provided there is a network link.
TYPE=Voter
RECEIVERS=Rx1,Net1Trx
VOTING_DELAY=200
BUFFER_LENGTH=20
REVOTE_INTERVAL=200
HYSTERESIS=50
#SQL_CLOSE_REVOTE_DELAY=500
#RX_SWITCH_DELAY=500

[MultiTx] Main transmitter Tx1, Internet Stream TxStream
TYPE=Multi
TRANSMITTERS=Tx1,TxStream

[TxStream]
TYPE=Local
AUDIO_DEV=alsa:hw:Loopback,0,2 Dummy sound card
AUDIO_CHANNEL=0
PTT_TYPE=NONE
TIMEOUT=7200
TX_DELAY=0
PREEMPHASIS=0

[Net1Trx] Receiving point for the remote receiver which has its own version of svxlink (remotetrx)
TYPE=Net
HOST=172.20.1.6
TCP_PORT=19123
AUTH_KEY=”######”
CODEC=S16

[Net1Tx]The link to the server that sends the received 145 Mhz to the 6 metre transmitter
TYPE=Net
HOST=192.168.0.100
TCP_PORT=5210
AUTH_KEY=”######”
CODEC=S16

[Net1Rx]The link from the server that brings the audio from the 6 metre receiver and mixes it to the 145 Mhz transmission.
TYPE=Net
HOST=192.168.0.100
TCP_PORT=5210
AUTH_KEY=”872319″
CODEC=S16

 

[Rx1] The Main receiver
TYPE=Local
AUDIO_DEV=alsa:plughw:0
AUDIO_CHANNEL=0
SQL_DET=CTCSS
GPIO_SQL_PIN=gpio23
SQL_START_DELAY=0
SQL_DELAY=40
SQL_HANGTIME=200
SQL_EXTENDED_HANGTIME=1000
SQL_EXTENDED_HANGTIME_THRESH=15
#SQL_TIMEOUT=240
#VOX_FILTER_DEPTH=20
#VOX_THRESH=1000
CTCSS_MODE=2
CTCSS_FQ=88.5
CTCSS_SNR_OFFSET=0
CTCSS_OPEN_THRESH=15
CTCSS_CLOSE_THRESH=9
CTCSS_BPF_LOW=80
CTCSS_BPF_HIGH=95
#SERIAL_PORT=/dev/ttyS0
#SERIAL_PIN=CTS
#SERIAL_SET_PINS=DTR!RTS
#EVDEV_DEVNAME=/dev/input/by-id/usb-SYNIC_SYNIC_Wireless_Audio-event-if03
#EVDEV_OPEN=1,163,1
#EVDEV_CLOSE=1,163,0
#PTY_PATH=/tmp/rx1_sql
#HID_DEVICE=/dev/hidraw3
#HID_SQL_PIN=VOL_UP
#SIGLEV_DET=NOISE
#SIGLEV_SLOPE=1
#SIGLEV_OFFSET=0
#SIGLEV_BOGUS_THRESH=120
#TONE_SIGLEV_MAP=100,84,60,50,37,32,28,23,19,8
#SIGLEV_OPEN_THRESH=30
#SIGLEV_CLOSE_THRESH=10
DEEMPHASIS=1
SQL_TAIL_ELIM=370 Reduces the kerchunk from users transmissions
PREAMP=0
PEAK_METER=0 Make this =1 to watch the input audio, so you can turn it down on the interface if the software complains
DTMF_DEC_TYPE=INTERNAL DTMF detector
DTMF_MUTING=1 We don’t wont to rebroadcast the tones
#DTMF_HANGTIME=100
#DTMF_SERIAL=/dev/ttyS0
#DTMF_PTY=/tmp/rx1_dtmf
#DTMF_MAX_FWD_TWIST=8
#DTMF_MAX_REV_TWIST=4
1750_MUTING=1 We don’t want to rebroadcast the blippers either
#SEL5_DEC_TYPE=INTERNAL
#SEL5_TYPE=ZVEI1
#FQ=433475000
#WBRX=WbRx1

[WbRx1]
#HOST=localhost
#PORT=1234
#CENTER_FQ=435075000
#FQ_CORR=0
#GAIN=0
#PEAK_METER=1
#SAMPLE_RATE=960000

[Tx1] The master transmitter
TYPE=Local
AUDIO_DEV=alsa:plughw:0
AUDIO_CHANNEL=0
PTT_TYPE=GPIO
#PTT_PORT=/dev/ttyS0
PTT_PIN=gpio24
#HID_DEVICE=/dev/hidraw3
#HID_PTT_PIN=GPIO3
#SERIAL_SET_PINS=DTR!RTS
#PTT_HANGTIME=1000
TIMEOUT=0 No we don’t want a timeout
TX_DELAY=5
#CTCSS_FQ=88.5
#CTCSS_LEVEL=10
PREEMPHASIS=0
#DTMF_TONE_LENGTH=100
#DTMF_TONE_SPACING=50
#DTMF_TONE_AMP=-18
#MASTER_GAIN=0.0

[LocationInfo] APRS information
APRS_SERVER_LIST=euro.aprs2.net:14580
STATUS_SERVER_LIST=aprs.echolink.org:5199
LON_POSITION=01.48.51E
LAT_POSITION=45.47.02N
CALLSIGN=ER-F5ZGM
FREQUENCY=145.650
TX_POWER=81
ANTENNA_GAIN=6
ANTENNA_HEIGHT=30m
ANTENNA_DIR=-1
PATH=WIDE1-1
BEACON_INTERVAL=10
TONE=88
COMMENT=SvxLink by SM0SVX (svxlink.sourceforge.net)

ModuleEchoLink.conf

This file is found in /etc/svxlink/svxlink.d/ and needs information to run EchoLink succesfully. If we need more information we can look at this page at http://www.svxlink.org/doc/man/man5/ModuleEchoLink.conf.5.html.

[ModuleEchoLink] Our Module at F5ZGM-R
NAME=EchoLink
ID=2
TIMEOUT=400 Timeout is 400 seconds for inactive connections Maybe an illegal line see below
#ALLOW_IP=192.168.1.0/24
#DROP_INCOMING=^(F5PBG|F1HUI|.*-[R])$
#REJECT_INCOMING=^(F5PBG|F1HUI|.*-[R])$
#ACCEPT_INCOMING=^(F5NLG-R|F6CHT|F6HRP|F6DDV|F2PI|G*.*|V*.*|W*.*|K*.*|A*.*|CN*.*)$
#REJECT_OUTGOING=^(\*.+\*)$
#ACCEPT_OUTGOING=^(F.*.-[LR]|G.*.-[LR]|TK.*-[LR]|TM.*-[LR]|ON.*-[LR]|HB.*-[LR]|LX.*-[LR]|VA.*-[LR]|VE.*-[LR])$
REJECT_CONF=1 We do not allow conference rooms
#CHECK_NR_CONNECTS=1,1500,240
SERVERS=europe.echolink.org
CALLSIGN=F5ZGM-R
PASSWORD=xxxxxx
SYSOPNAME=[Svx]Relais 145&51 MHz 87
LOCATION=[Svx]87-qrz.com/db/F5ZGM
#PROXY_SERVER=the.proxy.server
#PROXY_PORT=8100
#PROXY_PASSWORD=PUBLIC
#BIND_ADDR=10.20.30.40
MAX_QSOS=5
MAX_CONNECTIONS=5
LINK_IDLE_TIMEOUT=400 Not sure this isn’t a duplicate of TIMEOUT above
#AUTOCON_ECHOLINK_ID=282229 We can have a permanent connection here
#AUTOCON_TIME=600
USE_GSM_ONLY=1
DEFAULT_LANG=fr_FR
DESCRIPTION=”Vous avez connecté au Répeteur avec SVXLink\n” Hates accented letters
“une service au Linux avec support à l’ECHOLINK\n”
“System disponible – F5ZGM Relais Limousin \n”
“Visitez QRZ.com/db/F5ZGM pour plus d’info.\n”
“QTH: Peyrat le Chateau (87) JN05VS\n”
“QRG: 145.650 MHz\n”
“CTCSS: CTCSS 88.5 Hz\n”
“Trx: Motorola Repeater\n”
“Antenna: Coliniaire\n”