Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 51

Thread: Transferred from windows to Pi - different code

  1. #41
    Passenger
    Join Date
    Jul 2014
    Posts
    24
    Quote Originally Posted by abcd567 View Post
    It is due to Pi24 read only system
    Issue following commands, then run signup again
    sudo mount -o remount,rw /
    sudo touch /etc/fr24feed.ini
    sudo chmod a+rw /etc/fr24feed.ini
    Thanks ABCD I will try that tomorrow
    All the best
    D

  2. #42
    Captain
    Join Date
    Apr 2018
    Posts
    743
    fr24feed -status

    That one is written in one word without the space:

    fr24feed-status

  3. #43
    Captain
    Join Date
    Apr 2018
    Posts
    743
    Found 1 device(s):
    0: Generic, RTL2832U, SN: 77771111153705700 (currently selected)
    Detached kernel driver
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    This was part of the output of "fr24feed -status" which didn't actually give you the status but started fr24feed. Anyway it was useful information

    Your dongle seems to be having problems at least on the RPi. (even when it's working fine in Windows)
    (this is often due to an insufficient power supply)

    Can you run this command for diagnostics:

    Code:
    sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/adsb-wiki/master/rtl_test.sh)"
    You have enough posts now to post the entire output without the post getting blocked
    Last edited by wiedehopf; 2019-07-22 at 18:50.

  4. #44
    Passenger
    Join Date
    Jul 2014
    Posts
    24
    Thanks Wiedehopf
    I ran it this morning and this is what it said.

    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 -q -O - https://raw.githubusercontent.com/wiedehopf/adsb-wiki/master/rtl_test.sh)"
    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 93 not upgraded.
    Need to get 51.7 kB of archives.
    After this operation, 172 kB of additional disk space will be used.
    Get:1 http://archive.raspberrypi.org/debian stretch/main armhf rtl-sdr armhf 0.5.3-11+rpt1 [51.7 kB]
    Fetched 51.7 kB in 0s (393 kB/s)
    Selecting previously unselected package rtl-sdr.
    (Reading database ... 52837 files and directories currently installed.)
    Preparing to unpack .../rtl-sdr_0.5.3-11+rpt1_armhf.deb ...
    Unpacking rtl-sdr (0.5.3-11+rpt1) ...
    Setting up rtl-sdr (0.5.3-11+rpt1) ...
    Processing triggers for man-db (2.7.6.1-2) ...
    -----
    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: Generic, RTL2832U, SN: 77771111153705700

    Using device 0: Generic RTL2832U
    Detached kernel driver
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_read_reg failed with -1
    rtlsdr_write_reg failed with -1
    rtlsdr_read_reg failed with -1
    rtlsdr_write_reg failed with -1
    rtlsdr_read_reg failed with -1
    rtlsdr_write_reg failed with -1
    rtlsdr_read_reg failed with -1
    rtlsdr_write_reg failed with -1
    No supported tuner found
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    Enabled direct sampling mode, input 1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -1
    rtlsdr_demod_write_reg failed with -1
    rtlsdr_demod_read_reg failed with -4
    rtlsdr_demod_write_reg failed with -4
    rtlsdr_demod_read_reg failed with -4
    Supported gain values (1): 0.0
    rtlsdr_demod_write_reg failed with -4
    rtlsdr_demod_read_reg failed with -4
    rtlsdr_demod_write_reg failed with -4
    rtlsdr_demod_read_reg failed with -4
    rtlsdr_demod_write_reg failed with -4
    rtlsdr_demod_read_reg failed with -4
    rtlsdr_demod_write_reg failed with -4
    rtlsdr_demod_read_reg failed with -4
    rtlsdr_demod_write_reg failed with -4
    rtlsdr_demod_read_reg failed with -4
    rtlsdr_demod_write_reg failed with -4
    rtlsdr_demod_read_reg failed with -4
    WARNING: Failed to set sample rate.
    rtlsdr_demod_write_reg failed with -4
    rtlsdr_demod_read_reg failed with -4
    rtlsdr_write_reg failed with -4
    rtlsdr_write_reg failed with -4

    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...
    Failed to submit transfer 0!

    Library error -5, exiting...
    rtlsdr_write_reg failed with -4
    Reattaching kernel driver failed!
    -------
    Test finished!
    More than 2 lost samples per million or other errors probably mean the receiver isn't working correctly.
    Try another power supply before condemning the receiver though!
    -------
    -------
    No undervoltage detected, looking fine!
    If the dongle is not directly plugged into the Raspberry Pi, lack of power/voltage could still be an issue.
    Even without detected undervoltage a better power supply can often improve reception!
    For optimum performance i would recommend the Official Raspberry Pi power supply.
    -------
    pi@raspberrypi:~ $

  5. #45
    Passenger
    Join Date
    Jul 2014
    Posts
    24
    Running Staus correctly gives:

    pi@raspberrypi:~ $ fr24feed-status
    [ ok ] FR24 Feeder/Decoder Process: running.
    [ ok ] FR24 Stats Timestamp: 2019-07-23 07:54:29.
    [ ok ] FR24 Link: connected [UDP].
    [ ok ] FR24 Radar: T-EGHH96.
    [ ok ] FR24 Tracked AC:.
    [ ok ] Receiver: connected ( MSGS/ SYNC).
    [FAIL] FR24 MLAT: not running ... failed!

    FR24 website reports online but no data

  6. #46
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    5,002
    That's the 2 portions of the software I mention in my first post about how it works on extra info thread

    The uploader can sit there all day connected to the server. But if it can't find a decoder or received data your end it won't receive any actual data to send.

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

  7. #47
    Captain
    Join Date
    Apr 2018
    Posts
    743
    Are you using an Raspberry Pi4 by chance? Because the errors look like you are.
    But the pi24 image wouldn't work on that, so i'm a little confused.

    Which model of Raspberry Pi are you using?

    Somehow the dongle doesn't work correctly.
    You will probably need a new dongle, i have listed a few here: https://github.com/wiedehopf/adsb-wi...s-for-purchase

  8. #48
    Passenger
    Join Date
    Jul 2014
    Posts
    24
    Nothing so exotic!
    Model B Revision 2.0
    Have swapped to another PSU capable of up to 8A! (it normally supplies 5 USB sockets for charging all many of things, but is well regulated at 5V.

  9. #49
    Captain
    Join Date
    Apr 2018
    Posts
    743
    So ... re-run the test.

    Code:
    sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/adsb-wiki/master/rtl_test.sh)"

  10. #50
    Passenger
    Join Date
    Jul 2014
    Posts
    24
    Whisper it not too loud but it seems to be working!
    perhaps it was P.S.U. problem?
    Thanks to ALL of you who have helped.

    Just a puzzled thought one of many things I don't understand;

    As a Windows/DOS/mainframe programmer I'm used to dealing with a wide variety of hardware, different drives, processors Operating systems etc. but here we are all using the same micro to run the same software for the same purpose. Why can't FR24 put out one img file which will work out of the box?
    It can include the O.S. and it's for the same hardware, why so many problems and variations?

    Anyway once more So long and thanks for all the fish
    David

Posting Permissions

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