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!
How can I check if Pi is forwarding data?
-
- Posts: 111
- Joined: Thu Apr 07, 2016 7:37 pm
Re: How can I check if Pi is forwarding data?
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:
Then the output will be sent to the file /var/log/modes.log which you can inspect by:
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!
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 &
Code: Select all
cat /var/log/modes.log