- monitor gpsd, gpxlogger
- serve gpx-track's on website
- report GPS-position via sms (poll incoming messages and reply to accepted masters)
- upload gpx-track's to remote website
- download GL-X3000 gpx.tgz
- cd /tmp/mountd/disk1_part1
- tar xvzf GL-X3000\ gpx.tgz
- cd
- ln -s /tmp/mountd/disk1_part1/scripts scripts
- ./scripts/config.sh
- opkg install [list of packages from output]
- ln -s /tmp/mountd/disk1_part1/.config/etc/nginx/gl-conf.d/service-gps.conf /etc/nginx/gl-conf.d/service-gps.conf
- rerun config.sh and check column cmp shows ok for each file
- uci show gpsd
- compare output off command with file gpsd.uci (gpsd.core.parameters needs to be added)
- restart gpsd
- nginx -s reload
- ./scripts/gpxlogger-cron.sh
- logread -e gpx && date
- output like this should shown: 05.07.2023 11:29.00 CEST: starting gpxlogger
- ./scripts/gpx-parse.php gpxlog.gpx
- web-gui (http://[your router name here]/gps/) should show gpxlog.gpx
- copy line #1 from /tmp/mountd/disk1_part1/.cron/crontab
- crontab -e
- add copied line and remove #
- /etc/init.d/gpsd restart
- run logread from above
- repeat until cron starts gpxlogger-cron.sh
- send "Report GPS-Position" to GL-X3000 (exact typing pls)
- send "Upload GPX-Track" to GL-X3000
- send "Mail GPX-Track" to GL-X3000
- find /etc/spool/sms/incoming/ -type f -exec grep -iE "^from: " {} \;
- pick your number and add to /tmp/mountd/disk1_part1/scripts/tools/sms-check.masters
- the message should be answered when cron job runs (use logread from above)
- configure your server to serve /tmp/mountd/disk1_part1/.www/upload/upload.php
- generate ca and user certificates
- edit /tmp/mountd/disk1_part1/.www/gps/RemoteConfig.php
- ./scripts/gpx-upload.php
- copy line #2 to crontab
- configure /etc/ssmtp/revaliases
- if you want to use it via sms you have to attach an email address to your phone number in sms-check.masters
- create scripts/certs
- [recipient].cer (by now only one is supported; if present, than the recipient is extract from this file)
- signer.pem and signer_key.pem (with -nodes!)
- ./scripts/email.sh [your e-mail addresse]
- download tar ball
- extract changed files
echo -e ".www/gps/[RL]*Config.php\nscripts/tools/sms-check.masters" | tar xvzf GL-X3000\ gpx.tgz -X -