Issue with NTP (Network Time Protocol) and RTC (Real Time Clock), timedatectl
#1
I have a Pine64 2GB without anything extra attached (like WiFi, RTC battery, or monitor).

I have installed the ntp package and timedatectl reports the time and date being synchronized. The issue is that the time displayed is off by two hours (and a second).

Code:
     Local time: Mon 2017-08-07 17:28:06 CEST
 Universal time: Mon 2017-08-07 15:28:06 UTC
       RTC time: Mon 2017-08-07 15:28:07
      Time zone: Europe/Stockholm (CEST, +0200)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no

The actual local time is 15:28:07, not 17:28:06

You might then tell me to set timedatectl set-local-rtc true but this causes the following message to appear the next time I run timedatectl
Code:
     Local time: Mon 2017-08-07 17:30:13 CEST
 Universal time: Mon 2017-08-07 15:30:13 UTC
       RTC time: Mon 2017-08-07 17:30:12
      Time zone: Europe/Stockholm (CEST, +0200)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: yes

Warning: The system is configured to read the RTC time in the local time zone.
        This mode can not be fully supported. It will create various problems
        with time zone changes and daylight saving time adjustments. The RTC
        time is never updated, it relies on external facilities to maintain it.
        If at all possible, use RTC in UTC by calling
        'timedatectl set-local-rtc 0'.


This means that the local time is still wrong and that the warning is suggesting me not to use set-local-rtc.

What should I do to make the local, UTC and RTC time correct?
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Read CPU info (temperature, clock speed) Borglesnorgle Williams 1 162 02-23-2019, 08:46 PM
Last Post: tllim
Exclamation USB-HDD power management issue / instant spindown samu666 2 378 09-12-2017, 01:33 PM
Last Post: samu666
  +PINEBOOK CAN protocol parsedata 1 352 07-07-2017, 06:05 PM
Last Post: MarkHaysHarris777
  Problem connecting to specific wifi network JamesWatt 1 805 07-03-2017, 02:09 PM
Last Post: ChristianC123
  Thurderbird starts and then crashes every time Dougemerich 6 499 09-08-2016, 09:56 PM
Last Post: DaveyDarko
  Clock Setting 12 hrs coolnine98 1 288 07-11-2016, 08:31 AM
Last Post: MarkHaysHarris777
  Network Access Error coolnine98 5 876 06-29-2016, 06:15 PM
Last Post: coolnine98
  no network (dhcp) at work, all good at home. pineacle 1 219 06-28-2016, 10:13 PM
Last Post: pineacle

Forum Jump:


Users browsing this thread: 1 Guest(s)