From Earlham CS Department
Jump to navigation Jump to search

I created /etc/ntp/ntp.conf file with the following settings

marouf@quark->more ntp.conf
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    3 u   65  128    7    0.493  31954.9   4.326
 eirene.earlham.    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