Page 1 of 5 123 ... LastLast
Results 1 to 10 of 51

Thread: Transferred from windows to Pi - different code

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Passenger
    Join Date
    Jul 2014
    Posts
    24

    Post Transferred from windows to Pi - different code

    Untitled.jpg
    Hi folks,
    I made the transition from windows to Raspberry and have got it working even if I have now got a new feed name.
    It's on the same network and the router shows it at 192.168.0.22/24
    when I finished installing it there were two addresses which would show me the statistics and the planes being tracked.
    hopefully I have uploaded a picture of someone else's display to show what I mean.
    Unfortunately I have lost those addresses and can't see them anywhere in the manual.
    Could someone help please?

  2. #2
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    5,006
    I think you should be focusing on ensuring you have the right receiver/device type before replacing the feeder software - it shouldn't be reading 0

    Depending on the method first setup it should have been fire and forget.
    Host/IP should have been left blank per your earlier shot. Unless you followed some instructions and it is now only partly configured for one method while installing the other (IE type Beast-TCP IP/Port localhost:30005 instead)

    Can you go back and answer the previous questions

    https://forum.flightradar24.com/thre...l=1#post123533

    First things first. Which instructions did you use to image the device. A guide here, or the very vague website ones? Some have additional steps that may have changed the way things work depending on which you follow.

    Your best method for diagnosis. Is turn on logging. Or stop the feeder. And start it while watching full output for errors.

    sudo systemctl stop fr24feed
    sudo fr24feed

    ctrl-z will cancel it once you see whats wrong. Chances are, it will be reporting error -6 because dump1090 has crashed and still running. A reboot and then re-checking the status is the best way to confirm this.

    https://forum.flightradar24.com/thre...ll=1#post74834
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  3. #3
    Captain
    Join Date
    Apr 2018
    Posts
    746
    747skipper:

    Most likely you are having a problem with IPv6.

    Use these commands and run the install script again, hopefully it works this time.

    Code:
    sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
    sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
    Try the install script a few times if it doesn't work at first, maybe the connection is just intermittent.


    Oblivian: The install script fixes the fr24feed configuration and sets it to beast-tcp and assigns correct host and port.
    But this configuration wasn't yet changed because there were errors install dump1090-fa.

    If you want to move stuff to a new thread, maybe just put the username in the thread title
    Anyway thanks for the efforts i'll shut up now and let you do as you wish!

  4. #4
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    5,006
    Quote Originally Posted by wiedehopf View Post
    747skipper:


    Oblivian: The install script fixes the fr24feed configuration and sets it to beast-tcp and assigns correct host and port.
    But this configuration wasn't yet changed because there were errors install dump1090-fa.
    !
    That may be.

    But his first image - no port is set, just DVBT.

    And the current one, DVBT and a port/IP of 30002 set

    And we know how well that works.

    So without knowing still what instructions were used to set it up. It may well have been the Mutability install ABCD did, and it's running as a service (being busted when going DVBT again)

    I know yours will likely fix that, but we still don't know if its actually a DVBT/SDR either.
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  5. #5
    Passenger
    Join Date
    Jul 2014
    Posts
    24
    Oblivian:

    Reason I can't tell you what install package I used is because there are so many confusing different posts.

    Can you give me a link to a Raspberry pi suitable image for the SD card and I'll start again.

    I'm using the same stick I have uses successfully under
    Windows before I was forced to Linux.
    When in Windows it is reported as RTL2832U

    I'll start again from the top with what ever package you recommend.
    Regards
    David

  6. #6
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    5,006
    Quote Originally Posted by 747skipper View Post
    Oblivian:

    Reason I can't tell you what install package I used is because there are so many confusing different posts.

    Can you give me a link to a Raspberry pi suitable image for the SD card and I'll start again.

    I'm using the same stick I have uses successfully under
    Windows before I was forced to Linux.
    When in Windows it is reported as RTL2832U

    I'll start again from the top with what ever package you recommend.
    Regards
    David
    That may be.

    But you either followed someone's instructions.

    And did lots of manual steps.

    Or applied an automated image via fr24s website. Which is about 3 steps.

    Both have very different outcomes

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

  7. #7
    Passenger
    Join Date
    Jul 2014
    Posts
    24
    I started with an image but it didn't work as advertised so I've been trying suggestions since.
    What image do you recommend?

  8. #8
    Passenger
    Join Date
    Jul 2014
    Posts
    24
    OK. I quite understand Oblivian you need to know exactly what one has done before you can help.

    So I've started again from the very beginning.

    This is what I've done, written as a guide to other beginners. I appreciate how hard it is for people who are deeply ingrained in an operating system to realise just how impenetrable it is to beginners.
    This lists some of the traps into which I fell, despite 50 years experience in computers.

    Use Windows explorer to format a 4GB SD card FAT 32

    Use your browser to go to https://www.flightradar24.com/build-your-own
    Follow the link to download the latest version of the program.
    which is fr24-raspberry-pi-latest.img.ZIP Note the double ending, .zip and .img

    Use a program like WINZIP to UNZIP this file to fr24-raspberry-pi-latest.img

    As instructed on the web page use Win32DiskImager to write the .IMG file to SD card.
    (NB it will recognise the file ending in .zip and happily write something to the SD card) but your Pi will not recognise it.


    plug SD into Pi
    Add:
    A RTL2832U dongle and aerial
    a Network Cable connected to your router
    and then Power on Pi
    you should get a Solid red LED, a solid Yellow LED and 2 Green LEDS


    The web page ends with an "Activate new receiver link"..... which did not work.
    But there is a click "here" link for such occasions.

    I clicked it and it says "SSH into your Raspberry Pi and execute this command:"
    sudo bash -c "$(wget -O - https://repo-feed.flightradar24.com/install_fr24_rpi.sh)"

    What wonderful crystal clear instructions to someone who has never had a Pi before and knows nothing of Linux!
    It is about here you begin to wonder if FR24 want more data!
    I'm a beginner! 1:What is SSH 2: How do you execute commands on a Pi? I don't know, I've never seen a Pi before (and don't want to see one again)

    After much searching I discover what you need to do is:
    1: Download a program called Putty to your P.C.
    2: Go to your router's home page (often 192.168.0.1) and see what address your Pi has been allocated, (192.168.0.23 in my case)
    3: Start Putty, in SSH mode, connect to 192.168.0.23 (or whatever address yours has.)
    4: Log into the Pi by entering:
    5: User name Pi
    6: Password Raspberry
    7: A FR24 Logo and message should appear.
    8: Copy the string above from your browser
    9: RIGHT click in Putty at the cursor. (which pastes it into Putty)
    10: press Enter

    Putty now goes into Cinema science fiction mode with many scrolling pages of DOS like text.

    What is supposed to happen now I don't know but this is what I got.



    login as: pi
    pi@192.168.0.23's password:
    Linux raspberrypi 4.14.71+ #1145 Fri Sep 21 15:06:38 BST 2018 armv6l
    ______ _ _ _ _ _ _____ ___
    | ___|| |(_) | | | | | | / __ \ / |
    | |_ | | _ __ _ | |__ | |_ _ __ __ _ __| | __ _ _ __`' / /' / /| |
    | _| | || | / _` || '_ \ | __|| '__|/ _` | / _` | / _` || '__| / / / /_| |
    | | | || || (_| || | | || |_ | | | (_| || (_| || (_| || | ./ /___\___ |
    \_| |_||_| \__, ||_| |_| \__||_| \__,_| \__,_| \__,_||_| \_____/ |_/
    __/ |
    |___/


    SSH is enabled and the default password for the 'pi' user has not been changed.
    This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.

    pi@raspberrypi:~ $ sudo bash -c "$(wget -O - https://repo-feed.flightradar24.com /install_fr24_rpi.sh)"
    --2019-07-21 16:50:19-- https://repo-feed.flightradar24.com/install_fr24_rpi.sh
    Resolving repo-feed.flightradar24.com (repo-feed.flightradar24.com)... 104.18.72 .225, 104.18.71.225, 2606:4700::6812:47e1, ...
    Connecting to repo-feed.flightradar24.com (repo-feed.flightradar24.com)|104.18.7 2.225|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1281 (1.3K) [application/x-sh]
    Saving to: ‘STDOUT’

    - 100%[===================>] 1.25K --.-KB/s in 0.001s

    2019-07-21 16:50:20 (1.34 MB/s) - written to stdout [1281/1281]

    Get:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
    Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
    Get:3 http://repo.feed.flightradar24.com flightradar24 InRelease [13.0 kB]
    Get:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB]
    Get:5 http://repo.feed.flightradar24.com flightradar24/raspberrypi-stable armhf Packages [606 B]
    Get:6 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages [ 95.5 kB]
    Get:7 http://archive.raspberrypi.org/debian stretch/main armhf Packages [221 kB]
    Get:8 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [45.0 kB]
    Fetched 12.1 MB in 43s (280 kB/s)
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    gnupg gnupg-agent
    Suggested packages:
    tor parcimonie xloadimage scdaemon
    Recommended packages:
    gnupg-l10n
    The following packages will be upgraded:
    dirmngr gnupg gnupg-agent
    3 upgraded, 0 newly installed, 0 to remove and 93 not upgraded.
    Need to get 2,069 kB of archives.
    After this operation, 5,120 B of additional disk space will be used.
    Err:1 http://raspbian.raspberrypi.org/raspbian stretch/main armhf dirmngr armhf 2.1.18-8~deb9u4
    Temporary failure resolving 'raspbian.raspberrypi.org'
    Err:2 http://raspbian.raspberrypi.org/raspbian stretch/main armhf gnupg-agent ar mhf 2.1.18-8~deb9u4
    Temporary failure resolving 'raspbian.raspberrypi.org'
    Err:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf gnupg armhf 2. 1.18-8~deb9u4
    Temporary failure resolving 'raspbian.raspberrypi.org'
    E: Failed to fetch http://raspbian.raspberrypi.org/rasp...ain/g/gnupg2/d irmngr_2.1.18-8~deb9u4_armhf.deb Temporary failure resolving 'raspbian.raspberr ypi.org'
    E: Failed to fetch http://raspbian.raspberrypi.org/rasp...ain/g/gnupg2/g nupg-agent_2.1.18-8~deb9u4_armhf.deb Temporary failure resolving 'raspbian.rasp berrypi.org'
    E: Failed to fetch http://raspbian.raspberrypi.org/rasp...ain/g/gnupg2/g nupg_2.1.18-8~deb9u4_armhf.deb Temporary failure resolving 'raspbian.raspberryp i.org'
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis sing?
    pi@raspberrypi:~ $

    OK Oblivian There's all I know and all I did.

    Please can you help me get this working again like it used to before Pi, using simple instructions like mine above?
    Best wishes
    David

    P.S> This was all on a Windows P.C. if you have a Mac may God have mercy on your soul.

  9. #9
    Passenger
    Join Date
    Jul 2014
    Posts
    24
    wiedehopf:

    Thanks for your help too.
    I did try your previous helpful suggestion.
    When the automatic installation didn't work I tried the manual which work until the line I quoted.

    I didn't see your post before I started again from scratch.



    ABC567

    Thank you too.

    As you will see from MEGA post above I have tried exactly that "Simple" approach
    Even after I managed to get past the Gotchas and worked out how to do the things it asks for it still didn't work.

    But at least you can now all see where I am and how I got here

    Thanks again.

    David

  10. #10
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,757
    Quote Originally Posted by 747skipper View Post
    As you will see from MEGA post above I have tried exactly that "Simple" approach
    Even after I managed to get past the Gotchas and worked out how to do the things it asks for it still didn't work.

    You did everything correct. It is FR24 fault that at activation, they instruct a PI24 image user to give following command which creates a mess:

    sudo bash -c "$(wget -O - https://repo-feed.flightradar24.com/install_fr24_rpi.sh)"

    Do NOT use above command. Use following command:

    fr24feed --signup


    Please see this guide:

    2019 - PI24 (Image) QuickStart Guide

    It tells not to use bash command and use fr24feed --signup
    STEP-5: ACTIVATION

    It also guides that to issue commands use PuTTY.
    STEP-8: Access and control of RPi from Desktop/Laptop using SSH
    Last edited by abcd567; 2019-07-21 at 19:29.

Posting Permissions

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