Page 8 of 8 FirstFirst ... 678
Results 71 to 79 of 79

Thread: Raspberry PI installation made too easy with extra feature.

  1. #71
    Passenger
    Join Date
    Jan 2019
    Posts
    19
    Hi wiedehopf and abcd....

    It worked! Thank you for the guidance to get this done. The dump1090-fa map (aka PiAware Skyview) and its features are much nicer/readable/usable than the old setup.

    Minor question: In the settings area on the FlightAware/PiAware map screen, I selected to show 'Site Position and Range Rings' but neither one is showing on the map. Is there a trick to get that working? i.e., Are the range rings absent because I only installed dump1090-fa, and not also PiAware?

    I always like to generally understand what I did when using someone's guidance about stuff like this so I learn something for next time, so in summary is this what this was about:

    1) The FR24 package (image?) contains an old version of the DUMP1090 application that's installed by default and was using Google Maps.

    2) Flight Aware modified DUMP1090 (into the fa version) and packages that updated version with their installation image and it uses OpenStreetMap.

    3) The terminal commands that wiedehopf gave me downloaded the Flight Aware image from their website and subsequently unpacked and installed it. The commands also disabled the old DUMP1090.

    4) The ini file was changed to include two mainly different lines of receiver="beast-tcp" and host="127.0.0.1:30005". Can you tell me what those two lines are doing?

    5) When the machine boots and executes that ini file then I'm in business.

    Any further comments on the above would be great. Thanks!

    John
    Last edited by anydanow1; 2019-02-13 at 01:58.

  2. #72
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    4,393
    Quote Originally Posted by anydanow1 View Post
    1) The FR24 package (image?) contains an old version of the DUMP1090 application that's installed by default and was using Google Maps.
    Yep, to 2 and 3 too - 1.14, and setting 'DVBT' triggers its forced install
    4) The ini file was changed to include two mainly different lines of receiver="beast-tcp" and host="127.0.0.1:30005". Can you tell me what those two lines are doing?
    Expected type of data https://wiki.jetvision.de/wiki/Mode-...Output_Formats
    Beast is 'raw' binary with MLAT time tag included
    30005 is port that raw data being sent out from the decoder that is talking to the stick

    Multiple other applications can use the same port to daisy-chain.

    5) When the machine boots and executes that ini file then I'm in business.
    It's more a config page, and looks at it for settings during startup of fr24


    And as this has now branched away from being a 'guide' thread. Expect posts to disappear when I clean it back up to raw informative-for-all info rather than specific which can lead others astray.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  3. #73
    Purser
    Join Date
    Apr 2018
    Posts
    108
    1) It's called a package (debian package in this case). An image file would be something you overwrite the complete sd-card with, containing operating system and with some provided images having a feeder package already set up. But yes you installed fr24feed, which when set to dvbt, installs an old version of dump1090 automatically.

    2) for you to download/install dump1090-fa via "apt-get install dump1090-fa" (apt-get is using the debian package system) you need to teach that system to trust and look for packages provided by flightaware. That is what downloading/installing the first package did.

    3) the dump1090 installed by fr24 is not started automatically, it is instead started by fr24feed when it is started. so when you change the fr24feed settings to beast, no dump1090 is started anymore.
    then the lighty-disable-mod removes the webserver (lighttpd) configuration for the old dump1090 so the dump1090-fa webpage is displayed properly (the configurations don't work together).
    you can still uninstall the dump1090 but it shouldn't really matter. (sudo apt-get purge dump1090)

    4) before changing the settings fr24feed would start dump1090 and just process its output directly. But with a separate dump1090 (-fa) installation you want the communication to happen via network. Now while this is from the technical standpoint using the TCP protocol to get data from dump1090-fa to fr24feed, it all stays on the same computer.
    127.0.0.1 is the address for the current computer, called localhost. So you basically tell fr24feed to look for data on port 30005, on the computer it is running on.
    (using the IP of your pi would have also worked, but that IP could change so using 127.0.0.1 is better because it does not change)

    5) Well as soon as dump1090-fa is installed it will start automatically with default settings and provide data on port 30005. fr24feed with the new config will get its data there.


    Installing piaware and specifying your location on the flightaware website might get you location and distance rings in dump1090-fa.
    But it is easier just to put your location into the configuration:
    Edit /etc/default/dump1090-fa
    In one of the lines, inside the ".....", add: --lat 50 --lon 10
    Be sure to have spaces with the other options already present.
    then use: sudo systemctl restart dump1090-fa
    for the settings to take effect.

    (This file is also where you would change gain, which is likely not necessary with your current setup, only needed with an amplifier in front of the receiver)

  4. #74
    Passenger
    Join Date
    Jan 2019
    Posts
    19
    Quote Originally Posted by wiedehopf View Post
    1) It's called a package (debian package in this case). An image file would be something you overwrite the complete sd-card with, containing operating system and with some provided images having a feeder package already set up. But yes you installed fr24feed, which when set to dvbt, installs an old version of dump1090 automatically.

    2) for you to download/install dump1090-fa via "apt-get install dump1090-fa" (apt-get is using the debian package system) you need to teach that system to trust and look for packages provided by flightaware. That is what downloading/installing the first package did.

    3) the dump1090 installed by fr24 is not started automatically, it is instead started by fr24feed when it is started. so when you change the fr24feed settings to beast, no dump1090 is started anymore.
    then the lighty-disable-mod removes the webserver (lighttpd) configuration for the old dump1090 so the dump1090-fa webpage is displayed properly (the configurations don't work together).
    you can still uninstall the dump1090 but it shouldn't really matter. (sudo apt-get purge dump1090)

    4) before changing the settings fr24feed would start dump1090 and just process its output directly. But with a separate dump1090 (-fa) installation you want the communication to happen via network. Now while this is from the technical standpoint using the TCP protocol to get data from dump1090-fa to fr24feed, it all stays on the same computer.
    127.0.0.1 is the address for the current computer, called localhost. So you basically tell fr24feed to look for data on port 30005, on the computer it is running on.
    (using the IP of your pi would have also worked, but that IP could change so using 127.0.0.1 is better because it does not change)

    5) Well as soon as dump1090-fa is installed it will start automatically with default settings and provide data on port 30005. fr24feed with the new config will get its data there.


    Installing piaware and specifying your location on the flightaware website might get you location and distance rings in dump1090-fa.
    But it is easier just to put your location into the configuration:
    Edit /etc/default/dump1090-fa
    In one of the lines, inside the ".....", add: --lat 50 --lon 10
    Be sure to have spaces with the other options already present.
    then use: sudo systemctl restart dump1090-fa
    for the settings to take effect.

    (This file is also where you would change gain, which is likely not necessary with your current setup, only needed with an amplifier in front of the receiver)

    Thanks Oblivian....I understand about the need to clean up.

    Thanks wiedehopf....Yours and Oblivian's answers have cleared this up to the point where I confirmed my understanding now.

    I will edit the /etc/default/dump1090-fa file and add my specific lat lon information in the RECEIVER_OPTIONS line as:

    Old version:

    RECEIVER_OPTIONS="--device-index 0 --gain -10 --ppm 0 --net-bo-port 30005"

    New version:

    RECEIVER_OPTIONS="--device-index 0 --gain -10 --ppm 0 --net-bo-port 30005 --lat XX --lon XX"

    Have a good day...

    John

  5. #75
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    4,393
    Been a fresh change to have someone look into the workings of it first, then get their head around what they're doing and how it will effect each step vs. blindly doing it (and more) and expecting to get a quick fix without knowing all the details/pausing during changes

    Sent from my EML-L09 using Tapatalk
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  6. #76
    Passenger
    Join Date
    Jan 2019
    Posts
    19
    I'm like that with most things. I need to understand what I'm doing and why it's working so that I can get a full appreciation for it. My next step is to figure out how to finish installing PiAware as well so that I can feed both FR24 and FlightAware with my receiver data without causing any conflicts between the two applications.

  7. #77
    Purser
    Join Date
    Apr 2018
    Posts
    108
    there won't be any conflicts if fr24 and dump1090-fa are already working at the same pi.

    piaware by default looks for data on 127.0.0.1:30005, so that works out of the box.

    after the sudo apt-get install piaware you just wait 5 minutes, then claim the receiver: https://flightaware.com/adsb/piaware/claim
    create an account and configure the location on the stats page clicking the cog wheel at the right side of the orange bar.

    (if you want to read a bit more about people tinkering the forum over at flightaware is also not a bad place)

    (don't scold me oblivian, this time someone asked you can of course clean it up when you collect the rest of the posts)

  8. #78
    Passenger
    Join Date
    Jan 2019
    Posts
    19
    Quote Originally Posted by wiedehopf View Post
    there won't be any conflicts if fr24 and dump1090-fa are already working at the same pi.

    piaware by default looks for data on 127.0.0.1:30005, so that works out of the box.

    after the sudo apt-get install piaware you just wait 5 minutes, then claim the receiver: https://flightaware.com/adsb/piaware/claim
    create an account and configure the location on the stats page clicking the cog wheel at the right side of the orange bar.

    (if you want to read a bit more about people tinkering the forum over at flightaware is also not a bad place)

    (don't scold me oblivian, this time someone asked you can of course clean it up when you collect the rest of the posts)
    Oh, wow.....OK, that's great! I didn't realize that they could both run in parallel off of the same receiver data without a conflict surfacing. I'll work on setting that up later today.

  9. #79
    Purser
    Join Date
    Apr 2018
    Posts
    108
    dump1090 is "listening" on port 30005 (running a server on that port).

    So you can have as many clients connect as you want and they will all get the beast data.
    (until you run out of computing power that is, or if the clients connect over the network, bandwidth.
    many people run 5 or even more feeders without a problem.)

Tags for this Thread

Posting Permissions

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