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
  Clock Setting 12 hrs coolnine98 2 5,774 06-30-2022, 09:38 AM
Last Post: sblaydes
  Installing OS for the first time (newbie) mikeardy 1 2,305 05-01-2022, 03:39 PM
Last Post: tllim
  initramfs issue with latest apt update timxjr1300 0 2,594 09-02-2019, 03:12 AM
Last Post: timxjr1300
  Read CPU info (temperature, clock speed) Borglesnorgle Williams 1 4,166 02-23-2019, 08:46 PM
Last Post: tllim
Exclamation USB-HDD power management issue / instant spindown samu666 2 3,962 09-12-2017, 01:33 PM
Last Post: samu666
  +PINEBOOK CAN protocol parsedata 1 3,124 07-07-2017, 06:05 PM
Last Post: MarkHaysHarris777
  Problem connecting to specific wifi network JamesWatt 1 4,629 07-03-2017, 02:09 PM
Last Post: ChristianC123
  Thurderbird starts and then crashes every time Dougemerich 6 7,345 09-08-2016, 09:56 PM
Last Post: DaveyDarko
  Network Access Error coolnine98 5 6,967 06-29-2016, 06:15 PM
Last Post: coolnine98
  no network (dhcp) at work, all good at home. pineacle 1 2,709 06-28-2016, 10:13 PM
Last Post: pineacle

Forum Jump:


Users browsing this thread: 1 Guest(s)