Benutzer-Werkzeuge

Webseiten-Werkzeuge


mmdvm

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung Beide Seiten der Revision
mmdvm [2018/09/06 22:46]
df2et [Configure Pi-Star and enable DAPNET]
mmdvm [2018/11/13 19:32]
dg9vh [No Pi-Star installed yet:]
Zeile 111: Zeile 111:
  
 73, DO6DAD 73, DO6DAD
 +
 +===== Troubleshooting =====
 +
 +Sometimes the DAPNETGateway-service got stuck when loosing internet-connection. This results in an error-state on the status-page of the transmitter at hampager.de. Unfortunately the service would be still running but not reconnecting.
 +
 +If you would like to implement a watchdog that restarts the service, if the transmitter goes into error-state you could use following script, that could be called every 5 minutes for example by crontab:
 +
 +
 +        #!/bin/bash
 +        RETVAL=$(curl -u <​username>:<​password>​ https://​www.hampager.de/​api/​transmitters/<​yourtransmittercallsign>​ | grep ERROR | wc -c)
 +        if [ "​$RETVAL"​ -gt 0 ]; then
 +                sudo systemctl stop dapnetgateway.service > /dev/null 2>&1
 +                echo restarting dapnetgateway
 +                sleep 5
 +                sudo systemctl start dapnetgateway.service > /dev/null 2>&1
 +        fi
 +
 +Remember to switch the sd-card to read-write-access with ''​rpi-rw''​ before creating the file in your home-directory. Also remind to make it executable with ''​chmod +x yourscriptname.sh''​
mmdvm.txt · Zuletzt geändert: 2023/02/24 17:35 von do1goe