Hi Raydodo,
It's fine, never mind.
And it's a good news that you get some progress.
I think the setting is always correct depending on your scenario.
In your setting, it is assumed that you are located in GMT, +0000, you want to synchronize the time of your device with NTP server, which may be configured in timesyncd.conf (man timesyncd.conf), but the network connection to that is not available.
In addition, regarding to your case, the following information may be relevant to you.
"Invalid argument" is probably caused by reading the RTC failed, which can be caused by one of two reasons:
1. Something happened with Oscillator in RTC, which you would see a warning log in kern.log as "oscillator stop detected, date/time is not reliable"
2. The time stored in RTC is not a valid time. e.g. earlier than 1970
Currently, I don't know the further reason for these problems, just try to give you some clue, maybe you can find some possibilities regarding your use environment.
Regards,
Simon
raydodo wrote: ↑02 Dec 2019, 15:42
Hi Simon
Sorry for the long delay - moved on to a different project, but back again now.
As before, running
would result in
Code: Select all
Failed to query server: Invalid argument
. However, I then set the clock to the correct time/date using
Code: Select all
sudo timedatectl -s "2019-12-02 14:34"
and
. After doing this
returns
Code: Select all
Local time: Mon 2019-12-02 14:34:45 GMT
Universal time: Mon 2019-12-02 14:34:45 UTC
RTC time: Mon 2019-12-02 14:34:46
Time zone: Etc/Greenwich (GMT, +0000)
Network time on: yes
NTP synchronized: no
RTC in local TZ: no
Is this now the correct setting? I will try and test this week.
Thanks
Ray