Originally posted by equi
View Post
Announcement
Collapse
No announcement yet.
Archived - Beta test MLAT software for Raspberry Pi
Collapse
This topic is closed.
X
X
-
Originally posted by HermanZA View PostFinding that the Receiver part of the feeder tends to stop or go into an error condition.
[FAIL] Receiver: down ... failed!
Stopping it, waiting a few seconds then a start, tends to solve the issue.
Anyone seeing the same issues?
Any automation or watchdog that can do a stop/start every x hours?T-YBBN50 - Kallangur, QLD, Australia
Comment
-
Originally posted by patrick1501 View PostWould you mind sharing the script you wrote?
sure
Code:#!/bin/sh service fr24feed restart
I created a script named "fr24cron.sh" with above content. To make a .sh file run, usechmod a+x fr24cron.sh
RegardsRegards,
T-EDDE7
Debian 8 Server | jetvision ADS-B USB Dongle | ADS-B Collinear Antenna
Banana Pi | Mystique SDR R820T2 | stock Antenna
Comment
-
Thanks for sharing. I was expecting something more complex, that would first detect if the process was still running or not. But if it does what it is supposed to do, that's perfect!
For example, here is the script I used in my previous configuration, as dump1090 had a bad tendency to crash from time to time:
Code:#!/bin/sh ps auxw | grep dump1090 | grep -v grep > /dev/null if [ $? != 0 ] then echo "$(date) Restarting dump1090" >> ~/monitorDump1090/log.txt sudo /etc/init.d/dump1090-mutability start > /dev/null fi
Regards,
Patrick
Comment
-
I had no time to check the mutability fork yet. However,Robb's Fork and the original dump1090 are working fine for several days without any crash on my Banana.Regards,
T-EDDE7
Debian 8 Server | jetvision ADS-B USB Dongle | ADS-B Collinear Antenna
Banana Pi | Mystique SDR R820T2 | stock Antenna
Comment
-
This is very interesting! Just wondering, how you achieve the common timebase for MLAT calculations without a GPS time source? Or are you comparing the relative timestamps and positions of known ADS-B targets to generate a local time reference, provided that the exact location and latitude of the RPI receiver is known? The math here is quite clever..
Comment
-
Originally posted by equi View PostI had no time to check the mutability fork yet. However,Robb's Fork and the original dump1090 are working fine for several days without any crash on my Banana.
If people are having troubles with the most recent versions of dump1090 crashing on their Raspberry Pi's (I cannot comment on Banana Pi's never used them, but a good chance the same problem can occur) then maybe you need to look beyond the software. If you don't feed enough AMPS into the Pi for the Pi itself + the RTL-SDR dongle, then there is a good chance the dongle won't get enough power and it itself will disconnect or definitely will cause spurious errors to be generated which is probably crashing dump1090.. Check what is displayed in the kernel log after a crash, you can do this by typing "dmesg" at the command prompt (no need to sudo) .. If you see lines at the bottom to do with USB and disconnecting and then redetecting the dongle, then that is what's happening.. Low power... This will cause the rtl-sdr kernel modules to unload and then load again and therefore causing dump1090 to terminate...T-YBBN50 - Kallangur, QLD, Australia
Comment
-
Originally posted by dstreufert View PostSo, can someone tell me how to load the new version of fr24feed _without_ the FR24 version of dump1090? I want to retain the Flightaware version, and pass info to fr24.
Code:sudo mv /usr/lib/fr24/dump1090 /usr/lib/fr24/dump1090-fr24
Code:sudo ln -s /usr/bin/dump1090 /usr/lib/fr24/dump1090
Code:sudo ln -s /usr/bin/dump1090-mutability /usr/lib/fr24/dump1090
And in /etc/fr24feed.ini
change the mlat settings to:
mlat="no"
mlat-without-gps="no"
If that doesn't work let me know..T-YBBN50 - Kallangur, QLD, Australia
Comment
-
Originally posted by bhaal View PostIf you don't feed enough AMPS into the Pi for the Pi itself + the RTL-SDR dongle, then there is a good chance the dongle won't get enough power and it itself will disconnect or definitely will cause spurious errors to be generated which is probably crashing dump1090.T-YSBK22
Comment
-
Originally posted by rodeo View PostValid point - interesting to note that some suppliers only supply a wall wart capable of 1-1.2A with their Pi's. I bought my Pi from Wiltronics, they supply a 2A wall wart. I've got the dongle feeding straight from one of the Pi's USB ports via a 1m extension cable and its never missed a beat, yet I see others saying you have to feed them via a powered USB hub.Regards,
T-EDDE7
Debian 8 Server | jetvision ADS-B USB Dongle | ADS-B Collinear Antenna
Banana Pi | Mystique SDR R820T2 | stock Antenna
Comment
-
Originally posted by equi View PostIt's always a good idea to use an active USB Hub on those kind of computers because they may lack in power supply to the SDR which causes a software crash.T-YSBK22
Comment
-
Originally posted by rodeo View PostValid point - interesting to note that some suppliers only supply a wall wart capable of 1-1.2A with their Pi's. I bought my Pi from Wiltronics, they supply a 2A wall wart. I've got the dongle feeding straight from one of the Pi's USB ports via a 1m extension cable and its never missed a beat, yet I see others saying you have to feed them via a powered USB hub.T-YBBN50 - Kallangur, QLD, Australia
Comment
Comment