Announcement

Collapse
No announcement yet.

How to set up a feeder using 64-bit Ubuntu Linux on Intel platform

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

  • #31
    @wiedehopf: I would like to install using that "Automatic installation" of dump1090-fa. But for this, FR24 should be installed before, right?
    Can you please tell me, after which manual I should install FR24 on my Debian x64 system?

    Comment


    • #32
      "Building dump1090 fa from source" like described here: https://github.com/wiedehopf/adsb-wi...fa-from-source
      Does not work:

      I did all steps before, but here are coming up the problems:
      Code:
      root@Server:~# cd dump1090
      root@Server:~/dump1090# git pull -f
      Already up-to-date.
      root@Server:~/dump1090# git checkout -f
      Your branch is up-to-date with 'origin/master'.
      root@Server:~/dump1090# rm ../dump1090-fa_*.deb
      rm: cannot remove '../dump1090-fa_*.deb': No such file or directory
      root@Server:~/dump1090# dpkg-buildpackage -b
      dpkg-buildpackage: info: source package dump1090-fa
      dpkg-buildpackage: info: source version 3.7.2
      dpkg-buildpackage: info: source distribution stable
      dpkg-buildpackage: info: source changed by Eric Tran <eric.tran@flightaware.com>
      dpkg-buildpackage: info: host architecture amd64
       dpkg-source --before-build dump1090
      dpkg-checkbuilddeps: error: Unmet build dependencies: dh-systemd libncurses5-dev libbladerf-dev
      dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
      dpkg-buildpackage: warning: (Use -d flag to override.)
      root@Server:~/dump1090# sudo dpkg -i ../dump1090-fa_*.deb
      dpkg: error: cannot access archive '../dump1090-fa_*.deb': No such file or directory

      Comment


      • #33
        @Wiedehopf: I tried your "Automatic installation" of Dump1090 from here now: https://github.com/wiedehopf/adsb-sc...or-dump1090-fa

        It also does not work:

        Code:
        root@Server:~# sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/adsb-scripts/master/install-dump1090-fa.sh)"
        Selecting previously unselected package piaware-repository.
        (Reading database ... 133246 files and directories currently installed.)
        Preparing to unpack repository.deb ...
        Unpacking piaware-repository (3.7.2) ...
        Setting up piaware-repository (3.7.2) ...
        Hit:1 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
        Ign:2 http://debian.lagis.at/debian stretch InRelease
        Hit:3 http://debian.lagis.at/debian stretch-updates InRelease
        Hit:4 http://security.debian.org/debian-security stretch/updates InRelease
        Hit:5 http://repository.veeam.com/backup/linux/agent/dpkg/debian/public stable InRelease
        Hit:6 http://debian.lagis.at/debian stretch Release
        Get:7 http://flightaware.com/adsb/piaware/files/packages stretch InRelease [1,859 B]
        Get:8 http://dl.ubnt.com/unifi/debian stable InRelease [3,024 B]
        Hit:9 https://deb.nodesource.com/node_11.x stretch InRelease
        Ign:10 https://download.webmin.com/download/repository sarge InRelease
        Hit:11 https://download.webmin.com/download/repository sarge Release
        Fetched 4,883 B in 9s (503 B/s)
        Reading package lists... Done
        N: Skipping acquire of configured file 'piaware/binary-amd64/Packages' as repository 'http://flightaware.com/adsb/piaware/files/packages stretch InRelease' doesn't support architecture 'amd64'
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        E: Unable to locate package dump1090-fa
        bash: line 17: /usr/bin/dump1090-fa: No such file or directory
        net.ipv6.conf.all.disable_ipv6 = 0
        net.ipv6.conf.default.disable_ipv6 = 0
        (Reading database ... 133250 files and directories currently installed.)
        Preparing to unpack repository.deb ...
        Unpacking piaware-repository (3.7.2) over (3.7.2) ...
        Setting up piaware-repository (3.7.2) ...
        Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
        Hit:2 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
        Hit:3 http://repository.veeam.com/backup/linux/agent/dpkg/debian/public stable InRelease
        Ign:4 http://debian.lagis.at/debian stretch InRelease
        Hit:5 http://debian.lagis.at/debian stretch-updates InRelease
        Hit:6 http://debian.lagis.at/debian stretch Release
        Hit:7 https://deb.nodesource.com/node_11.x stretch InRelease
        Hit:8 http://flightaware.com/adsb/piaware/files/packages stretch InRelease
        Get:9 http://dl.ubnt.com/unifi/debian stable InRelease [3,024 B]
        Ign:10 https://download.webmin.com/download/repository sarge InRelease
        Hit:11 https://download.webmin.com/download/repository sarge Release
        Fetched 3,024 B in 7s (414 B/s)
        Reading package lists... Done
        N: Skipping acquire of configured file 'piaware/binary-amd64/Packages' as repository 'http://flightaware.com/adsb/piaware/files/packages stretch InRelease' doesn't support architecture 'amd64'
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        E: Unable to locate package dump1090-fa
        bash: line 27: /usr/bin/dump1090-fa: No such file or directory
        Couldn't install dump1090-fa! (Maybe try again?)

        Comment


        • #34
          I didn't say it would work. It's for the Raspberry Pi where packages are available.

          I pointed you at how to compile dump1090-fa.
          Also pointed you at how to configure fr24feed.

          That's what you should do.

          Problem with build dependencies:
          dpkg-checkbuilddeps: error: Unmet build dependencies: dh-systemd libncurses5-dev libbladerf-dev


          So you didn't install those things.
          The guide you followed clearly instructs you to install them, so do that and try again.


          Setting this up on a x64 system will require some basic linux knowledge.
          Or at least reading error message that come your way.

          Most people just get a Raspberry Pi, then everything mostly "just works".
          Last edited by wiedehopf; 2019-10-15, 14:16.

          Comment


          • #35
            Maybe someone else could create a working manual for x64 Linux machines. I would thank a lot.

            Comment


            • #36
              @erpomik: I got everything to run with you instructions from post #1 except that point "Merge the server section from dump1090 into nginx default site"

              I downloaded that dump1090 from here and now was ready to run the make command successfully: https://github.com/flightaware/dump1090
              But I think, that this dump1090 version is a little bit different than that one from mutability and so your instructions does not work for that one.

              Could you please tell me how to configure that version correctly or update your post #1?

              Thanks for all your help!

              Comment


              • #37
                mensa:

                Did you try this?
                It says "Linux in Virtual Machine on Windows", but will also work OK if Linux is installed directly on Hard Drive

                https://forum.flightradar24.com/thre...l=1#post116967
                Last edited by abcd567; 2019-10-15, 17:53.

                Comment


                • #38
                  @abcd567: Thank you! Do you think your instructions (Option 1) will also work with most current version 1.0.24-4? http://repo-feed.flightradar24.com/r...24-4_armhf.deb

                  Comment


                  • #39
                    And one other question: You are writing, that dump1090 is required if one is using DVB-T stick.
                    But as I am running it on Debian x64 you say, that I have to select ModeS Beast (TCP), cause DVB-T receiver is not working on x64 machines.
                    So will I have to install dump1090 or not to get it to run?

                    Comment


                    • #40
                      dump1090 provides beast protocol output over TCP port 30005.

                      The most current version is only available for the armhf architecture.
                      You can't run binaries from other architectures. (Or at least it's quite complicated and usually slow)

                      You might be able to run the current binary on the Raspbian Desktop system installed on your computer though.

                      Comment


                      • #41
                        Originally posted by mensa View Post
                        @abcd567: Thank you! Do you think your instructions (Option 1) will also work with most current version 1.0.24-4? http://repo-feed.flightradar24.com/r...24-4_armhf.deb
                        Do NOT use the instructions in "STEP 1 - Install decoder dump1090-mutability ver 1.15~dev:"
                        Instead use this one:

                        Code:
                        sudo apt-get update 
                        sudo apt-get install lighttpd 
                        sudo apt-get install dump1090-mutability 
                        sudo lighty-enable-mod dump1090
                        I will now try "STEP 2 - Install FR24 feeder: >> OPTION-3" on my following distro, and let you know:

                        Linux debian 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28) x86_64
                        Last edited by abcd567; 2019-10-15, 18:20.

                        Comment


                        • #42
                          Why Raspian Desktop? abcd567 provided a solution for Debian Linux.

                          Comment


                          • #43
                            Originally posted by abcd567 View Post
                            Do NOT use the instructions in "STEP 1 - Install decoder dump1090-mutability ver 1.15~dev:"
                            Instead use this one:

                            Code:
                            sudo apt-get update 
                            sudo apt-get install lighttpd 
                            sudo apt-get install dump1090-mutability 
                            sudo lighty-enable-mod dump1090
                            So that means, that I do need dump1090 for my DVB-T stick? I have that one here: https://www.amazon.de/gp/product/B013Q94CT6

                            I will now try "STEP 2 - Install FR24 feeder: >> OPTION-3" on my following distro, and let you know:

                            Linux debian 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28) x86_64
                            Why don't you install the most current version http://repo-feed.flightradar24.com/r...24-4_armhf.deb like described in Option 1??? Option 3 is for binary install I thought!?

                            Comment


                            • #44
                              SUCCESS
                              Linux debian 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28) x86_64


                              STEP-1: installed lighttpd and dump1090-mutability by
                              Code:
                              sudo apt-get update 
                              sudo apt-get install lighttpd 
                              sudo apt-get install dump1090-mutability 
                              sudo lighty-enable-mod dump1090
                              Added latitude & Longitude during this operation when it asked for it. Rest setting accepted default values by keep on pressing Enter key.
                              Code:
                              sudo dpkg-reconfigure dump1090-mutability
                              RESULT:
                              dump-mut on Deb10.png



                              STEP 2: Installed fr24feed and created its systemd service by following method
                              Installing fr24feed Using Linux Binary "fr24feed_1.0.18-5_amd64.tgz"


                              RESULT:
                              Code:
                              abcd@debian:~$ sudo systemctl status fr24feed
                               fr24feed.service - Flightradar24 Decoder & Feeder
                                 Loaded: loaded (/lib/systemd/system/fr24feed.service; enabled; vendor preset: enabled)
                                 Active: active (running) since Tue 2019-10-15 14:38:39 EDT; 2s ago
                               Main PID: 2883 (fr24feed)
                                  Tasks: 8 (limit: 2347)
                                 Memory: 6.4M
                                 CGroup: /system.slice/fr24feed.service
                                         └─2883 /usr/bin/fr24feed
                              
                              Oct 15 14:38:39 debian systemd[1]: Started Flightradar24 Decoder & Feeder.
                              Last edited by abcd567; 2019-10-15, 18:58.

                              Comment


                              • #45
                                Did you install now 1.0.18-5 or 1.0.24-4?

                                Comment

                                Working...
                                X