Announcement

Collapse
No announcement yet.

How to Install dump1090-mutability on RPi

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • jrf
    replied
    @abcd567
    Thx, installed again (Lite image), installation went through with no error messages. I have no clue why I did not work before. I had the following error that was corrected with the below command and a reboot:
    AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
    Code:
    sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
    I will add the data feeders for FR24 and FA, but first need to figure out what to do to keep my sharing keys for both data feeds the same (replacing the still running "old" RPi).

    Leave a comment:


  • abcd567
    replied
    @jrf

    I could install debhelper on 2018-03-13-raspbian-stretch-lite.img, which I downloaded today.

    pi@raspberrypi:~ $ cat /etc/os-release
    PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
    .................................................. ...............
    .................................................. ...............


    pi@raspberrypi:~ $ cat /boot/issue.txt
    Raspberry Pi reference 2018-03-13
    .................................................. ...............


    pi@raspberrypi:~ $ apt-cache policy debhelper
    debhelper:
    Installed: (none)
    Candidate: 10.2.5
    .................................................. ...............
    .................................................. ...............


    pi@raspberrypi:~ $ sudo apt-get install debhelper
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    .................................................. ..............
    .................................................. ..............
    Setting up debhelper (10.2.5) ...
    Setting up dh-strip-nondeterminism (0.034-1) ...
    Processing triggers for libc-bin (2.24-11+deb9u3) ...
    pi@raspberrypi:~ $

    Leave a comment:


  • abcd567
    replied
    First of all I apologize for late reply. I missed your post, and just now noticed it.

    Originally posted by lcn View Post
    I getting this error message after i followed all steps described in post #1 [ i'm running : Raspbian GNU/Linux 9 (stretch) ]
    Most likely this is a hardware problem. Either the dongle is not plugged into Pi properly and firmly, or is defective. Another possibility is that the dongle is not getting enough current due to bad or undersized 5v DC power adapter.
    1. Unplug the dongle from Pi, then replug the dongle into Pi firmly, reboot, and check again.

    2. Check and tighten antenna cable connection to dongle.

    3. If above does not solve the problem, test your dongle by method given in this thread:
      Is My DVB-T RTL SDR Dongle Healthy?.

      Use OPTION-2, which is much easier as you have dongle plugged into Raspberry Pi

    4. If all above fails, try another larger capacity 5V DC adapter.



    Originally posted by lcn View Post
    dump1090-fa is NOT installed so far, as post#1 does not mention to do so.
    Should i have dump1090-fa installed or dump1090-mutability is the only one needed ?
    Only one dump1090 is necessary. As you already have dump1090-mutability v1.15~dev installed you dont need dump1090-fa or any other version. Infact installing more than one type of dump1090 causes clash between the dumps, and results in malfunction.
    Last edited by abcd567; 2018-03-16, 22:20.

    Leave a comment:


  • lcn
    replied
    Hello

    I getting this error message after i followed all steps described in post #1 [ i'm running : Raspbian GNU/Linux 9 (stretch) ]

    Problem fetching data from dump1090.
    AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
    The displayed map data will be out of date.
    The following instructions did not fix it, i'm still getting the message when browsing : ip/dump1090/gmap.html

    Code:
    sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
    sudo /etc/init.d/dump1090-mutability restart
    sudo reboot
    I'm newbie,
    dump1090-fa is NOT installed so far, as post#1 does not mention to do so.
    Should i have dump1090-fa installed or dump1090-mutability is the only one needed ?

    Code:
    apt-cache policy dump1090-fa
    dump1090-fa:
    Installed: (none)
    Candidate: 3.5.3
    Version table:
    3.5.3 500
    500 http://flightaware.com/adsb/piaware/files/packages jessie/piaware armhf Packages
    Code:
    apt-cache policy dump1090-mutability
    dump1090-mutability:
    Installed: 1.15~dev
    Candidate: 1.15~dev
    Version table:
    *** 1.15~dev 100
    100 /var/lib/dpkg/status
    Code:
    apt-cache policy piaware
    piaware:
    Installed: 3.5.3
    Candidate: 3.5.3
    Version table:
    *** 3.5.3 500
    500 http://flightaware.com/adsb/piaware/files/packages jessie/piaware armhf Packages
    100 /var/lib/dpkg/status
    Would you please help me ?
    Last edited by lcn; 2018-03-01, 09:29.

    Leave a comment:


  • abcd567
    replied
    Currently dump1090-mutability uses Open Steert Map.

    If someone wants dump1090-mutability v1.15~dev which has Google map, he has to install an older version which was released earlier than the switch to Open Street map. Here is how to do this:

    Step-By-Step Method for Installing June 8, 2016 version of dump1090-mutability v1.15~dev (The last version which had Google Map).

    STEP-1: Install build tools and dependencies
    Code:
    $ sudo apt-get update
    $ sudo apt-get install librtlsdr-dev libusb-1.0-0-dev pkg-config debhelper
    $ sudo apt-get install lighttpd 
    $ sudo apt-get install git

    STEP-2: Clone source code from GitHub
    Code:
    $ git clone https://github.com/mutability/dump1090.git
    $ cd dump1090

    STEP-3: Reset git to the last version which had Google Map.
    Code:
    $ git reset --hard dfe3d7af12
    HEAD is now at dfe3d7a Merge pull request #126 from rxseger/osx

    STEP-4: Build .deb package from source code
    Code:
    $ sudo dpkg-buildpackage -b

    STEP-5: Install the .deb package
    Code:
    $ cd ../
    $ sudo dpkg --install dump1090-mutability_1.15~dev_armhf.deb
    $ sudo lighty-enable-mod dump1090
    $ sudo /etc/init.d/lighttpd force-reload

    STEP-6: Configure settings
    Code:
    $ sudo dpkg-reconfigure dump1090-mutability
    $ sudo systemctl restart dump1090-mutability
    $ sudo reboot

    STEP-7: Enjoy the Google Map
    dump1090-mutability-GoogleMap-Commit 8 June 2016.png

    Leave a comment:


  • abcd567
    replied
    [SOLVED] BUGS IN RASPBIAN STRETCH [SOLVED]

    (1) dump1090-mutability fails to open DVB-T. Gives following error:
    Code:
    Problem fetching data from dump1090.
    AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
    The displayed map data will be out of date.
    Reason: Missing rtl-sdr.rules.


    Workaround:
    Code:
    sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
    
    sudo reboot
    .
    .
    .

    (2) FlightRadar24's fr24feed fails to install by bash script.

    Reason: Missing package "dirmngr".


    Workaround:
    Code:
    sudo apt-get update
    sudo apt-get install dirmngr
    
    sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"
    #Enter details when prompted.
    .
    .
    .

    (3) RadarBox24's rbfeeder fails to install by bash script
    Code:
    sudo bash -c "$(wget -O - http://apt.rb24.com/inst_rbfeeder.sh)"
    .........
    W: GPG error: [url]http://apt.rb24.com[/url] jessie Release: The following signatures were invalid: A7E7D5E3786CA2212A3A5F4769D62C99357DF51A
    W: The repository 'http://apt.rb24.com jessie Release' is not signed.
    .........
    WARNING: The following packages cannot be authenticated!
      rbfeeder
    .....
    Failed to start rbfeeder.service: Unit rbfeeder.service not found.

    Workaround:
    Code:
    sudo apt-get update
    sudo apt-get install rbfeeder
    Ignore following warning during install and say y
    Code:
    WARNING: The following packages cannot be authenticated!
      rbfeeder
    Install these packages without verification? [y/N]
    Last edited by abcd567; 2017-09-21, 21:23.

    Leave a comment:


  • abcd567
    replied
    If you are using Raspbian STRETCH, you will get this notice on map:
    Problem fetching data from dump1090.
    AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
    The displayed map data will be out of date
    • The solution is to add a file "rtl-sdr.rules" with proper entries in folder /etc/udev/rules.d
    • Blacklisting is NOT required.


    Use this simple one-step solution:
    Code:
    sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
    
    sudo reboot
    NOTE:
    I have worked out the bove simplified solution based on solutions posted by jaxxtheone, Randstad, and thehague.
    Last edited by abcd567; 2017-09-01, 22:10.

    Leave a comment:


  • thehague
    replied
    Originally posted by sebasuchan
    It works. Thank you very much for these lines of code
    Originally posted by Dimdim
    Thank you so much thehague.
    It works!!!
    You're welcome.

    Leave a comment:


  • thehague
    replied
    Originally posted by sebasuchan
    Hello Captain, I have installed and followed the installation guide with a fresh install and I have the same problem than DimDim
    Problem fetching data from dump1090.
    AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
    The displayed map data will be out of date
    I can't send data to FR24, PlaneFinder, Flightaware
    unknown version of DUMP1090 after install
    Originally posted by Dimdim View Post
    Hi,

    I have followed almost all the steps until instaling fr24. So far everthings is working except the gmap.html.
    I think the error lies under the second clock. Unkown version.

    Problem fetching data from dump1090.
    AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
    The displayed map data will be out of date.


    [ATTACH=CONFIG]8848[/ATTACH]
    Try this:
    Code:
    #open file rtl-sdr-blacklist.conf for editing
    sudo nano /etc/modprobe.d/rtl-sdr-blacklist.conf
    
    #add the following 2 lines to above file:
    blacklist dvb_usb_rtl2832u
    blacklist dvb_usb
    
    #save file
    
    #get the vendor and product ID from your USB receiver
    lsusb
    
    #note that line which is related to your stick (e.g. Bus 003 Device 018: ID [B]0bda:2832[/B] Realtek Semiconductor Corp. RTL2832U DVB-T)
    
    #open file rtl-sdr.rules for editing
    sudo nano /etc/udev/rules.d/rtl-sdr.rules
    
    #add the following line to above file and change the id's (e.g.):
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="[B]0bda[/B]", ATTRS{idProduct}=="[B]2832[/B]", MODE:="0666" -
    
    #save file
    #exit and reboot
    sudo reboot
    Last edited by thehague; 2017-08-30, 21:31.

    Leave a comment:


  • Dimdim
    replied
    Hi,

    I have followed almost all the steps until instaling fr24. So far everthings is working except the gmap.html.
    I think the error lies under the second clock. Unkown version.

    Problem fetching data from dump1090.
    AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
    The displayed map data will be out of date.


    Unavngivet.jpg

    Leave a comment:


  • abcd567
    replied
    @ drworld88:
    Go to this thread:

    Automated Installation of Dump1090-Mutability, Data Feeders, and Performance Graphs

    Follow instructions. When "install.sh" starts running, it will offer many options one after the other. Say NO to ALL options. Don't select any type of dump1090 or any data feeders when presented. At the end it will offer "Web Portal". Say OK to it. It will then again ask if you want "Advance Option". Say NO to it. Advance option saves all flight data on you microSD card, and make it full in due course.

    .

    Leave a comment:


  • drworld88
    replied
    Hi

    Currently running this install of dump1090-mutability_1.15~dev with no problems and feeding fr24. What is the easiest way of adding performance graphs to this install?
    With many thanks

    Doug

    Leave a comment:


  • abcd567
    replied
    Originally posted by 71sbeetle
    It looks like this was removed.
    Is there a way to have alternating ring colors?
    I have removed it because it became outdated.

    Today I have added an updated version here (Page 1 post #3 of this thread)

    https://forum.flightradar24.com/thre...ll=1#post79570



    Originally posted by 71sbeetle
    I found your other post on I believe another forum but it seems it doesn't work with dump1090 mutability as I cannot find "function drawCircle" in the script.
    Yes, it is out dated in the other forum.
    Yesterday I have added a new thread "Tweaks" in the other forum which has the updated method.
    Last edited by abcd567; 2017-07-25, 17:29.

    Leave a comment:


  • dskr
    replied
    Hi,

    can someone tell me how to change the interval in which the aircraft.json/history_X.json are being created?

    On Github (github.com/mutability/dump1090/blob/master/README-json.md) it says
    "history_0.json, history_1.json, ..., history_119.json

    These files are historical copies of aircraft.json at (by default) 30 second intervals. They follow exactly the same format as aircraft.json."
    I am running a python skript that fetches all the aircraft-data from the history_x.json-files and merges them together but the "time-gaps" between each file are too big...

    => Solved the problem by opening the aircraft.json every second..
    Last edited by dskr; 2017-05-15, 14:06.

    Leave a comment:


  • abcd567
    replied
    ABOUT AGC

    Following are comments by Oliver Jowett (obj), who is the author of dump1090-mutability:

    Turning on the tuner AGC sets a fixed gain for one gain stage and hands control of the other stages over to the AGC.

    The AGC works by measuring the amplified signal power over a period and using that in a feedback loop to control the gain to try to get an amplified signal power that is somewhere in the middle of the usable range - i.e. if the amplified power is too low, it increases the gain, and vice versa. The AGC is designed for the dongle's original purpose - receiving digital TV signals. For a digital TV signal you are receiving a continuous signal from a single transmitter so this works fine.

    ADS-B signals are bursts that are much shorter than the measurement period, and they originate from many transmitters of different power at different ranges. So the AGC measurement is basically useless and in practice the AGC sees it as a very weak signal and ends up setting the gain as high as it will go.

    Due to a quirk in librtlsdr, the combination of the manually set gain stage + the AGC-controlled gain stages results in a total gain that is higher than what librtlsdr will let you set directly.

    Leave a comment:

Working...
X