Jump to navigation Jump to search
I created /etc/ntp/ntp.conf file with the following settings
marouf@quark->more ntp.conf restrict 192.168.0.0 restrict 127.0.0.1 server ntp1.earlham.edu server ntp2.earlham.edu
you can check and see if ntp is actually using the two servers above as peers by using ntpq -p
[root@hp /var/log]# ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== pax.earlham.edu 126.96.36.199 3 u 65 128 7 0.493 31954.9 4.326 eirene.earlham. 188.8.131.52 3 u 66 128 7 0.559 31948.8 4.630
and finally make sure to add the following line to /etc/rc.conf
[root@hp /var/log]# more /etc/rc.conf | grep ntpd ntpd_enable="YES"