Announcement

Collapse
No announcement yet.

How to Install dump1090-mutability on RPi

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

  • Scroggie
    replied
    Hi all

    I've just gone through ALL of abd567 excellent instructions "How to Install dump1090-mutability on RPi"
    I wasn't sure if it would be a problem since I now have Bullseye 64bit on a pi4 but thought it worth a try.
    Well it was 99.9% successful!

    It was at this point (adding gain control) that I hit a problem:-
    BUSTER
    Code:
    sudo apt install php7.3-cgi

    However. sudo apt install php7.4-cgi does the job nicely!


    If you happen to see this Captain, you might like to add this to your instructions for gain setting :-

    BULLSEYE
    Code:
    sudo apt update
    sudo apt install php7.4-cgi


    I know there are different more up to date versions but I personally like this one so it was great to get it running on a new build.

    Leave a comment:


  • ramimz
    replied
    Amazing, It's working great

    Thank you very much.




    Originally posted by abcd567 View Post


    Please visit the page linked below which has howto and scripts for automated installation of "Set-Gain" in browser / map for following 3 cases:
    • Piaware SD Card image
    • Raspberry Pi OS with dump1090-fa
    • Raspberry Pi OS with dump1090-mutability

    https://github.com/abcd567a/set-gain...ster/README.md


    .
    You do not have permission to view this gallery.
    This gallery has 1 photos.

    Leave a comment:


  • abcd567
    replied
    Originally posted by ramimz View Post
    Dear Abcd567, Is there a way to install Gain button and RSSI with dump1090-fa ?

    Please visit the page linked below which has howto and scripts for automated installation of "Set-Gain" in browser / map for following 3 cases:
    • Piaware SD Card image
    • Raspberry Pi OS with dump1090-fa
    • Raspberry Pi OS with dump1090-mutability

    https://github.com/abcd567a/set-gain...ster/README.md




    .

    Leave a comment:


  • ramimz
    replied
    Dear Abcd567, Is there a way to install Gain button and RSSI with dump1090-fa ?



    Originally posted by abcd567 View Post
    READ & SET GAIN FROM BROWSER / DUMP1090 MAP

    Last Updated: 20th July, 2018

    This method is for dump1090-mutability ver 1.15~dev.

    It will NOT work for PI24 / dump1090-mutability ver 1.14 ("Receiver=DVBT" setting)


    OPTION-1: INDEPENDENT



    OPTION-2: EMBEDDED IN MAP





    STEP-1: Only Step-1 is different for Jessie, Stretch, and Buster, rest is same.

    JESSIE
    Code:
    sudo apt update
    sudo apt install php5-cgi

    STRETCH
    Code:
    sudo apt update
    sudo apt install php7.0-cgi
    BUSTER
    Code:
    sudo apt update
    sudo apt install php7.3-cgi

    STEP-2:
    Code:
    sudo lighty-enable-mod fastcgi-php
    sudo /etc/init.d/lighttpd force-reload

    STEP-3:
    Create a new file gain.php containing gain button, drop-down list of gains & current gain display.

    3.1 - Create a new file gain.php in folder /usr/share/dump1090-mutability/html
    Code:
    sudo nano /usr/share/dump1090-mutability/html/gain.php
    3.2 - Copy-paste following code in newly created blank file gain.php

    NOTE:Code is larger than displayed. Scroll Right and Scroll Down to see these in full.
    [code]
    <html>
    <form id="myform" action="gain.php" method="post" />
    <div><font color=#ff0000 face="'Helvetica Neue', Helvetica, Arial, sans-serif">Current Gain: <?php system('cat /usr/local/sbin/gain/currentgain');?> </font></div>
    <select name="gain" id="gain">
    <option value=-10>-10</option>
    <option value=49.6>49.6</option>
    <option value=48.0>48.0</option>
    <option value=44.5>44.5</option>
    <option value=43.9>43.9</option>
    <option value=43.4>43.4</option>
    <option value=42.1>42.1</option>
    <option value=40.2>40.2</option>
    <option value=38.6>38.6</option>
    <option value=37.2>37.2</option>
    <option value=36.4>36.4</option>
    <option value=33.8>33.8</option>
    <option value=32.8>32.8</option>
    <option value=29.7>29.7</option>
    <option value=28.0>28.0</option>
    <option value=25.4>25.4</option>
    <option value=22.9>22.9</option>
    <option value=20.7>20.7</option>
    <option value=19.7>19.7</option>
    <option value=16.6>16.6</option>
    </select>
    <input type="submit" value="Set Gain" style="color:#ffffff;background-color:#00A0E2;border-color:#00B0F0;" />
    </form>
    </html>
    Current Gain (red) will be updated.

    Leave a comment:


  • abcd567
    replied
    Originally posted by Boxitec View Post
    Good morning,

    is it possible to set the ppm for the RTL2838 receiver in
    Code:
    /etc/default/dump1090-fa
    Why you want to adjust PPM? it is really not important. I never adjust PPM.

    However if you want to adjust PPM, following is the procedure:

    If you are using Raspberry Pi OS with package install of dump1090-fa, then do this:

    Code:
    sudo nano /etc/default/dump1090-fa
    Scroll down to this line
    Code:
    # Additional options can be added here:
    EXTRA_OPTIONS=""
    Add your PPM's desired value n like this:
    (Replace n by the number you want)
    Code:
    # Additional options can be added here:
    EXTRA_OPTIONS="--ppm n"
    Save file (Ctrl + O) and close (Ctrl + X)

    Restart dump1090-fa
    Code:
    sudo systemctl restart dump1090-fa

    If you are using piaware SD card image, do this:
    In piaware sd card image, the changes you make to file "/etc/default/dump1090-fa" will be removed on reboot.

    To make change stay even after reboot, use command given below (it will not work with package install).

    Give following command to adjust PPM to desired value n
    (Replace n by the number you want)

    Code:
    sudo piaware-config rtlsdr-ppm n


    .
    Last edited by abcd567; 2022-02-18, 14:35.

    Leave a comment:


  • Boxitec
    replied
    Good morning,

    is it possible to set the ppm for the RTL2838 receiver in
    Code:
    /etc/default/dump1090-fa

    Leave a comment:


  • abcd567
    replied
    Originally posted by AV8ORS View Post

    Uninstalled 1090-mutability, now when I try to access my Gmap says 404 not found...
    ????
    The gmap is part of dump1090-mutability and was removed when you uninstalled dump1090-mutability, hence you can no more access it.

    However you can see the dump1090-fa map at following address in your browser:

    IP-of-Pi/skyaware




    Leave a comment:


  • AV8ORS
    replied
    Originally posted by abcd567 View Post

    The dump1090-fa was forked from dump1090-mutability. The author of both is same person (Oliver B. Jewett, in short known as obj). Function wise both are more or less the same. Appearance wise, dump1090-fa is better, as it is being maintained and improved by obj, but the dump1090-mutability is no more improved and maintained by obj.

    In short, functionally, both are same, map wise dump1090-fa is better looking.


    .
    Uninstalled 1090-mutability, now when I try to access my Gmap says 404 not found...
    ????
    Last edited by AV8ORS; 2022-02-10, 14:32.

    Leave a comment:


  • abcd567
    replied
    Originally posted by AV8ORS View Post

    Which one is the best? Or which one is used by most apps?
    The dump1090-fa was forked from dump1090-mutability. The author of both is same person (Oliver B. Jewett, in short known as obj). Function wise both are more or less the same. Appearance wise, dump1090-fa is better, as it is being maintained and improved by obj, but the dump1090-mutability is no more improved and maintained by obj.

    In short, functionally, both are same, map wise dump1090-fa is better looking.


    .

    Leave a comment:


  • AV8ORS
    replied
    Originally posted by abcd567 View Post

    This is a mess

    You must uninstall one of the two.


    ​​​​​​​.
    Which one is the best? Or which one is used by most apps?

    Leave a comment:


  • abcd567
    replied
    Originally posted by AV8ORS View Post


    dump1090-mutability:
    Installed: 1.15~dev

    dump1090-fa:
    Installed: 7.1

    Guess I have both. thatīs wrong right?
    This is a mess

    You must uninstall one of the two.

    If you want to uninstalludump1090-fa, use this command:
    Code:
    sudo apt-get purge dump1090-fa  
    
    sudo rm -rf /usr/share/dump1090-fa  
    
    sudo reboot
    If you want to uninstall dump1090-mutability, use this command
    Code:
    sudo apt-get purge dump1090-mutability  
    
    sudo rm -rf /usr/share/dump1090-mutability  
    
    sudo reboot


    ​​​​​​​.

    Leave a comment:


  • Oblivian
    replied
    Yep. One will steal it, and block the other from showing stuff.

    Leave a comment:


  • AV8ORS
    replied
    Originally posted by abcd567 View Post

    Lets first check what decoder you got installed.
    Please post output of following commands:

    Code:
    apt-cache policy dump1090-mutability
    
    apt-cache policy dump1090-fa


    .

    dump1090-mutability:
    Installed: 1.15~dev
    Candidate: 1.15~dev
    Version table:
    *** 1.15~dev 100
    100 /var/lib/dpkg/status
    1.15~20180310.4a16df3+dfsg-8 500
    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages


    dump1090-fa:
    Installed: 7.1
    Candidate: 7.1
    Version table:
    *** 7.1 500
    500 http://flightaware.com/adsb/piaware/files/packages bullseyearmhf Packages
    100 /var/lib/dpkg/status


    Guess I have both. thatīs wrong right?

    Leave a comment:


  • abcd567
    replied
    Originally posted by AV8ORS View Post
    Good morning, Iīve upgraded to Bulleye in a clean SD card, and reinstalled everything FR24, RB24, Flightaware, Planefinder...

    Now, when I want to see DUMP in GMAP http://IP-of-PI/dump1090/gmap.html returns a cannot acces this site_-----

    What am I doing wrong?

    Regards from Argentina
    Lets first check what decoder you got installed.
    Please post output of following commands:

    Code:
    apt-cache policy dump1090-mutability  
    
    apt-cache policy dump1090-fa


    .

    Leave a comment:


  • AV8ORS
    replied
    Good morning, Iīve upgraded to Bulleye in a clean SD card, and reinstalled everything FR24, RB24, Flightaware, Planefinder...

    Now, when I want to see DUMP in GMAP http://IP-of-PI/dump1090/gmap.html returns a cannot acces this site_-----

    What am I doing wrong?

    Regards from Argentina

    Leave a comment:

Working...
X