Page 6 of 12 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 120

Thread: How to Install dump1090-mutability_1.15~dev on RPi

  1. #51
    Passenger
    Join Date
    Jan 2019
    Posts
    16
    Thanks to the OP for the wealth of info in this thread! I’ve successfully built my first RPi receiver from source, and it’s feeding properly to FR. However, I want to install this dev version to play around with the web server. Is there an “easy” way to install the dump1090-mutability without disrupting my existing FR feed? Or is it faster/easier to just start from scratch with a fresh image of Raspian? It looks do-able to my intermediately skilled brain, but I haven’t quite wrapped my head around the conflicts that could arise from re-installing dump1090 while I already have the FR24feed up and running.

    Again, thanks to the OP for helping all us newbies out. Very fun hobby.

  2. #52
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,835
    aesoprrp

    1. The very first thing you should do is to reconfigure the FR24 Feeder on the page http://<IP of RPi>:8754/settings.html.

      The "Receiver" setting should be "ModeS Beast(TCP)". Do NOT use Receiver "DVB-T Stick (default)"
      The "Host/IP" should be "127.0.0.1:30005"

      Please see screenshot below.
      After changing settings, dont forget to click "Save" button, then "Restart" button.
      Both these buttons are at bottom-right of the settings page.

      FR24 Settings.png


    2. Uninstall existing dump1090-mutability ver 1.14 which was installed by FR24FEED
      Code:
      sudo apt-get purge dump1090-mutability
      
      sudo rm -rf  /usr/share/dump1090-mutability
    3. Install dump1090-mutability ver 1.15~dev as per procedure in the first post of this thread.

    4. Reboot Pi

    5. ENJOY
    Last edited by abcd567; 2019-01-08 at 17:37.

  3. #53
    Captain
    Join Date
    Apr 2018
    Posts
    850
    Quote Originally Posted by aesoprrp View Post
    And just to make sure I'm understanding what's going on here... Both FR24feed and dump1090 need to decode the raw data, but only one program can access the SDR at a time. So dump1090 does the initial decoding, but passes the data along to the local port (30005). Then, FR24feed listens on the local address on that port, and it finds the data from dump1090. So it decodes it and sends it along to the FR24 servers. Is that a good estimation of what's happening here?
    Basically that's correct, but for the technical details:

    dump1090 listens on port 30005
    fr24feed connects to port 30005
    (other feeders like planefinder or flightaware could also connect to this port if you would want to feed other platforms)

    dump1090 does the actual decoding from the waveform / signal it gets from the dongle.
    This yields messages 56 bits or 112 bits long, which in turn can be interpreted.

    dump1090 and the feeder programs both do their own interpretation of those messages.

    dump1090 based on that information provides plane positions and so on via the local map.
    fr24feed reduces the amount of data and only sends data when something changes and probably only every 5 seconds minimum.
    (Also details on some planes are not transmitted at all when they are tracked by many receivers already, all done to save bandwidth)

  4. #54
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,835
    Setting: Receiver = DVB-T




    .
    .

    Setting: Receiver = AVR (TCP) or Beast (TCP)


  5. #55
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,835
    @wiedehopf

    When "receiver=dvbt" is set in "/etc/fr24feed.ini", the fr24feed runs script "install_dump1090.sh", which installs:

    • librtlsdr0
    • libusb-1.0-0
    • dirmngr
    • lighttpd
    • wget
    • dump1090-mutability ver 1.14


    Please see below for details:

    Code:
    pi@raspberrypi:~ $ ls /usr/lib/fr24
    create_missing_directories.sh  install_dump1090.sh
    dump1090                       public_html
    dump_diagnostics.sh            unregister_kernel_modules.sh
    fr24feed_updater.sh

    Code:
    pi@raspberrypi:~ $ cat /usr/lib/fr24/install_dump1090.sh
    
    #!/bin/bash
    
    # Stop on first error
    set -e
    
    LOGFILE=/var/log/fr24feed_install_dump1090.log
    exec > >(tee -a $LOGFILE)
    exec 2>&1
    
    if grep -q "^receiver.*dvbt" /etc/fr24feed.ini && [ ! -e /usr/lib/fr24/dump1090 ] ; then
        echo "dump1090 is not found, downloading dump1090-mutability..."
    
        # to skip any questions from APT
        export DEBIAN_FRONTEND=noninteractive
    
        echo 'dump1090-mutability dump1090-mutability/auto-start boolean false' | debconf-set-selections -v
    
        apt-get update -y
        apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install librtlsdr0 libusb-1.0-0 dirmngr lighttpd wget -y
    
        # Download and install dump1090-mutability
        wget -O /tmp/dump1090-mutability_1.14_armhf.deb https://github.com/mutability/dump1090/releases/download/v1.14/dump1090-mutability_1.14_armhf.deb
        dpkg -i /tmp/dump1090-mutability_1.14_armhf.deb
        rm -f /tmp/dump1090-mutability_1.14_armhf.deb
    
        ln -s /usr/bin/dump1090-mutability /usr/lib/fr24/dump1090
    
        lighty-enable-mod dump1090 || true
        service lighttpd force-reload || true
        systemctl enable lighttpd || true
        systemctl start lighttpd || true
    
        echo "dump1090-mutability is installed. You can always override it in /etc/fr24feed.ini with any other supported driver."
        echo "Web server (aircraft map) at http://YOUR_DEVICE_IP/dump1090 is enabled by default."
    fi

    Just now I wrote Raspbian Lite to microSD card, and first thing I did was to install fr24feed by bash script, and during configuration chose "Receiver : DVB-T".
    This is the dump1090-mutability ver 1.14 map:

    dump1090-mut ver 1.14.png

  6. #56
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,835
    Quote Originally Posted by JPZone View Post
    Ahh thats probably because I have a DVBT Sick as my receiver.
    OK do this:

    STEP-1
    Open file fr24feed.ini for editing
    Code:
    sudo nano /etc/fr24feed.ini
    In the file opened, make changes as shown in red below:
    Also dont leave fr24key blank. Insert its actual value (I have inserted below xxxxxxxxx as an example)

    Code:
    receiver="beast-tcp"
    fr24key="xxxxxxxxxxxxxx"
    host="127.0.0.1:30005"
    bs="no"
    raw="no"
    logmode="0"
    windowmode="0"
    logpath="/var/log/fr24feed"
    mpx="no"
    mlat="no"
    mlat-without-gps="no"
    use-http="yes"
    http-timeout="10"
    Save flie (Ctrl+o) and Close (Ctrl+x)

    STEP-2

    Purge out the dump1090-mut ver 1.14 (which has google map)

    Code:
    sudo dpkg --purge dump1090-mutability
    
    sudo rm -rf /usr/share/dump1090-mutability
    
    sudo reboot
    STEP-3
    install dump1090-mutability ver 1.15~dev according to instructions in first post of this thread.

    You will not have to install fr24feed again as it is already existing.
    You dont have to configure fr24feed, as you have already done it in STEP-1.

  7. #57
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,835
    speedycab

    The browser is showing the old cached map.

    (1) Clear browser cache by pressing Ctrl+Shift+Delete keys simoultaneously, then hit Enter key

    (2) Reload browser by simultaneusly pressing Ctrl+F5 keys.

    (3) Sometimes browsers are very stubborn and will not let go old cached content. Try steps (1) and (2) several times.

    (4) If items (1), (2), and (3) do not solve the problem, try another browser. For example if you are using Firefox, try Google Chrome and Safari.

  8. #58
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,835
    Quote Originally Posted by wiedehopf View Post
    There is a dongle on sale right now for around 14 euros with shipping sold by airnav/radarbox24 in their store.

    It seems to have SAW filter first and then a LNA basically the reverse setup the pro stick plus has.
    This is what I have suggested to Flightaware in May 2016, shortly after they have release ProStick (orange color) but BEFORE they announced ProStick PLUS (blue color):

    (1) Add a SAW filter in ProStick
    (2) Location of this SAW filter to be between input sma connector and LNA.


    Suggestion to Flightaware: Built in Filter in Pro Stick



    .
    Last edited by abcd567; 2019-02-03 at 13:48.

  9. #59
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,835
    The FlightAware's new filter is particularly useful for countries where mobile/cell phones use GSM900.

    The original FlightAware Filter cannot eliminate signals in this band, but the new version has a narrower pass-band, and can eliminate signals in this band also.

    New filter available in Europe:
    ModMyPi and Moonraker


    GSM-900:
    This band of frequencies is used for mobile/cell phones in most parts of the world (ITU-Regions 1 and 3): Africa, Europe, Middle East, Asia (apart from Japan and South Korea where GSM has never been introduced) and Oceania.

    GSM-900 uses 890 - 915 MHz to send information from the Mobile Phones to the Station on Mobile Tower (uplink), and 935 - 960 MHz for the other direction (downlink),

    GSM-850 (also known as GSM-800):
    This band of frequencies is used for mobile/cell phones in most of North, South and Central America (ITU-Region 2)

    GSM-850 uses 824 - 849 MHz to send information from the Cell Phone to the Station on Mobile Tower (uplink) and 869 - 894 MHz for the other direction (downlink).

  10. #60
    Passenger
    Join Date
    Mar 2019
    Posts
    11
    Hello everybody! I would just like to say Thank You to abcd567! I have followed the initial guide of this thread and I am so happy, I now have a working dump1090-mutability AND FR24 feed! I have just completed installation & config and during installation of FR24 the running dump1090 was recognized;
    We have detected that you already have a dump1090 instance running. We can therefore automatically configure the FR24 feeder to use the existing receiver configuration, or you can manually configure all the parameters.
    I chose autoconfigure and voila - it works! My DVB-dongle was configured as avr-tcp with no extra process arguments that I can see in 8754 settings.
    Now I will try to add RB24 or FA, maybe OpenSky, any of which can give me a good view of "my" station. A better antenna will arrive next week, and also the cheap RB24 FlightStick is ordered.

    Thanks!

    /Hans
    Last edited by hansp; 2019-04-14 at 14:48.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •