I am running OpenNTPD in OpenBSD 3.8 and /var/log/daemon shows it is working fine -
Code:
peer <IP> now valid
adjusting local clock by -0.434343
clock is now synced
But if I run ntpq -p (as root) it says
Code:
ntpp:read:Connection refused
lsof -i | grep ntpd shows ntpd is listening on local IP port 4345 to remote IP <IP> port NTP and UDP. Both on IPv4 and IPv6.
I have configured 2 files
[1] /etc/ntpd.conf
here I bind ntp to local IP address
and connect to the NTP server that is enarest to me.
[2] /etc/rc.conf
here I set the flag to "" for ntp to start during boot time.
TIA.