Table of Contents
Svx Mobile
Plan…
To make a mobile hotspot that will provide access to SVXReflector and Echolink as well as a handy single-frequency parrot repeater.
Hardware
Remains the same as the previous portable hotspot
- Raspberry Pi
- CM108 soundcard
- IC-2E
- MiFi router
It will be installed in my vehicle, which also has a TM-D710 for APRS and voice comms.
- Add 5V regulator to power R.Pi from 12VDC
- Put everything in a grab-box for portability
SVXLink Config
- Echolink Module enabled (switchable via DTMF commands)
- Echolink using a Private Proxy running on my VPS machine to enable incoming connections.
Logic.tcl additions for switching EL on/off
Added to <…>/events.d/local/Logic.tcl
# Example: Custom command executed when DTMF 97 is received if {$cmd == "97"} { puts "Executing external command" playMsg "Core" "online" exec /home/gm4slv/svx_ref_el.sh & return 1 } # Example: Custom command executed when DTMF 98 is received if {$cmd == "98"} { puts "Executing external command" playMsg "Core" "online" exec /home/gm4slv/svx_ref_noel.sh & return 1 } # Example: Custom command executed when DTMF 99 is received if {$cmd == "99"} { puts "Executing external command" playMsg "Core" "online" exec /home/gm4slv/svx_noref_el.sh & return 1 }
- DTMF command
97#
will cause svxlink to restart with Reflector connected, Echolink connected. - DTMF command
98#
will cause svxlink to restart with Reflector connected, Echolink disabled. - DTMF command
99#
will cause svxlink to restart with Reflector disabled, Echolink connected.
Start with Reflector ON and Echolink ON
97#
#!/bin/bash CFG=/usr/local/etc/svxlink/svxlink_ref_el.conf LOG=/home/gm4slv/svxlink.log sudo killall svxlink sudo killall svxlink sudo killall svxlink echo "25" > /sys/class/gpio/export sleep 2 echo "out" > /sys/class/gpio/gpio25/direction sudo svxlink --daemon --logfile=$LOG --config=$CFG exit 0
Start with Reflector ON, Echolink Disabled
98#
#!/bin/bash CFG=/usr/local/etc/svxlink/svxlink_ref_noel.conf LOG=/home/gm4slv/svxlink.log sudo killall svxlink sudo killall svxlink sudo killall svxlink echo "25" > /sys/class/gpio/export sleep 2 echo "out" > /sys/class/gpio/gpio25/direction sudo svxlink --daemon --logfile=$LOG --config=$CFG exit 0
Start with Reflector disabled, Echolink ON
99#
#!/bin/bash CFG=/usr/local/etc/svxlink/svxlink_noref_el.conf LOG=/home/gm4slv/svxlink.log sudo killall svxlink sudo killall svxlink sudo killall svxlink echo "25" > /sys/class/gpio/export sleep 2 echo "out" > /sys/class/gpio/gpio25/direction sudo svxlink --daemon --logfile=$LOG --config=$CFG exit 0
It's probable that I'll configure the initial start @reboot
to be with Reflector and Echolink
crontab
→ @reboot sleep 30 && sudo -u gm4slv /home/gm4slv/svx_ref_el.sh >/dev/null 2>&1
Using a PROXY server for connecting to Echolink, and be able to accept incoming Echolink connections, is necessary because it's not possible to control external firewall/port forwarding when using the MiFi 4G router for internet access.
Connecting direct
to Echolink, without the proxy
still allows outgoing Echolink connections to be made
Rather than relying on other PUBLIC
Echolink proxies I though it would be wise to install and run a proxy server myself, on the VPS machine. It turned out to be easier than I thought and the basic steps are here
Parrot
I imagine being able to use the Parrot feature as a temporary single-frequency repeater perhaps for emergency use?
I'll experiment….
Page Info
— John Pumford-Green 03/06/22 17:59
Page last updated: 26/04/23 14:54 BST