How can I check if Pi is forwarding data?

Questions about joining this site
Post Reply
rdjsb
Posts: 3
Joined: Sun Sep 29, 2013 11:28 am

How can I check if Pi is forwarding data?

Post 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!
modesfan
Posts: 111
Joined: Thu Apr 07, 2016 7:37 pm

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

Post 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!
Post Reply