Page 3 of 3 FirstFirst 123
Results 31 to 32 of 32

Thread: Wrong Time

  1. #31
    ViX Beta Tester birdman's Avatar

    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    5,179
    Thanks
    120
    Thanked 1,107 Times in 885 Posts
    Quote Originally Posted by birdman View Post
    whereas yours showed that ntpdate-sync had reset the time to 0 (or at least <= 10000).

    I can't see why it would do that on one system but not on another.
    The ntpdate source code contains this at the start of clock_adjust() (which is the only entry to the code which changes the clock):

    Code:
            if (server == 0) {
                    msyslog(LOG_ERR,
                            "no server suitable for synchronization found");
                    return(1);
            }
    Leaving aside the fact that the check is against 0* this means that if no NTP server has been reachable then the code just returns without ever changing the clock. So I'm at a loss to see how your system gets past this if it has no network connexion.



    *(it should be against NULL or , better, !server - on Unix systems these tests are all the same, but I've used systems where they are not...)
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  2. #32
    ViX Beta Tester birdman's Avatar

    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    5,179
    Thanks
    120
    Thanked 1,107 Times in 885 Posts
    Quote Originally Posted by el bandido View Post
    Please post a log of your test to compare. Thanks.
    Here it is, but doubt it will show anything beyond what I've noted.
    Enigma2_debug.zip
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.