Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Configuring NTP

$
0
0
By YaST I'm trying to configure an interval of synchronisation of 60 minutes for NTP.
But increasing the number of minutes from the (automatically) set 5 minutes to 60 minutes doesn't work.
Any new setting is set back to 5 minutes when I reopen the "Advanced NTP configuration".

Stopping NTP by "rcntp stop" doesn't help.

The runtime configuration policy is set to "auto"

I checked the traffic with wireshark and noticed that the NT protocol is working
ceaselessly about every 1 minute (not 5).

Code:

"rcntp status" shows

    remote          refid      st t when poll reach  delay  offset  jitter
==============================================================================
-h1939797.strato 160.45.10.8      2 u  228  256  377  17.904    3.260  2.661
-ashe.besaid.de  131.188.3.221    2 u  237  256  377  26.201    5.834  2.211
-stratum2-4.NTP. 129.70.130.70    2 u  241  256  377  27.280  14.277  3.088
-y.ns.gin.ntt.ne 145.238.203.14  2 u  95  256  377  27.992  15.668  3.727
+ptbtime1.ptb.de .DCFp.          1 u  95  256  377  15.387  10.750  2.493
*ptbtime2.ptb.de .PTB.            1 u  31  256  377  16.386  12.954  3.941
+ptbtime3.ptb.de .DCFp.          1 u  25  256  377  14.678    8.442  2.766

Checking for network time protocol daemon (NTPD):                                                  running
ntp.service - LSB: Network time protocol daemon (ntpd)
  Loaded: loaded (/etc/init.d/ntp)
  Drop-In: /run/systemd/generator/ntp.service.d
          └─50-insserv.conf-$time.conf
  Active: active (running) since So 2014-08-10 16:56:24 CEST; 1h 7min ago
  Process: 756 ExecStart=/etc/init.d/ntp start (code=exited, status=0/SUCCESS)
  CGroup: /system.slice/ntp.service
          └─828 /usr/sbin/ntpd -p /var/run/ntp/ntpd.pid -g -u ntp:ntp -i /var/lib/ntp -c /etc/ntp.conf

Code:

su - -c "grep -v '^#' /etc/ntp.conf" shows

driftfile /var/lib/ntp/drift/ntp.drift             

logfile /var/log/ntp                         

keys /etc/ntp.keys                           
trustedkey 1                                 
requestkey 1                                 
server de.pool.ntp.org  iburst
server 1.de.pool.ntp.org  iburst
server 2.de.pool.ntp.org  iburst
server 3.de.pool.ntp.org  iburst
server ptbtime1.ptb.de  iburst
server ptbtime2.ptb.de  iburst
server ptbtime3.ptb.de  iburst

I thought I probably could change the value by editing a file by hand
but I couldn't find the minutes value at "ntp.conf" or somwhere else
in the ntp folders.

Any idea what I'm doing wrong?

--
Cheers, mawi
Kernel: 3.11.10-17-desktop x86_64
Desktop: KDE 4.13.3
Distro: openSUSE 13.1 (Bottle)

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>