On 2012 Dec 11 (Tue) at 13:53:55 +0100 (+0100), Jan Lambertz wrote:
:Hello,
:
:i try to set up a openntpd server for a local network. because of security
:i don't have a internet connection. goal is to setup openbsd 5.2 release as
:openntpd server, sharing its local time (without sync of any pool servers
:or something) to others.
:
:/etc/ntpd.conf says:
:-----------
:listen on 192.168.1.1 (this in the lan interface)
:
:#no server
:-----------
:ntpd -dvs says:
:listening on 192.168.1.1
:ntp engie ready
:set local clock ....
:
:when i try to connect from another machine (centos 6.3) to my openntpd
:server i get:
:ntpdate
:no servers can be used, exiting
:
:client ntp.conf looks like:
:--------
:server 192.168.1.1
:driftfile ....
:logconfig all
:logfile /var/log/ntp.log
:---------
:
:Im not quite sure if it is possible to use openntpd in this way. i found
:nothing about this in the manual, but i know that ntpd (from ntp.org) is
:able to act in this way.
:
:Thanks in advance
:
You need to have a valid upstream time source. Either via the network,
or via a sensor. Currently, OpenNTPD does not support using the local
clock as a time source.
--
Micro Credo:
Never trust a computer bigger than you can lift.