Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: Data transmission interrupted intermittently

  1. #11
    Passenger
    Join Date
    Jan 2019
    Posts
    16
    Running into a new issue... that fix works, but my edits seem to be erased after changing anything within my setup on my Pi. Even though I save it and reboot every time. Any ideas as to why my edits don't persist? Does the FR24 auto-update revert the .ini files to their original form?

  2. #12
    Captain
    Join Date
    Apr 2018
    Posts
    699
    Can you post the output of
    Code:
    ls /boot
    ls -l /etc/fr24feed.ini
    mount | grep mmcblk

    If you are on a fr24 sd-card image then it seems the main partition is read-only.
    Not sure why. Maybe if there is a config file in /boot you can change the setting there.

  3. #13
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,732
    Code:
    sudo chmod a+rw /etc/fr24feed.ini
    Last edited by abcd567; 2019-02-06 at 22:39.

  4. #14
    Captain
    Join Date
    Apr 2018
    Posts
    699
    Quote Originally Posted by abcd567 View Post
    Code:
    sudo chmod a+x /etc/fr24feed.ini
    Making it executable won't help with making it writeable.
    Making it writable would be this:
    Code:
    sudo chmod a+w /etc/fr24feed.ini
    Anyhow if the main partition is mounted read only which seems to be the case with the current fr24 sd-card image, then this won't work.

  5. #15
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,732
    Oops, instead of a+rw, I wrote a+x.
    Corrected it now.

  6. #16
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,732
    From fr24feed installation script:
    Code:
    # Run the signup wizard
    if [ $AUTO_SIGNUP -eq 0 ]; then
        fr24feed --signup
        chmod a+rw /etc/fr24feed.ini
        
        # Restart the feeder software
        systemctl restart fr24feed
    fi

  7. #17
    Passenger
    Join Date
    Jan 2019
    Posts
    16
    Quote Originally Posted by wiedehopf View Post
    Can you post the output of
    Code:
    ls /boot
    ls -l /etc/fr24feed.ini
    mount | grep mmcblk

    If you are on a fr24 sd-card image then it seems the main partition is read-only.
    Not sure why. Maybe if there is a config file in /boot you can change the setting there.
    I'm not on a fr24 sd-card image, I built it from scratch (stretch). Here's a screenshot of the outputs of all three of those commands:

    IMG_7742.jpg

    Looks to me like the file is read/write? I'm at work right now so I can't dig into it too much but let me know if anything jumps out.

  8. #18
    Captain
    Join Date
    Apr 2018
    Posts
    699
    After saving and exiting, can you open the file again and check if the changes are still present?

    Maybe you are not actually saving it? (Not sure what else it could be, i don't think the automatic update is messing with the config file at least i would hope it is not)

  9. #19
    Passenger
    Join Date
    Jan 2019
    Posts
    16
    Yeah, the changes are still there after I save, exit, and re-open. I'll try to replicate the problem tonight. FWIW, I did just re-install the FlightAware feeder, which required a reboot, and that's when I noticed that the data transmission was intermittent again. So either the reboot caused the change, or somehow the installation of the FlightAware feeder changed something, which would be surprising.

  10. #20
    Captain
    Join Date
    Apr 2018
    Posts
    699
    Did you run through the signup dialogue?

    That probably overwrites the settings file with the information you entered.

Posting Permissions

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