Hi there,
I have realized that the Time on my ESS system is not correct (it has fallen behind by some 2 minutes). I have investigated the problem and tried to fix it, but I have come to a “dead-end.”
The situation is as follows:
- I have Cerbo GX Mk.2 – configured ESS, firmware v3.52 (build date/time: 20241120085113)
- Time zone is set to Central Europe Standard Time
- Date/Time can not be set manually (in GUI v2) [see screenshot below]
- Cerbo is connected both with ethernet and wifi to the same network
Obviously, the NTP synchronization, which is expected to keep the time current, is not running for some reason. I have logged in via SSH and these are the findings:
- command
date
really shows incorrect time - configuration of
/etc/connman/main.conf
seems correct (there are Europe’s NTP servers listed) [see snippet below] - BUT, the
connmanctl clock
command shows NOT Timeservers configured - So I tried to add some Timeserver manually, but the command
connmanctl config --timeservers 0.europe.pool.ntp.org
gives me error:Error 'config': Invalid argument
- I tried to check the
hwclock
, and the finding is “interesting” - system time and RTC time differed (System is 58s behind RTC), AND also the RTC clock is behind the real time (-30 s)-- see the snippet below, please.
So, it would be needed to fix the NTP service, which would periodically synchronize clocks, but I am out of ideas, how to do it
Questions:
- Any ideas, why NTP service is not running?
- Is there any “user-friendly” way how to set the Time on the Cerbo (GUI v2)
- How to fix the NTP service?
Screenshot:
Date/Time is not editable in GUI v2:
Snippets:
RTC time vs. System time:
root@cerbo-wifi:/var/log# hwclock -r
2025-02-04 10:22:06.057636+00:00
root@cerbo-wifi:/var/log# date
Tue Feb 4 10:21:08 UTC 2025
ConnMan’s report on Clock:
# connmanctl clock
Time = 1738661009
TimeUpdates = auto
Timezone = Etc/UTC
TimezoneUpdates = auto
Timeservers = [ ]
/etc/connman/main.conf
:
# less /etc/connman/main.conf
[General]
DefaultAutoConnectTechnologies=ethernet,wifi,cellular
AlwaysConnectedTechnologies=ethernet,wifi
PreferredTechnologies=ethernet,wifi,cellular
SingleConnectedTechnology=false
FallbackTimeservers=0.europe.pool.ntp.org,1.europe.pool.ntp.org,2.europe.pool.ntp.org,3.europe.pool.ntp.org
FavoriteMaxRetries=-1
NetworkInterfaceBlacklist=ppp,ap,disabled,ll
EnableIPv4LL=false