Subject: ntpd fun (Was (?): Re: netbsd make = gnu make?)
To: None <netbsd-help@NetBSD.org>
From: Mauricio <supremedalek@hotpop.com>
List: netbsd-help
Date: 10/13/2003 01:25:21
At 21:39 -0500 10/12/03, Frederick Bruckman wrote:
>On Sun, 12 Oct 2003, Mauricio wrote:
>
>>	Ok, here I am going to put ntpd alive in my netbsd 1.66.1
>>  box.  I know I could be wrong, but shouldn't it be possible to enter
>>  the servers in /etc/ntp.conf as
>>
>>  server foo.bar.com
>>
>>  as opposite to
>>
>>  server 11.22.33.44?
>
>Sure.

	I feel better now.  I guess I was too much in a hurry before. 
Hours after I had it running, I came back and then it had the right 
time:

katri# date
Mon Oct 13 01:19:38 EDT 2003
katri#

So, all is well once again.   Thanks!  =)

>  > Also, how to find which version of ntpd I have in the machine?
>
>When you start "ntpd", it will write its version into the syslog, and
>after, the output of "ntpq -c rv" will include the version.
>
>Frederick

katri# ntpq -c rv
status=06c4 leap_none, sync_ntp, 12 events, event_peer/strat_chg,
processor="pmax", system="NetBSD1.6.1", leap=00, stratum=2,
precision=-16, rootdelay=225.455, rootdispersion=103.885, peer=14980,
refid=caspak.cerias.purdue.edu,
reftime=c334b40f.3cb9cb68  Mon, Oct 13 2003  1:18:07.237, poll=10,
clock=c334b449.0acd6c2e  Mon, Oct 13 2003  1:19:05.042, state=4,
phase=-110.419, frequency=23.491, jitter=86.084, stability=0.351
katri#

I guess it is shy, so let's be a bit more caveman:

katri# cat /var/log/messages | grep ntpd
Oct 10 09:58:31 katri ntpd[2056]: ntpd 4.0.99i Tue Apr  8 20:38:12 UTC 2003 (1)
Oct 10 09:58:33 katri ntpd[2056]: precision = 22 usec
Oct 10 09:58:33 katri ntpd[2056]: using kernel phase-lock loop 0041
Oct 12 22:11:56 katri ntpd[2056]: time reset 216528.256212 s
                                               OOps 
^^^^^^^^^^^^^^^^^^ shame on me!
Oct 12 22:11:56 katri ntpd[2056]: kernel pll status change 41
Oct 12 22:31:21 katri ntpd[2056]: time reset 0.361666 s
katri#

Hmmm, the current version is 4.1.2.  I wonder whether I should 
upgrade it already.