Announcement

Collapse
No announcement yet.

Raspberry Pi:How To Install Raspian OS + Dump1090 + FR24 Data Feeder

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

  • #46
    @dudesjp
    Try xxx.xxx.x.xxx/dump1090/gmap.html

    Also try
    Code:
    sudo dpkg-reconfigure dump1090-mutability
    This will open a settings dialog. When you reach where it asks "Internet address to bind to" and default value is 127.0.0.1, remove this value and leave it blank.
    Last edited by abcd567; 2016-07-01, 19:04.

    Comment


    • #47
      Originally posted by abcd567 View Post
      @dudesjp
      Try xxx.xxx.x.xxx/dump1090/gmap.html

      Also try
      sudo dpkg-reconfigure dump1090-mutability

      This will open a settings dialog. When you reach where it asks "bind to address" and default value is 127.0.0.1, remove this value and leave it blank.
      Hey, thank you for your always fast answers abcd567! I did, but nothing! I changed the ProStick for the old ISDB-T Dongle and guess what? Now its working! So, there some issue between the DUMP1090 and the ProStick! Any ideas? Do you have the ProStick? Thank you!


      EDIT:
      I tried again in my other Raspberry Pi (T-SBCT6), same problem! With the TV Dongle works fine, but if I change for the ProStick, DUMP1090 stop "running" and change for "exited"! Also tried with the PiAware, i think that worked, but I could not find the command to see the status of the DUMP1090!
      Last edited by dudesjp; 2016-07-01, 21:36.
      T-SBCT5/T-SBCT6

      Comment


      • #48
        Yes, I do have ProStick. Due to 2mm wide platic collar over metallic part, it did not insert fully into Pi and hence did not make proper contact.

        I cut the plastic collar off with a sharp knife. As a result, additional 2mm were inserted into Pi, and it started working ok. See images below.

        Left: original; Right: after cutting plastic collar
        .

        Comment


        • #49
          Originally posted by abcd567 View Post
          Yes, I do have ProStick. Due to 2mm wide platic collar over metallic part, it did not insert fully into Pi and hence did not make proper contact.

          I cut the plastic collar off with a sharp knife. As a result, additional 2mm were inserted into Pi, and it started working ok. See images below.

          Left: original; Right: after cutting plastic collar
          .
          I tried here, but, as you can see in the photo, fits good and outside of the USB even with the collar! So, I dont think that is this! Which version of the OS are you using? Mine are the "fr24-raspberry-pi- 1.0.18-5" with the DUMP1090-Mutability!

          WhatsApp-Image-20160701.jpeg
          T-SBCT5/T-SBCT6

          Comment


          • #50
            @dudesjp
            My software
            1) Raspbian Jessie Light from Rapberry foundation:


            2) dump1090-mutability ver 1.15~dev, manual install as per instructions in this thread:
            . Last update: March 08, 2022 NOTE: (1) Do NOT install the dump1090-mutability on Pi24 img and Piaware img. Both these images already have their integral dump1090. (2) TO HAVE A TROUBLE FREE INSTALLATION, IT IS REQUIRED TO MAKE A FRESH INSTALL, AS SHOWN BELOW: (a) Format microSD Card (b) Write Raspbian Image. (c) Install


            3) FR24 feeder:
            Installed using following command in SSH terminal:
            Code:
            sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"
            The above method for installing fr24 feeder is given on this page:
            The world’s most popular flight tracker. Track planes in real-time on our flight tracker map and get up-to-date flight status & airport information.
            Last edited by abcd567; 2016-07-01, 22:33.

            Comment


            • #51
              Originally posted by dudesjp
              I thought that was this in first place, i'm using the original Apple charger with 1A current! It's not enough? Which one you use?
              1A is too small for Pi + Pro Stick.
              I use 3A (3000 mA) power supply.

              Comment


              • #52
                Originally posted by Ressy
                Curious... does the install script ask for existing feeder code to bypass all this new signup email lat/lon/foo stuff? or we have to re-signup?...
                Upgrading mm server soon so considering moving adsb onto pi (and closer to antenna exit point)
                Yes, it does ask all details every time you signup. Although FR24 feeder on my Pi was already signed and functional, as experiment I signed up again. Here is what happened when I tried to skip entering latitude during signup

                pi@raspberrypi:~$ sudo fr24feed --signup

                [main][i]FR24 Feeder/Decoder
                [main][i]Version: 1.0.18-7/generic
                [main][i]Built on Jul 11 2016 09:24:44 (HEAD-91e2757.git/Linux/armv7l)
                [main][i]Copyright 2012-2016 Flightradar24 AB
                [main][i]http://flightradar24.com
                [main][i]DNS mode: LIBC

                Welcome to the FR24 Decoder/Feeder sign up wizard!

                Before you continue please make sure that:

                1 - Your ADS-B receiver is connected to this computer or is accessible over net work
                2 - You know your antenna's latitude/longitude up to 4 decimal points and the a ltitude in feet
                3 - You have a working email address that will be used to contact you
                4 - fr24feed service is stopped. If not, please run: sudo service fr24feed stop

                To terminate - press Ctrl+C at any point


                Step 1.1 - Enter your email address (username@domain.tld)
                $:xxxx@yyyyy.com

                Step 1.2 - If you used to feed FR24 with ADS-B data before enter your sharing ke y.
                If you don't remember your sharing key, pelase use the retrival form:


                Otherwise leave this field empty and continue.
                $:xxxxxxxxxxxxxxxx

                Verifying sharing key...OK



                Step 1.3 - Would you like to participate in MLAT calculations? (yes/no)$:yes

                IMPORTANT: For MLAT calculations the antenna's location should be entered very p recise!

                Step 3.A - Enter antenna's latitude (DD.DDDD)
                $:
                Value is incorrect, please enter correct value!


                Step 3.A - Enter antenna's latitude (DD.DDDD)
                $:

                Comment


                • #53
                  Originally posted by abcd567 View Post
                  DUMP1090-MUTABILITY (for advance users)

                  4. If you want to use the external webserver integration:
                  Code:
                  sudo apt-get install lighttpd && sudo lighty-enable-mod dump1090
                  I installed dump-mutability and both fr24 and piaware, so far so good.
                  Both feeds are confirmed working and I can see the web gui served by lighttpd, after fixing a missing dir.

                  However, when I reboot, I need to manually recreate /var/log/lighttpd/ and chown it to www-data, otherwise the server won't start.
                  This is documented, among other places, in Debian bug 679854 and 705338 but the response was basically "you're on your own".

                  Given that the image supplied by FR24 defaults to tmpfs for /var/log what would be the best workaround?
                  Change it to a normal directory? Go back to the internal webserver?

                  Comment


                  • #54
                    Feeding 5V on long PoE cable may cause excessive voltage drop and low voltage at RPi.

                    For long PoE cables, a 48V DC supply at router/switch, and a down convertor to 5V at RPi works satisfactorily.

                    Below is one such complete kit. This item is given as an example for guidance only. If you search Amazon and eBay, you will find many other makes and prices.

                    The kit contains:
                    PoE Injector 48V DC
                    PoE Splitter with integral down convertor to 12/9/5 V DC (dc output voltage selectable by a switch)
                    Power Adapter AC to 48V DC
                    Power Cord
                    Ethernet Cable

                    Last edited by abcd567; 2017-04-03, 22:32.

                    Comment


                    • #55
                      Starting over

                      Spent several hours today and I'm back where I started. I have a box running FA and RB24. FR24 isn't working. I tried flashing FR24 and building from there, but I can't figure out how to get into the Raspian GUI and that's the only way I know how to setup wifi, bluetooth, etc.

                      Is there a guide for installing Raspian (gui, not just command line) and adding FR24?

                      I am guessing it's here, but the posts I'm finding are 2-3+ yrs old and I am not sure they're valid.






                      Originally posted by abcd567 View Post
                      What you need is 3 components as follows:
                      1- An operating system like Raspbian.
                      2- A decoder software like Dump1090
                      3- A Data Feeding software.

                      UPDATED on August 27, 2016

                      OPTION A:
                      (1) Download Debian based operating system image on your computer, and write the downloaded image to your microSD card. Download and installation instructions are here: https://www.raspberrypi.org/downloads/

                      (2) To install dump1090 and FR24 data feeder, SSH into your Raspberry Pi and execute this command:
                      Code:
                      sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"
                      You will be asked to enter your email address, antenna position and other details.

                      If later you want to view or change settings, type following address in your browser, and settings page will appear:
                      http://<IP address of your RPI on your LAN>:8754/settings.html

                      Please see this page for latest information: https://www.flightradar24.com/raspberry-pi

                      OPTION B:
                      Download and burn on your microSD card the Pi24 image from this page (see "Installation instructions" on this page):
                      The world’s most popular flight tracker. Track planes in real-time on our flight tracker map and get up-to-date flight status & airport information.



                      OPTION C:
                      (1) Download PiAware image from FlightAware on your computer, and write the downloaded image to your microSD card.
                      Download and installation instructions are here: http://flightaware.com/adsb/piaware/build
                      This image contains operating system Raspbian, dump1090 and Flightaware data feeder.

                      (2) SSH into your Raspberry Pi and execute this command to install FR24 data feeder:
                      Code:
                      sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"
                      You will be asked to enter your email address, antenna position and other details.

                      If later you want to view or change settings, type following address in your browser, and settings page will appear:
                      http://<IP address of your RPI on your LAN>:8754/settings.html

                      Please see this page for latest information: https://www.flightradar24.com/raspberry-pi


                      ================================================== =========================
                      ================================================== =========================
                      OPTION C (MANUAL METHOD. Better use Option A or B which are semi-automated and easier):
                      You can install each component separately in three (3) steps shown below.

                      STEP 1- Install Raspbian Wheezy on microSD Card
                      Download Raspbian on your Desktop/Laptop from Raspberry Pi's Official Website http://www.raspberrypi.org/downloads/. Scroll down the page to find Raspbian.

                      After download follow instructions on this page http://www.raspberrypi.org/documenta...ages/README.md.

                      You will need a TV/monitor, mouse & keyboard for first install. Select GUI option (Graphical User Interface like windows) when configuration starts at the end of install.

                      Alternatively, instead of downloading Raspbian from above noted page, you may download NOOBS from the same page, and choose option Raspbian during installation of NOOBS. Instruction for Installation of NOOBS are here http://www.raspberrypi.org/help/noobs-setup/



                      STEP 2- Install rtl-sdr Drivers and Decoder Dump1090
                      This requires using console of Raspbian Wheezy. You can visit these two sites for instructions:
                      https://ferrancasanovas.wordpress.co...-installation/

                      http://www.satsignal.eu/raspberry-pi/dump1090.html

                      I will list the console commands here which I got from these sites:

                      2a- Install updates, upgrades and tools
                      Code:
                      sudo apt-get update
                      sudo apt-get upgrade
                      sudo apt-get install git-core
                      sudo apt-get install git 
                      sudo apt-get install cmake
                      sudo apt-get install libusb-1.0-0-dev
                      sudo apt-get install build-essential
                      2b- Install RTL-SDR Drivers
                      Code:
                      git  clone  git://git.osmocom.org/rtl-sdr.git
                      cd  rtl-sdr
                      mkdir  build
                      cd  build
                      cmake  ../ -DINSTALL_UDEV_RULES=ON
                      make
                      sudo  make  install
                      sudo  ldconfig
                      cd ~
                      sudo  cp  ./rtl-sdr/rtl-sdr.rules  /etc/udev/rules.d/
                      sudo  reboot
                      2c- Install dump1090 (Please see post # 3 below before proceeding)
                      Code:
                      cd  ~ 
                      git  clone  git://github.com/MalcolmRobb/dump1090.git
                      cd  dump1090
                      make
                      ./dump1090 --interactive --net --net-http-port 8080
                      You may get following error message;
                      Code:
                      Kernel driver is active, or device is claimed by second instance
                      In the first case, please either detach or [B]blacklist[/B] the kernel
                      (dvb_usb_rtl28xxu), or enable automatic detaching at compile tim
                      
                      usb_claim_interface error -6
                      Error opening the RTLSDR device: Device or resource busy
                      To solve this problem you have to create a blacklist file as follows:
                      Code:
                      cd  /etc/modprobe.d
                      sudo nano /etc/modprobe.d/rtl-sdr-blacklist.conf
                      This will create & open the blacklist file rtl-sdr-blacklist.conf
                      type following lines in this file & save the file.
                      Code:
                      blacklist dvb_usb_rtl28xxu
                      blacklist e4000
                      blacklist rtl2832
                      To enable display of planes on Google Map in a Browser, give following command in console:
                      Code:
                      cd dump1090
                      ./dump1090 --interactive --net --net-http-port 8080


                      STEP 3- Installation of FR24 Data feeder :
                      (Source: http://forum.flightradar24.com/threa...-BETA-testing-)

                      Type following command in your console:
                      Code:
                      sudo wget http://feed.flightradar24.com/raspberry-pi/fr24feed_1.0.12-3_armhf.deb
                      This will download .deb installation file in Downloads folder of your RPi.
                      install the data feeding software using following console command:

                      Code:
                      sudo dpkg -i fr24feed_1.0.12-3_armhf.deb
                      If this is the first time you’re going to share data with FR24, use the command below:
                      Code:
                      sudo fr24feed --signup
                      If you have already obtained a a data sharing key from FR24, or are already sharing data with FR24 from another computer and want to now feed from RPi instead, use the same sharing key you already have, and start the configuration process by executing:
                      Code:
                      sudo fr24feed --reconfigure --fr24key=YOUR SHARING KEY
                      Complete the configuration wizard. When asked for additioal arguments for dump1090, enter following:
                      Code:
                      --net --net-http-port 8080
                      Now start sharing your data by typing:
                      Code:
                      sudo service fr24feed restart
                      Now run the command:
                      Code:
                      service fr24feed status
                      You will see following "Fail, Receiver down" (last line)
                      Code:
                      pi@piaware ~ $ service fr24feed status
                      [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Feeder/Decoder Process: running.
                      [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Stats Timestamp: 2015-01-21 17:46:02.
                      [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Link: connected [UDP].
                      [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Radar: T-CYYZ9.
                      [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Tracked AC:.
                      [[COLOR="#FF0000"][B]FAIL[/B][/COLOR]] Receiver: down ... [COLOR="#FF0000"][B]failed[/B][/COLOR]!
                      Then follow steps shown in the screenshots below:

                      [ATTACH=CONFIG]5753[/ATTACH] . [ATTACH=CONFIG]5754[/ATTACH] . [ATTACH=CONFIG]5755[/ATTACH]

                      Now again run the command "service fr24feed status",
                      Now the message:
                      [FAIL] Receiver: down ... failed!
                      will be replaced by:
                      [ ok ] Receiver: connected (xxx MSGS/0 SYNC).


                      During the next system restart FR24 decoder/feeder will start automatically.

                      Download Guide (pdf) from here: http://feed.flightradar24.com/fr24feed-manual.pdf

                      GOOD LUCK!!!!

                      Comment


                      • #56
                        nope, even in gui. you need to install the extra apps as commandline. Its not like windows

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

                        Comment


                        • #57
                          Hey to all,
                          i have tried all the steps above but fr24 seems not working for me on booth rpis (rpi2 and rpi3) i get receiver connected, radar name but no flights... hardware its prety ok because booth are going good with flightware and planefinder, only fr24 not works, i also have tried usb stick default, avr mode, modeS beast but notihing works, uninstall and install againg also have no effect.
                          some help are higly appreciated.
                          thanks in advanced

                          Comment


                          • #58
                            Originally posted by mrcarlos View Post
                            Hey to all,
                            i have tried all the steps above but fr24 seems not working for me on booth rpis (rpi2 and rpi3) i get receiver connected, radar name but no flights... hardware its prety ok because booth are going good with flightware and planefinder, only fr24 not works, i also have tried usb stick default, avr mode, modeS beast but notihing works, uninstall and install againg also have no effect.
                            some help are higly appreciated.
                            thanks in advanced
                            If others work on same device, and Fr24feed is set as Avrtcp mode. Replace localhost with 127.0.0.1

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

                            Comment


                            • #59
                              Originally posted by Oblivian View Post
                              If others work on same device, and Fr24feed is set as Avrtcp mode. Replace localhost with 127.0.0.1

                              Sent from my XT1092 using Tapatalk
                              thanks for the help, i really have tried that without good results, anyway i have solved the problem, i have installed the dump1090-mutability afther that i got a message tell me the dump1090 wont start automaticaly with a option to turn that feature on, afther that works like a charm, i still dont know if was a problem with dump1090 why by the others site feeders works??? anyway... its up and running.
                              thanks

                              Comment


                              • #60
                                I have read through this thread and am somewhat confused. Are the original instructions still valid (I am interested in Option A) or are there modifications needed? It seems that there are a number of people that have reported some problems but it is unclear to me if that is with the first 2 options or the manual install. I apologize in advance but I am a newcomer to this hobby!

                                Comment

                                Working...
                                X