NTP update not working well

I just had to chnage my ntp conf again to get ntp working correctly…

Before

[root@wr-fw ~]# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*LOCAL(0)        .LOCL.          10 l   60   64  377    0.000   +0.000   0.000

[root@wr-fw ~]# cat /etc/ntp.conf-01
disable monitor
restrict default nomodify noquery
restrict 127.0.0.1
server  127.127.1.0 prefer
fudge   127.127.1.0 stratum 10
driftfile /etc/ntp/drift

after

[root@wr-fw ~]# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 0.au.pool.ntp.o .POOL.          16 p    -   64    0    0.000   +0.000   0.000
 1.au.pool.ntp.o .POOL.          16 p    -   64    0    0.000   +0.000   0.000
 2.au.pool.ntp.o .POOL.          16 p    -   64    0    0.000   +0.000   0.000
 3.au.pool.ntp.o .POOL.          16 p    -   64    0    0.000   +0.000   0.000
 bitburger.simon .GPS.            1 u    7   64    7   66.088  +17.137  52.880
 any.time.nl     8.145.32.135     2 u    7   64    7   51.028  +21.269  51.868
 103.76.40.123 ( 110.142.180.39   2 u   10   64    7   52.973  +21.902  51.417
 ntp2.ds.network 162.159.200.1    4 u   11   64    7    7.019  +21.396  51.591
 time.cloudflare 10.84.8.4        3 u   12   64    7    6.542  +21.216  51.657
 x.ns.gin.ntt.ne 249.224.99.213   2 u   15   64    7   53.703  +23.776  51.615
 toc.ntp.telstra 58.163.113.212   2 u   10   64    7    6.101  +19.268  51.533
 ntp1.ds.network 162.159.200.123  4 u   16   64    7    7.038  +21.764  51.995
 pauseq4vntp2.da 110.142.180.39   2 u   13   64    7   55.383  +22.052  51.303
 ntp.seby.io     17.253.66.253    2 u   15   64    7   51.082  +20.947  51.853
 y.ns.gin.ntt.ne 249.224.99.213   2 u   16   64    7   53.568  +25.298  52.200
 time.cloudflare 10.84.8.4        3 u   13   64    7    6.581  +19.633  52.201
 61-68-38-238.st 203.59.7.248     3 u   11   64    7    6.414  +18.791  52.401
 ec2-13-55-50-68 203.206.205.83   3 u   12   64    7   47.739  +19.313  51.808
 eth817.qld.adsl 172.22.254.53    2 u   12   64    3   73.448  +19.447  33.210
 123.50.147.14   .PPS.            1 u   16   64    3   72.347  +21.210  31.913
 45.76.113.31 (d 17.253.66.125    2 u   19   64    1   51.149  +21.280   0.000

[root@wr-fw ~]# cat /etc/ntp.conf
disable monitor
restrict default nomodify
pool 0.au.pool.ntp.org
pool 1.au.pool.ntp.org
pool 2.au.pool.ntp.org
pool 3.au.pool.ntp.org
fudge   127.127.1.0 stratum 10
driftfile /etc/ntp/drift

Hi all,

all right, let’s shed some light on this…

This is completely intentional. Please refer to the NTP Pool Project’s homepage for further information on how the NTP pool architecture works.

ntpd sometimes gets confused if the internet connectivity is flapping. Because of this and some other reasons, we decided to move on to chrony, being a more robust software with a smaller footprint. Unfortunately, time is currently short, and priorities laid elsewhere (kernel 5.10.x in particular).

Thanks, and best regards,
Peter Müller

2 Likes

I have a local GPS timeserver, updating from it hourly doesn’t sound great (yes i can edit the config directly).
I did find it counter-intuitive when i set an ntp server in the gui, it’s using that for settime as opposed the ntp service.
chrony would be nice.

hi !

as i remember i posted here somewhere lfs for chrony (i have it running on my ipfire) … but if you want to use gps with sense , you need also the PPS signal which is provided by satelites. for this i use 2x Pi4 with this module (ipfire runs with a USB-DCF77 module)
I did not figured out how to use gpio pin of my APU board…

Ciao Gerd

Hi !
I put the ipfire related stuff to here

Ciao Gerd

1 Like

NTP issues are fixed in IPFire 2.27 - Core Update 169 released.

see:
https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=2234e8aacac2e0d0b06dac4513585c15c2b3b440

1 Like