Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2008 12:55:25 -0400
From:      B. Cook <bcook@poughkeepsieschools.org>
To:        freebsd-questions@freebsd.org
Subject:   OpenNTPd howto?
Message-ID:  <0911AC74-A73F-4F8B-8495-1FF2DC959B65@poughkeepsieschools.org>

next in thread | raw e-mail | index | archive | help
Hello All,

Not sure what I am missing, but I am.

so I put openntpd on a machine (10.20.0.16)

cat ntpd.conf | egrep -v ^#

listen on 0.0.0.0
server clock.nyc.he.net

then start it and it looks like it does:

USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN  
ADDRESS
_ntp     ntpd       15751 4  udp4   10.20.0.16:55180       
209.51.161.238:123
_ntp     ntpd       15751 6  udp4   *:123                 *:*


Strange thing one:

root@core [/usr/local/etc]# 30 > ntpdate -b clock.nyc.he.net
  1 Jul 12:43:52 ntpdate[48881]: the NTP socket is in use, exiting

root@core [/usr/local/etc]# 31 > /usr/local/etc/rc.d/openntpd stop
Stopping openntpd.

root@core [/usr/local/etc]# 32 > ntpdate -b clock.nyc.he.net
  1 Jul 12:49:57 ntpdate[70917]: step time server 209.51.161.238  
offset 358.732506 sec

Why when it was running did it not update the clock on the server?

Strange thing two:

 From a different computer I can not get the time from the server  
running openntpd.

# ntpdate -b 10.20.0.16
  1 Jul 12:50:23 ntpdate[679]: no server suitable for synchronization  
found


What am I missing?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0911AC74-A73F-4F8B-8495-1FF2DC959B65>