Page 1 of 1

How can I check if Pi is forwarding data?

Posted: Sat Aug 06, 2016 9:22 pm
by rdjsb
I followed the instructions Albert wrote here : http://www.live-military-mode-s.eu/share/PI/

How do I know it works?
How can I check on my Raspberry Pi if it's forwarding data, because I don't see the location "Clecy, FR" on the website yet ?

Hope someone can help!

Re: How can I check if Pi is forwarding data?

Posted: Mon Aug 08, 2016 3:14 pm
by modesfan
Hello rdjsb!

If you are using a renamed modes.txt then you should see something like "UPDATE statusPI" or "INSERT IGNORE INTO LATLONPI" in the terminal.

I recommend to modify line 23 of this file to:

Code: Select all

java -jar $PROG > /var/log/modes.log &
Then the output will be sent to the file /var/log/modes.log which you can inspect by:

Code: Select all

cat /var/log/modes.log
It is also a good idea to mount the /var/log directory to a ram disk. See: http://www.zdnet.com/article/raspberry- ... e-sd-card/ for further instructions!