FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
157 views 0 comments
by anonymous
Good morning everyone,

I have a question for you.

Is it possible on the RUTX50 to store the GPS position on a USB localy?

Instead of sending it to a web server ?

If so could one possibly explain to me how I do this.

Thanks in advance

Rene

1 Answer

0 votes
by anonymous

Hello,

You could create a script, for example, in router’s /etc/ directory of a similar content:

#!/bin/ash
echo -e latitude: $(gpsctl -i) '\t' longitude: $(gpsctl -x) '\t' altitude $(gpsctl -a) >> /mnt/sda1/gps_data.txt

Make sure the script file is executable, with the following command:

  • chmod +x /etc/some_script.sh

Then you would need to generate a crontab to execute this script according to your desired frequency. 

More on crontabs usage in Teltonika devices can be found here: https://wiki.teltonika-networks.com/view/Crontabs

Best regards,