Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 51

Thread: Transferred from windows to Pi - different code

  1. #21
    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?

  2. #22
    Captain
    Join Date
    Apr 2018
    Posts
    748
    Seems you missed some of my posts.

    The apt update problem you have will likely reoccur with other images, it is probably connected to your internet connection offering IPv6 that doesn't actually work.
    Or something along those lines.

    I would recommend starting with a fresh Raspbian Lite image and going from there.
    But as i said, might as well find the problem now because the apt update problem will be there on a fresh image as well.


    In your endeavor to install dump1090-fa manually, this command likely didn't work:
    Code:
    sudo apt update
    The apt install command can't find the package if apt update isn't working properly.


    Have you tried disabling IPv6 like i suggested?
    Code:
    sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
    sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
    Then try my script again.

  3. #23
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,758
    Just write PI24 image to your microSD card. This is simplest solution for feeding FR24 from Raspberry Pi.

    To download PI24 image:
    https://repo-feed.flightradar24.com/...latest.img.zip

    For instructions:
    https://www.flightradar24.com/build-your-own

  4. #24
    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.

  5. #25
    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

  6. #26
    Captain
    Join Date
    Apr 2018
    Posts
    748
    As expected it's the same problem again. (Failure to resolve)

    Execute these command to disable IPv6 and change the DNS server:

    Code:
    sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
    sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
    sudo sed -i -e '0,/nameserver/{s/nameserver.*/nameserver 8.8.8.8/}' /etc/resolv.conf
    Then just try running the install script again and again until it finishes.

    It seems that it's working sometimes, so i would suspect your internet connection is intermittent somehow.

  7. #27
    Passenger
    Join Date
    Jul 2014
    Posts
    24
    Thanks I'll try again tomorrow.
    However my VIrgin 200Mbs broadband doesn't seem to have any problems with other sites.
    D

  8. #28
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,758
    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.

  9. #29
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    5,007
    Re targeting me as unhelpful for asking the question.

    Please remember I'm a user too. I taught myself just like most.
    Support staff on email would have probably asked the similar questions

    It's not that we can't help until we know that information. But like how the others have since found it helps identify if futher suggestions will end In the same result/worse. Or actually improve things.

    if people followed the pre built instructions from the web or not. Determines where we can improve
    we know that if those are followed, are not exactly intuative. And is part of the reason we attempt to the write them here and get as much info from users as possible as issues arise.

    https://forum.flightradar24.com/thre...ickStart-Guide

    It's better for all to make sure we correct issues come about from guides here if they are the cause than assume/guess what has been attempted to correct issues unattended




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

  10. #30
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    5,007
    And just like that, abcd has posted the same approach while I was.

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

Posting Permissions

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