I am running OpenNTPD in OpenBSD 3.8 and /var/log/daemon shows it is
working fine -

peer <IP> now valid
adjusting local clock by -0.434343
clock is now synced

But if I run ntpq -p (as root) it says

ntpp:read:Connection refused

lsof -i | grep ntpd shows ntpd is listening from local IP port 4345 to
remote IP port NTP and using UDP.

I have configured 2 files

[1] /etc/ntpd.conf

here I bind ntp to local IP address
and connect to the nearest NTP server.

[2] /etc/rc.conf

here I set the flag to "" for ntp to start during boot time.

I read the /usr/local/share/example/ntp/README.OpenBSD and did all the
configurations accordingly; since they are not working I have
commented out step 2(a), (b) and (c).

Also, I would like to generate keys (/usr/local/sbin/ntp-genkey), put
them in the conf file and encrypt the traffic. But I couldn't find any
documentat or manpage to tell me how to do that.
Running ntp-genkey usually creates 2 keys (RSA and MD5) in the home
directory and symlink them to another 2 files.

Any pointers?

Thanks in advaance for any help.

Reply via email to