Page 1 of 2
Modes logger with Radarcape?
Posted: Thu Oct 19, 2017 1:14 pm
by antonov124
Anyone tried the Radarcape?
http://wiki.modesbeast.com/Radarcape:Contents
Is it possible to use with the Modes at Linux?
greetings
Re: Modes logger with Radarcape?
Posted: Fri Oct 20, 2017 6:29 pm
by modesfan
Hello antonov124,
Just follow the guide for RPi:
https://www.live-military-mode-s.eu/Rpi/
This should also work for Radarcape.
Re: Modes logger with Radarcape?
Posted: Tue Oct 31, 2017 9:29 am
by antonov124
Code: Select all
debian@radarcape:~/modesfiltered$ sudo cp /home/debian/modesfiltered/modes.sh /etc/init.d/
debian@radarcape:~/modesfiltered$ sudo chmod +x /etc/init.d/modes.sh
debian@radarcape:~/modesfiltered$ sudo service modes.sh start
Failed to start modes.service: Unit modes.service not found.
debian@radarcape:~/modesfiltered$
;(
ive edited the modes.sh from "pi" to "debian" as home dir
Re: Modes logger with Radarcape?
Posted: Wed Nov 01, 2017 9:19 pm
by modesfan
try:
sudo /etc/init.d/modes.sh start
Re: Modes logger with Radarcape?
Posted: Thu Nov 02, 2017 10:15 pm
by antonov124
nice try,
works no error, but the stats page dont show me /
ive edited the mode.sh from /home/"pi" to "debian"
any more changes in modesfiltered to debian user?
Re: Modes logger with Radarcape?
Posted: Fri Nov 03, 2017 7:45 pm
by modesfan
check with: ps ax | grep modes
If the program is running (answer is like java -jar modesfiltered.jar) the modes.sh is correct.
If there still is no data, check: nc 127.0.0.1 30003
Check the logfile: cat /var/log/modes.log
Re: Modes logger with Radarcape?
Posted: Sat Nov 04, 2017 8:06 am
by antonov124
debian@Radarcape:~/modesfiltered$ sudo /etc/init.d/modes.sh start
Error! modesfiltered.jar is already running!
debian@Radarcape:~/modesfiltered$ ps ax | grep modes
2316 pts/0 S+ 0:00 grep modes
debian@Radarcape:~/modesfiltered$
with nc 127.0.0.1 30003 i see the data flown

Re: Modes logger with Radarcape?
Posted: Sat Nov 04, 2017 9:15 am
by modesfan
The program is running and there is data coming. There could be a connection problem. Check the logfile!
Do a restart:
sudo /etc/init.d/modes.sh stop
sudo /etc/init.d/modes.sh start
Check the logfile:
cat /var/log/modes.log
Re: Modes logger with Radarcape?
Posted: Sat Nov 04, 2017 9:25 am
by antonov124
/etc/init.d/modes.sh: line 26: java: command not found
but java:
debian@Radarcape:~$ java -version
java version "1.8.0_152"
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
Java HotSpot(TM) Client VM (build 25.152-b16, mixed mode)
debian@Radarcape:~$
Re: Modes logger with Radarcape?
Posted: Sat Nov 04, 2017 6:37 pm
by modesfan
Check the PROG_PATH in your modes.sh!
Try the direct way: java -jar /home/debian/modesfiltered/modesfiltered.jar