John's Vademecum

Try to learn something about everything, and everything about something -Thomas Huxley “Darwin's bulldog” (1824-1895)

User Tools

Site Tools


public:radio:svx_mobile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:radio:svx_mobile [05/06/22 10:33 BST] johnpublic:radio:svx_mobile [26/04/23 14:53 BST] (current) – removed john
Line 1: Line 1:
-<-[[.:start]] 
- 
- 
-====== 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.  
- 
-  * <todo>Add 5V regulator to power R.Pi from 12VDC</todo> 
-  * <todo>Put everything in a grab-box for portability</todo> 
- 
- 
-==== SVXLink Config ====  
- 
- 
-  * Echolink Module enabled (switchable via DTMF commands) 
-  * Echolink using a [[public:linux:jave_jre|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'' 
- 
-<code 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 
-  } 
- 
-</code> 
- 
-  * 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#'' 
- 
-<code bash> 
-#!/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 
- 
- 
-</code> 
- 
-=== Start with Reflector ON, Echolink Disabled === 
- 
-''98#'' 
- 
- 
-<code bash> 
- 
-#!/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 
- 
-</code> 
- 
-=== Start with Reflector disabled, Echolink ON === 
- 
-''99#'' 
-  
-<code bash> 
-#!/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 
- 
-</code> 
- 
-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 [[public:linux:jave_jre| 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: ~~LASTMOD~~ 
- 
-{{tag>}} 
- 
  
public/radio/svx_mobile.1654421592.txt.gz · Last modified: 06/03/25 06:49 GMT (external edit)