NTP and timedatectl

RobFantini

Famous Member
May 24, 2012
2,043
111
133
Boston,Mass
Hello,

I had a standalone system reboot on its own. Looking through syslog there were errors related to time.

With systemd time sync uses different programs than I was used to.

I have a question about this:
Code:
# timedatectl status 
      Local time: Tue 2015-12-29 17:15:51 EST
  Universal time: Tue 2015-12-29 22:15:51 UTC
        RTC time: Tue 2015-12-29 22:15:51
       Time zone: America/New_York (EST, -0500)
     NTP enabled: no
NTP synchronized: yes
 RTC in local TZ: no
      DST active: no
 Last DST change: DST ended at
                  Sun 2015-11-01 01:59:59 EDT
                  Sun 2015-11-01 01:00:00 EST
 Next DST change: DST begins (the clock jumps one hour forward) at
                  Sun 2016-03-13 01:59:59 EST
                  Sun 2016-03-13 03:00:00 EDT

should this be set to yes? : NTP enabled: no
 
Do you still run ntpd?

No I don't run a server. I just want to make sure the system is getting time updated.

So 'NTP synchronized: yes' means the system is getting time updates ?

PS:
I'd like to use NTP server on pfsense for pve nodes on lan. to specify ntp servers should /etc/systemd/timesyncd.conf be used? Using pfsense will I think help keep time more stable on lan .
 
you can turn on NTP client with:

# timedatectl set-ntp true

Yes, you can specify servers in timesyncd.conf