Announcement

Collapse
No announcement yet.

New to this - No planes spotted

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

  • New to this - No planes spotted

    Did recieve my Pi 3B+, and a DVB-T reciever - Can't link to them, thanks to forum restrictions.

    Followed the guide (can't link to that either), it seems like it's running. Before the DVB-T thingy was plugged in, there was an error in the left bottom corner of the map. IIRC "Ajax error, something", on IP-of-the-pi/dump1090/gmap.html

    After I plugged in the reciever, the error is gone, but no planes are spotted..

    Any clues on how to get this going?

    Thanks in advance.

  • #2
    Test your receiver by running this:

    https://github.com/wiedehopf/adsb-wi...l-sdr-receiver


    Post the output.

    reboot to get everything restarted.

    Comment


    • #3
      Thanks,
      This was the output;

      Code:
      pi@raspberrypi:~ $ sudo bash -c "$(wget -nv -O - https://raw.githubusercontent.com/wiedehopf/adsb-scripts/master/rtl_test.sh)"
      2020-04-17 15:55:37 URL:https://raw.githubusercontent.com/wiedehopf/adsb-scripts/master/rtl_test.sh [2136/2136] -> "-" [1]
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following NEW packages will be installed:
      rtl-sdr
      0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
      Need to get 52.4 kB of archives.
      After this operation, 178 kB of additional disk space will be used.
      Get:1 http://archive.raspberrypi.org/debian buster/main armhf rtl-sdr armhf 0.6-1+rpt1 [52.4 kB]
      Fetched 52.4 kB in 0s (411 kB/s)
      Selecting previously unselected package rtl-sdr.
      (Reading database ... 40747 files and directories currently installed.)
      Preparing to unpack .../rtl-sdr_0.6-1+rpt1_armhf.deb ...
      Unpacking rtl-sdr (0.6-1+rpt1) ...
      Setting up rtl-sdr (0.6-1+rpt1) ...
      Processing triggers for man-db (2.8.5-2) ...
      470 /usr/bin/dump1090-mutability --net --ppm 0 --fix --lat 56.0609 --lon 9.34488 --max-range 300 --net-ri-port 30001 --net-ro-port 30002 --net-bi-port 30004,30104 --net-bo-port 30005 --net-sbs-port 30003 --net-heartbeat 60 --net-ro-size 500 --net-ro-interval 1 --net-buffer 2 --stats-every 3600 --write-json /run/dump1090-mutability --write-json-every 1 --json-location-accuracy 1 --quiet
      -----
      Lost samples in the first 2 seconds after starting the test are common and not a problem!
      Starting 30 second rtl_test, standby!
      -----
      Found 1 device(s):
      0: Realtek, RTL2838UHIDIR, SN: 00000001
      
      Using device 0: Generic RTL2832U OEM
      Detached kernel driver
      Found Rafael Micro R820T tuner
      Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
      [R82XX] PLL not locked!
      Sampling at 2400000 S/s.
      
      Info: This tool will continuously read from the device, and report if
      samples get lost. If you observe no further output, everything is fine.
      
      Reading samples in async mode...
      Allocating 15 zero-copy buffers
      lost at least 60 bytes
      EDIT: Strange - This thing has been online for hours, but now it seems to pick a little up;

      2020-04-17 17_07_48-Window.png
      Last edited by cs.dk; 2020-04-17, 15:09.

      Comment


      • #4
        Well, depending on SDR / antenna and location, reception can vary dramatically.

        Comment


        • #5
          Okay,
          Got everything to work with the different "planewatchers", got the readsb-radar, and all.. But I managed to fuck up.

          When i tried to add the different coloured circles in dump1090, something went wrong. As per the tutorial, i ran the command "
          sudo cp script.js script_orig.js" - So I guess script_orig.js is the one i need to restore.

          Fine and dandy - But how do i reverse this? MobaXterm tells me that i'm not autorised.. (Theres a file browser in it)

          Thanks in advance.

          EDIT:
          /dump1090/gmap.html gives me a 404 now??
          Last edited by cs.dk; 2020-04-18, 19:29.

          Comment


          • #6
            my readsb script will remove dump1090, they can't both be using the SDR ....

            sorry for that .. i thought i had noted it in the readme.

            anyhow, use the only true interface: https://github.com/wiedehopf/tar1090#tar1090
            it will work on top of the existing readsb and use it.

            Or remove readsb ... go back to dump1090-mutability ... all your choice really.
            I suppose you could also use this, which probably has the most map choices:
            https://github.com/wiedehopf/adsb-sc...for-dump1090fa

            Comment


            • #7
              Thanks,
              Is there an uninstall command for readsb so i can install the other one?
              Also, should I just leave the files for dump1090 or delete them?

              Comment


              • #8
                Originally posted by cs.dk View Post
                Thanks,
                Is there an uninstall command for readsb so i can install the other one?
                Also, should I just leave the files for dump1090 or delete them?
                If you want a clean install, format microSD card, and write the image again to microSD card. It is easier than debugging and trying to fix broken things.

                Comment


                • #9
                  I'm sure it's the best, but also time consuming solution. Everything from this guide is up and running. And it does all fine. If i'm using readsb radar, it works just fine, and i'm feeding data. It's just dump1090/gmap that doesn't work for obvious reasons.

                  Looks like graphs1090 is involved in this to. It reports CPU load, but no ADS-messages.
                  EDIT: Looks like I can fix the graphs with this solution; https://github.com/wiedehopf/graphs1...-configuration

                  So to sum up, whats working at the moment;
                  readsb radar
                  tar1090
                  FR24 feeder
                  Planefinder feeder
                  Flightaware feeder.

                  Not working
                  Dump1090 map (obvious)
                  graphs1090
                  Last edited by cs.dk; 2020-04-19, 06:30.

                  Comment


                  • #10
                    Originally posted by wiedehopf View Post
                    anyhow, use the only true interface: https://github.com/wiedehopf/tar1090#tar1090
                    tar1090 working

                    Originally posted by wiedehopf View Post
                    Or remove readsb ... go back to dump1090-mutability ... all your choice really.
                    I suppose you could also use this, which probably has the most map choices:
                    https://github.com/wiedehopf/adsb-sc...for-dump1090fa
                    dump1090fa installed and working now..

                    Only 2 things to fix;
                    1: graphs seems to do nothing, which i don't understand as ip-of-pi/dump1090 is working again.
                    2: remove readsb

                    Comment


                    • #11
                      sudo apt remove readsb

                      that will remove readsb
                      you can just reinstall the graphs, it will normally correct to the folder in use.

                      Comment


                      • #12
                        Thank you, would have to wait on an aircraft to see if it works. - Seems like now would be a good time to make an image of the SD-card.

                        Comment

                        Working...
                        X