Announcement

Collapse
No announcement yet.

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

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

  • abcd567
    replied
    Originally posted by arahata View Post

    sudo: journalctrl: command not found
    Sorry, there was a typo in the command I posted. It had an ectra r. The correct spelling is journalctl, and not journalctrl.

    Leave a comment:


  • abcd567
    replied
    arahata:

    I have posted this "howto" in flightaware forum. You can use it.

    For Beginners - How-to Remove Unused Site from Your Account

    Leave a comment:


  • arahata
    replied
    Originally posted by wiedehopf View Post
    Better use this command, the last 20 lines or so are most often sufficient to figure out the issue.

    sudo journalctl --no-pager -u piaware

    (ctrl is typo, piaware needs to come after the u, so -eu if anything, but i prefer --no-pager to -e)

    Thank you for your quick response. Running the command with parameters in your post, this is returned:

    pi@raspberrypi:~ $ sudo journalctl --no-pager -u piaware

    -- Logs begin at Wed 2020-04-08 04:09:05 BST, end at Wed 2020-04-08 04:17:28 BST. --

    ...

    Apr 08 04:09:10 raspberrypi piaware[601]: ************************************************** **

    Apr 08 04:09:10 raspberrypi piaware[601]: piaware version 3.8.1 is running, process ID 601

    ...

    Apr 08 04:09:17 raspberrypi piaware[601]: piaware received a message from dump1090-mutabi!

    Apr 08 04:09:17 raspberrypi piaware[601]: Connecting to FlightAware adept server at piaware.flightaware.com/1200

    Apr 08 04:09:17 raspberrypi piaware[601]: Connection to adept server at piaware.flightaware.com/1200 failed: couldn't open socket: Temporary failure in name resolution

    Apr 08 04:09:17 raspberrypi piaware[601]: reconnecting in 4 seconds...

    Apr 08 04:09:21 raspberrypi piaware[601]: Connecting to FlightAware adept server at 70.42.6.224/1200

    Apr 08 04:09:21 raspberrypi piaware[601]: Connection with adept server at 70.42.6.224/1200 established

    Apr 08 04:09:21 raspberrypi piaware[601]: TLS handshake with adept server at 70.42.6.224/1200 completed

    Apr 08 04:09:21 raspberrypi piaware[601]: FlightAware server certificate validated

    Apr 08 04:09:21 raspberrypi piaware[601]: encrypted session established with FlightAware

    Apr 08 04:09:21 raspberrypi sudo[766]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric

    Apr 08 04:09:21 raspberrypi sudo[766]: pam_unix(sudo:session): session opened for user root by (uid=0)

    Apr 08 04:09:21 raspberrypi sudo[766]: pam_unix(sudo:session): session closed for user root

    Apr 08 04:09:22 raspberrypi piaware[601]: logged in to FlightAware as user xxxxxxx

    Apr 08 04:09:22 raspberrypi piaware[601]: my feeder ID is xxxxxxxxxxxxxxxx

    Apr 08 04:09:22 raspberrypi piaware[601]: site statistics URL: https://flightaware.com/adsb/stats/user/xxxxxxxxxxx

    Apr 08 04:09:45 raspberrypi piaware[601]: 8 msgs recv'd from dump1090-mutabi; 6 msgs sent to FlightAware

    Apr 08 04:09:50 raspberrypi piaware[601]: piaware has successfully sent several msgs to FlightAware!

    Apr 08 04:14:45 raspberrypi piaware[601]: 17 msgs recv'd from dump1090-mutabi (9 in last 5m); 15 msgs sent to FlightAware


    I do apologize if I missed anything, but now that I'm checking my FlightAware account by browsing the link I see for the first time from above log (in green), it seems all is working fine!

    I noticed it seems there are two sites associated with my FA account, the one that was not (and is still not) working is the one shown by default on my account. Is it something I should do to delete that site from my RBPi?

    Thank you!

    Leave a comment:


  • arahata
    replied
    Originally posted by abcd567 View Post
    Please issue this command and post its output

    Code:
    sudo journalctrl -ue piaware
    Thanks for your quick response. Here is what returns.


    pi@raspberrypi:~ $ sudo journalctrl -ue piaware

    sudo: journalctrl: command not found


    However, another command wiedehopf suggested works. I'm new to using the forum too. I'll respond to his post shortly showing the results.

    Leave a comment:


  • Hardy_2016
    replied
    Thanks Captain

    Leave a comment:


  • abcd567
    replied
    Originally posted by Hardy_2016 View Post
    I'm a little confused about which step to go after running
    METHOD-1: (B) RPi 4 with Raspbian BUSTER
    First do following:

    (B) RPi 4 with Raspbian BUSTER

    Package Install of dump1090-mutability (EB_VERSION) from repository.

    Code:
    sudo apt-get update
    sudo apt-get install lighttpd
    sudo apt-get install dump1090-mutability
    sudo lighty-enable-mod dump1090


    Next reconfigure

    STEP (6): DUMP1090-MUTABILITY POST INSTALLATION CONFIGURATION
    Code:
    sudo dpkg-reconfigure dump1090-mutability​​​​​​

    Next BUG FIX

    Code:
    sudo usermod -a -G plugdev dump1090
    sudo systemctl restart dump1090-mutability​​​​​​
    Last edited by abcd567; Yesterday, 11:36.

    Leave a comment:


  • Hardy_2016
    replied

    I'm a little confused about which step to go after running
    METHOD-1: (B) RPi 4 with Raspbian BUSTER




    Leave a comment:


  • wiedehopf
    replied
    Better use this command, the last 20 lines or so are most often sufficient to figure out the issue.

    sudo journalctl --no-pager -u piaware

    (ctrl is typo, piaware needs to come after the u, so -eu if anything, but i prefer --no-pager to -e)

    Leave a comment:


  • abcd567
    replied
    Please issue this command and post its output

    Code:
    sudo journalctrl -ue piaware

    Leave a comment:


  • arahata
    replied
    Hi - I'm new to the forum and feeding.

    I have a working setup that's already feeding fr24 and radarbox: RPi clean image, with dump1090-mutability_1.15~dev. I followed the instructions by abcd567 located here to bring up my ADSB feeding. Thank you abcd567!

    However, STEP (11): INSTALLATION OF FLIGHTAWARE DATA FEEDER:
    http://flightaware.com/adsb/piaware/install (STEP 2 ONLY) does not work fine. After running commands in STEP 2 there (run commands for manual and auto-update too), I was able to claim but it seems no data is being exchanged.


    This is what I see when manually running piaware:

    pi@raspberrypi:~ $ piaware

    2020-04-07 02:05:11Z warning: /etc/piaware.conf: failed to read config file: couldn't open "/etc/piaware.conf": permission denied

    2020-04-07 02:05:11Z failed to reopen /var/log/piaware.log: couldn't open "/var/log/piaware.log": permission denied

    2020-04-07 02:05:11Z ************************************************** **

    2020-04-07 02:05:11Z piaware version 3.8.1 is running, process ID 1142

    ...

    2020-04-07 02:05:13Z logged in to FlightAware as user xxxxxx

    2020-04-07 02:05:13Z my feeder ID is xxxxxxxxxx

    2020-04-07 02:05:13Z Failed to update feeder ID file at /var/cache/piaware/feeder_id: couldn't open "/var/cache/piaware/feeder_id.new": permission denied

    2020-04-07 02:05:13Z site statistics URL: https://flightaware.com/adsb/stats/user/xxxxxxx

    2020-04-07 02:05:14Z no ADS-B data program seen listening on port 30005 for 3 seconds, next check in 60s

    2020-04-07 02:05:14Z UAT support disabled by local configuration setting: uat-receiver-type

    2020-04-07 02:05:45Z 0 msgs recv'd from dump1090; 0 msgs sent to FlightAware


    One quick comment on the warning in blue, here is my settings from fr24:

    photo_2020-04-06_22-43-11.jpg

    My first guess was maybe piaware is looking for dump1090-fa, but not sure.

    Any help is much appreciated. Thank you!
    .

    Leave a comment:


  • ABi69
    replied
    Oblivian, wiedehopf

    Works like a charm, thank you very much!

    Leave a comment:


  • ABi69
    replied
    Thx for your help, i will try.

    Leave a comment:


  • wiedehopf
    replied
    My script removes all the other dump1090s
    Then reconfigures FR24 so it doesn't try to install it's own dump1090.

    Leave a comment:


  • Oblivian
    replied
    Not really. If you are going to do that, use dump1090-fa outright. Mutability development has ended. (this is a 3yr old solution now) -FA continues

    Be sure to remove Mutability first

    Wiedehopf has a bundle with all 3 maps.

    https://github.com/wiedehopf/adsb-sc...for-dump1090fa

    Leave a comment:


  • ABi69
    replied
    Ah, okay. Thx.

    So it's not possible to use SkyView with mutability?
    I thought that there would be a kind of trick...

    Leave a comment:

Working...
X