Jump to content

[Cubie3] unable to change systemdate


tobias.faust

Recommended Posts

Hi,

i have a small/big problem because i`m not able to change the system time. The same with ntpdate, its not able to adjust :( and i didnt have any idea whats wrong.

My cubie3 runs with Debian Jessi. Here are some logs what i tried to adjust my time. Can anybody see whats wrong and what can i do?

 

 

You see, a "date -s" has no result in adjusting system time

root@www:~# date -s "15 MAY 2018 09:47:00"
Di 15. Mai 09:47:00 CEST 2018
root@www:~# date;hwclock
Di 15. Mai 10:22:58 CEST 2018
Di 15 Mai 2018 10:02:04 CEST  -1.711357 seconds

 

same, to success with timedatectl

root@www:~# timedatectl
Warning: Ignoring the TZ variable. Reading the system's time zone setting only.

      Local time: Di 2018-05-15 10:23:43 CEST
  Universal time: Di 2018-05-15 08:23:43 UTC
        RTC time: Di 2018-05-15 08:02:48
       Time zone: Europe/Berlin (CEST, +0200)
     NTP enabled: no
NTP synchronized: no
 RTC in local TZ: no
      DST active: yes
 Last DST change: DST began at
                  So 2018-03-25 01:59:59 CET
                  So 2018-03-25 03:00:00 CEST
 Next DST change: DST ends (the clock jumps one hour backwards) at
                  So 2018-10-28 02:59:59 CEST
                  So 2018-10-28 02:00:00 CET
root@www:~# timedatectl set-time '09:51:00'
root@www:~# timedatectl
Warning: Ignoring the TZ variable. Reading the system's time zone setting only.

      Local time: Di 2018-05-15 10:24:07 CEST
  Universal time: Di 2018-05-15 08:24:07 UTC
        RTC time: Di 2018-05-15 07:51:03
       Time zone: Europe/Berlin (CEST, +0200)
     NTP enabled: no
NTP synchronized: no
 RTC in local TZ: no
      DST active: yes
 Last DST change: DST began at
                  So 2018-03-25 01:59:59 CET
                  So 2018-03-25 03:00:00 CEST
 Next DST change: DST ends (the clock jumps one hour backwards) at
                  So 2018-10-28 02:59:59 CEST
                  So 2018-10-28 02:00:00 CET
root@www:~#

trying to set systemtime based on hardwaretime with no success

root@www:~# date;hwclock
Di 15. Mai 10:24:41 CEST 2018
Di 15 Mai 2018 09:51:40 CEST  -1.731372 seconds
root@www:~# hwclock --hctosys
root@www:~# date;hwclock
Di 15. Mai 10:24:59 CEST 2018
Di 15 Mai 2018 09:51:59 CEST  -1.761405 seconds
root@www:~#

...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines