meteohub and blitzortung
Posted: Fri Aug 03, 2012 2:12 pm
Hi all
I have meteohub running perfectly on the alix 3D2, i also have the blitzortung controler board (usb) connected to the Alix 3D2 board. i use the file to install the linux tracker (linux program to send data from the controleer board to the blitzortung server): http://wetterstation-littau.ch/download ... racker.pdf
Meteohub is working if i manualy start the tracker program with : everything work well.
If i program an antomatic start (when the alix board start) with the linux tracker work well, meteohub start but the automatic ftp upload of html files and graphs don't work on meteohub, if i use the "Start & test" button (setup push service -> ftp upload) the "meteohub-upload.test" file is well uploaded on the ftp server...
I try to delay the automatic start of the linux tracker (i added sleep 240 on the file tracker_S20), i have the same problem.
tracker_S20:
I have meteohub running perfectly on the alix 3D2, i also have the blitzortung controler board (usb) connected to the Alix 3D2 board. i use the file to install the linux tracker (linux program to send data from the controleer board to the blitzortung server): http://wetterstation-littau.ch/download ... racker.pdf
Meteohub is working if i manualy start the tracker program with :
Code: Select all
/etc/init.d/tracker_S20 start
If i program an antomatic start (when the alix board start) with
Code: Select all
update-rc.d tracker_S20 defaults
I try to delay the automatic start of the linux tracker (i added sleep 240 on the file tracker_S20), i have the same problem.
tracker_S20:
Code: Select all
#! /bin/sh
## Programmeinstellungen
sleep 240
PROGDIR="/blitzortung/"
PROGNAME="tracker_Linux"
LOGFILE="-ll /blitzortung/log"
GPSTYPE="SiRF"
DEVICE="/dev/ttyUSB0"
BO_USERNAME="Login"
BO_PASSWORD="Password"
#####################################################################################################
COMMAND="$PROGDIR$PROGNAME $LOGFILE -vl -vo -vi $GPSTYPE $DEVICE $BO_USERNAME $BO_PASSWORD 1"
#####################################################################################################
# Aktionen
case "$1" in
start)
$COMMAND
;;
stop)
killall $PROGNAME
;;
restart)
$0 stop
$0 start
;;
esac
exit 0