[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ntp questions



On Sunday 15 March 2020 00:03:45 David Wright wrote:

> ntpd -g -q

That gets me this and I don't think it will return:
pi@rpi4:/var/log/ntpstats $ sudo ntpd -g -q
15 Mar 01:31:43 ntpd[19606]: ntpd 4.2.8p12@1.3728-o (1): Starting
15 Mar 01:31:43 ntpd[19606]: Command line: ntpd -g -q
15 Mar 01:31:43 ntpd[19606]: proto: precision = 1.371 usec (-19)
15 Mar 01:31:43 ntpd[19606]: leapsecond file 
('/usr/share/zoneinfo/leap-seconds.list'): good hash signature
15 Mar 01:31:43 ntpd[19606]: leapsecond file 
('/usr/share/zoneinfo/leap-seconds.list'): loaded, 
expire=2020-06-28T00:00:00Z last=2017-01-01T00:00:00Z ofs=37
15 Mar 01:31:43 ntpd[19606]: Listen and drop on 0 v6wildcard [::]:123
15 Mar 01:31:43 ntpd[19606]: Listen and drop on 1 v4wildcard 0.0.0.0:123
15 Mar 01:31:43 ntpd[19606]: Listen normally on 2 lo 127.0.0.1:123
15 Mar 01:31:43 ntpd[19606]: Listen normally on 3 eth0 192.168.71.13:123
15 Mar 01:31:43 ntpd[19606]: Listen normally on 4 lo [::1]:123
15 Mar 01:31:43 ntpd[19606]: Listening on routing socket on fd #21 for 
interface updates
15 Mar 01:31:43 ntpd[19606]: Listen for broadcasts to 192.168.71.255 on 
interface #3 eth0

Adding a -b gets this, so the pi isn't getting any time from anyplace: 

pi@rpi4:/var/log/ntpstats $ sudo ntpd -g -b -q
15 Mar 01:44:11 ntpd[19703]: ntpd 4.2.8p12@1.3728-o (1): Starting
15 Mar 01:44:11 ntpd[19703]: Command line: ntpd -g -b -q
15 Mar 01:44:11 ntpd[19703]: proto: precision = 1.482 usec (-19)
15 Mar 01:44:11 ntpd[19703]: Unable to listen for broadcasts, no 
broadcast interfaces available
15 Mar 01:44:11 ntpd[19703]: leapsecond file 
('/usr/share/zoneinfo/leap-seconds.list'): good hash signature
15 Mar 01:44:11 ntpd[19703]: leapsecond file 
('/usr/share/zoneinfo/leap-seconds.list'): loaded, 
expire=2020-06-28T00:00:00Z last=2017-01-01T00:00:00Z ofs=37
15 Mar 01:44:11 ntpd[19703]: Listen and drop on 0 v6wildcard [::]:123
15 Mar 01:44:11 ntpd[19703]: Listen and drop on 1 v4wildcard 0.0.0.0:123
15 Mar 01:44:11 ntpd[19703]: Listen normally on 2 lo 127.0.0.1:123
15 Mar 01:44:11 ntpd[19703]: Listen normally on 3 eth0 192.168.71.13:123
15 Mar 01:44:11 ntpd[19703]: Listen normally on 4 lo [::1]:123
15 Mar 01:44:11 ntpd[19703]: Listen for broadcasts to 192.168.71.255 on 
interface #3 eth0
15 Mar 01:44:11 ntpd[19703]: Listening on routing socket on fd #22 for 
interface updates
15 Mar 01:44:12 ntpd[19703]: Soliciting pool server 204.2.134.164
15 Mar 01:44:14 ntpd[19703]: Soliciting pool server 216.229.0.49
15 Mar 01:44:14 ntpd[19703]: Soliciting pool server 95.81.173.155
15 Mar 01:44:15 ntpd[19703]: Soliciting pool server 193.30.35.11
15 Mar 01:45:17 ntpd[19703]: Soliciting pool server 69.164.202.202
15 Mar 01:45:18 ntpd[19703]: Soliciting pool server 216.229.4.69
15 Mar 01:45:19 ntpd[19703]: Soliciting pool server 5.9.83.106
15 Mar 01:45:20 ntpd[19703]: Soliciting pool server 23.31.21.164
15 Mar 01:46:23 ntpd[19703]: Soliciting pool server 81.169.199.94
15 Mar 01:46:23 ntpd[19703]: Soliciting pool server 50.205.244.24
15 Mar 01:46:25 ntpd[19703]: Soliciting pool server 81.94.123.17
15 Mar 01:46:25 ntpd[19703]: Soliciting pool server 67.205.162.81


Thanks David W.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: