Modes logger with Radarcape?

Questions about joining this site
antonov124
Posts: 21
Joined: Sun Aug 14, 2016 12:26 pm
Location: EDDC

Modes logger with Radarcape?

Post by antonov124 »

Anyone tried the Radarcape?

http://wiki.modesbeast.com/Radarcape:Contents
Is it possible to use with the Modes at Linux?

greetings
modesfan
Posts: 111
Joined: Thu Apr 07, 2016 7:37 pm

Re: Modes logger with Radarcape?

Post by modesfan »

Hello antonov124,

Just follow the guide for RPi: https://www.live-military-mode-s.eu/Rpi/
This should also work for Radarcape.
antonov124
Posts: 21
Joined: Sun Aug 14, 2016 12:26 pm
Location: EDDC

Re: Modes logger with Radarcape?

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

Re: Modes logger with Radarcape?

Post by modesfan »

try:
sudo /etc/init.d/modes.sh start
antonov124
Posts: 21
Joined: Sun Aug 14, 2016 12:26 pm
Location: EDDC

Re: Modes logger with Radarcape?

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

Re: Modes logger with Radarcape?

Post 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
antonov124
Posts: 21
Joined: Sun Aug 14, 2016 12:26 pm
Location: EDDC

Re: Modes logger with Radarcape?

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

Re: Modes logger with Radarcape?

Post 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
Last edited by modesfan on Sat Nov 04, 2017 6:38 pm, edited 1 time in total.
antonov124
Posts: 21
Joined: Sun Aug 14, 2016 12:26 pm
Location: EDDC

Re: Modes logger with Radarcape?

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

Re: Modes logger with Radarcape?

Post by modesfan »

Check the PROG_PATH in your modes.sh!
Try the direct way: java -jar /home/debian/modesfiltered/modesfiltered.jar
Post Reply