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:2025:allstar_expands

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:2025:allstar_expands [06/06/25 17:23 BST] – [VHF Gateway] johnpublic:radio:2025:allstar_expands [06/06/25 21:10 BST] (current) – [Test Node] john
Line 104: Line 104:
  
  
-To allow the node numbers to be resolved to useful names the script ''astdb.php'' should run nightly to maintain a lookup table. The image installed several copies of ''astdb.php'' in different places, all updating a central data file ''/var/log/asterisk/astdb.txt''To allow for the private node numbers to appear as useful information, rather than ''not in database'' you put the information in a file ''privatenodes.txt''+To allow the node numbers to be resolved to useful names tp display on the dashboards the script ''astdb.php'' should run nightly to maintain a lookup table.  
 + 
 +The image came with several copies of ''astdb.php'' in different places, all updating a central data file ''/var/log/asterisk/astdb.txt''Which was confusing, as they all looked in different places for the file detailing private nodes.  
 + 
 +To allow private node numbers to appear as useful information, rather than ''not in database'' you first put the information in a file ''privatenodes.txt''
  
 <code> <code>
Line 110: Line 114:
 </code> </code>
  
-and the ''astdb.php'' script must know where to find it. The easiest way is to run the ''astdb.php'' from the directory containing ''privatenodes.txt''+and then the ''astdb.php'' script pulls it in, with all the other nodes downloaded from the web, but ''astdb.php'' must know where to find the ''privatenodes.txt'' file. 
  
-and the copy in ''/var/www/html/supermon/'' is used, ''privatenodes.txt'' resides here too. To automate the process the update is done nightly via ''/etc/cron.daily/allstar_helpers'' which now contains to point to the correct version of ''astdb.php''+The easiest way is to run the ''astdb.php'' from the directory containing ''privatenodes.txt''
  
-<code>+and therefore it's the copy in ''/var/www/html/supermon/'' that is used, since ''privatenodes.txt'' resides here too.  
 + 
 +To automate the process the update is done nightly via ''/etc/cron.daily/allstar_helpers'' which was modified to point to the correct version of ''astdb.php'' 
 + 
 +<code bash>
 #!/bin/bash #!/bin/bash
  
Line 121: Line 129:
 </code> </code>
  
 +The nodes monitored, and the menu to select them, and external websites, on each node's Supermon Dashboard is configured by ''allmon.ini''
  
 +Here's the current version:
 +
 +++++ Generic /var/www/html/supermon/allmon.ini |
 +
 +<code bash>
 +[All Nodes]
 +nodes = 481480,481481,481482,1399
 +menu = yes
 +system = Nodes
 +
 +[481480]
 +host = 192.168.21.109:5038
 +user = admin
 +passwd = "XXXX"
 +menu = yes
 +hideNodeURL = no
 +system = Nodes
 +
 +[481481]
 +host = 192.168.21.250:5038
 +user = admin
 +passwd = "XXXX"
 +menu = yes
 +hideNodeURL = no
 +system = Nodes
 +
 +[481482]
 +host = 192.168.21.251:5038
 +user = admin
 +passwd = "XXXX"
 +menu = yes
 +hideNodeURL = no
 +system = Nodes
 +
 +[1399]
 +host = 192.168.21.250:5038
 +user = admin
 +passwd = "XXXX"
 +menu = yes
 +hideNodeURL = yes
 +system = Nodes
 +
 +; Set the node number for the specific node that this copy of allmon.ini is written for
 +[lsNodes]
 +url = "/cgi-bin/lsnodes_web?node=481481"
 +menu = yes
 +
 +[Node 481840]
 +url = "http://gm4slv.plus.com:42110/"
 +menu = yes
 +system = Dashboards
 +
 +[Node 481841]
 +url = "http://gm4slv.plus.com:42111/"
 +menu = yes
 +system = Dashboards
 +
 +[Node 481842]
 +url = "http://gm4slv.plus.com:42112/"
 +menu = yes
 +system = Dashboards
 + 
 +[GM4SLV Wiki]
 +url = "https://gm4slv.org.uk/dokuwiki/doku.php?id=start"
 +menu = yes
 +system = External Sites
 +
 +[Echolink Link Status]
 +url = "https://echolink.org/links.jsp?d=1&gs=IP90gg&sel=gridsq"
 +menu = yes
 +system = External Sites
 +
 +[TGIF]
 +url = "https://tgif.network/"
 +menu = yes
 +system = External Sites
 +
 +[AllStarLink]
 +url = "http://www.allstarlink.org"
 +menu = yes
 +system = External Sites
 +
 +
 +</code>
 +
 +++++
  
 ===== VHF Gateway ===== ===== VHF Gateway =====
Line 1153: Line 1248:
 ++++ ++++
  
-++++ /etc/asterisk/modules.conf (noload echolink) |+++++ /etc/asterisk/modules.conf (load echolink) |
  
 <code> <code>
Line 1377: Line 1472:
 ++++ ++++
  
-++++ /var/www/html/supermon/allmon.ini | 
  
-<code> 
-[481480] 
-host = 127.0.0.1:5038 
-user = admin 
-passwd = "XXXXXXXXX" 
-menu = yes 
-hideNodeURL = no 
- 
-[481481] 
-host = 192.168.21.250:5038 
-user = admin 
-passwd = "XXXXXXXX" 
-menu = yes 
-hideNodeURL = no 
- 
-[481482] 
-host = 192.168.21.251:5038 
-user = admin 
-passwd = "XXXXXXXXX" 
-menu = yes 
-hideNodeURL = no 
- 
-[1399] 
-host = 192.168.21.250:5038 
-user = admin 
-passwd = "XXXXXXXXX" 
-menu = yes 
-hideNodeURL = yes 
- 
-[All Nodes] 
-nodes = 481480,481481,481482,1399 
-menu = yes 
- 
-[lsNodes] 
-;url = "/cgi-bin/lsnodes_web?node=48148" 
-url = "/cgi-bin/lsnodes_web?node=481480" 
-menu = yes 
- 
- 
-</code> 
- 
-++++ 
  
-===== Hub with DMR Bridging=====+===== DMR Bridging Node =====
  
 |Platform | Raspberry Pi 3 Model B Rev 1.2 | |Platform | Raspberry Pi 3 Model B Rev 1.2 |
Line 1428: Line 1480:
 |Dashboard| http://gm4slv.plus.com:42111/| |Dashboard| http://gm4slv.plus.com:42111/|
  
-This one is for linking the others together, and running DVSwitch to bridge to (at the moment) TGIF TG2354429 (my //ID Talkgroup//)+This one is for running DVSwitch to bridge to (at the moment) TGIF TG2354429 (my so-called //ID Talkgroup// )
  
 I added the DVSwitch software, in the same way described here [[gm4slv_allstar_2025|]] and decided to bridge to ''TGIF'' instead of Brandmeister. I added the DVSwitch software, in the same way described here [[gm4slv_allstar_2025|]] and decided to bridge to ''TGIF'' instead of Brandmeister.
Line 2608: Line 2660:
  
 #includeifexists custom/iax.conf #includeifexists custom/iax.conf
 +
 +</code>
 +
 +++++
 +
 +++++ /etc/asterisk/echolink.conf |
 +
 +<code>
 +
 +[el0]
 +call = GM4SLV-L                          ; Change this!
 +pwd = XXXXXXX                          ; Change this!
 +name = John                        ; Change this!
 +qth = Allstar 481480                           ; Change this!
 +email = gm4slv@gm4slv.plus.com                         ; Change this!
 +node = 886089                           ; Change this!
 +; Data for EchoLink Status Page
 +lat = 60.2883                               ; Latitude in decimal degrees
 +lon = -001.42533                               ; Longitude in decimal degrees
 +freq = 144.9125                             ; not mandatory Frequency in MHz
 +tone = 0                              ; not mandatory CTCSS Tone (0 for none)
 +power = 2                               ; 0=0W, 1=1W, 2=4W, 3=9W, 4=16W, 5=25W, 6=36W, 7=49W, 8=64W, 9=81W (Power in Watts)
 +height = 0                              ; 0=10 1=20 2=40 3=80 4=160 5=320 6=640 7=1280 8=2560 9=5120 (AMSL in Feet)
 +gain = 0                                ; Gain in db (0-9)
 +dir = 0                                 ; 0=omni 1=45deg 2=90deg 3=135deg 4=180deg 5=225deg 6=270deg 7=315deg 8=360deg (Direction)
 +maxstns = 5                            ; Max Stations
 +
 +rtcptimeout = 10
 +recfile = /tmp/echolink_recorded.gsm    ;
 +astnode = 481480           ; Change this!
 +context = radio-secure                  ; Default in code is echolink-in
 +
 +; Max 3 servers
 +server1 = server1.echolink.org
 +server2 = server2.echolink.org
 +server3 = server3.echolink.org
 +
 +; To deny w6xxx you would add the statement: deny = w6xxx
 +; To prohibit computer-based connections you would write: permit = *-*
 +; To allow access to only a select group of callsigns: permit = w6abc,w6def,...
 +; permit                                ; comma delimited list of callsign, type (-r)
 +; deny
 +
 +
 +; Remote text commands thru netcat:
 +; o.conip <IPaddress>    (request a connect)
 +; o.dconip <IPaddress>   (request a disconnect)
 +; o.rec                  (turn on/off recording)
 +
 +; ipaddr
 +; port
 +
 +
 +#includeifexists custom/echolink.conf
  
 </code> </code>
Line 2622: Line 2728:
 This one is to use for tests and experiments.... This one is to use for tests and experiments....
  
-FIXME+<note> 
 +Experiment 1  
 + 
 +Friday 6th June 2025  
 + 
 +Make a 2nd DMR Bridge to monitor DVSPh TG733 "MilNet" 
 +</note> 
 + 
 +  * Made a new private node ''1398'' 
 +  * Connect ''481482'' to internal private ''1398'' 
 +  * Set up DVSwitch MMDVM_Bridge & Analog_Bridge 
 +    * MMDVM set to use Hotspot ID ''235442998'' 
 +    * Options=StartRef=4000;RelinkTime=0;UserLink=0;TS1_1=733; 
 +  * Connected MMDVM_Bridge to DVS_Ph F server - linked to TG733 
 +  * Main VHF Gateway Node ''481481'' connected to Test Node ''481482'' in "Monitor" mode. 
  
 --- //John Pumford-Green 05/06/25 22:30 BST// --- //John Pumford-Green 05/06/25 22:30 BST//
public/radio/2025/allstar_expands.1749227009.txt.gz · Last modified: by john