cat > /etc/ntp.conf << EOM restrict default kod nomodify notrap nopeer restrict -6 default kod nomodify notrap nopeer restrict 127.0.0.1 restrict -6 ::1 restrict 10.1.34.0 mask 255.255.255.0 driftfile /var/lib/ntp/drift keys /etc/ntp/keys server 192.5.41.40 server 192.5.41.41 peer usno-serv-2 # The other USNO infrastructure server EOM
cat > /etc/ntp.conf << EOM restrict default kod nomodify notrap nopeer restrict -6 default kod nomodify notrap nopeer restrict 127.0.0.1 restrict -6 ::1 driftfile /var/lib/ntp/drift keys /etc/ntp/keys server ntp1-a.evla.nrao.edu # VLA stratum 1 server ntp1-b.evla.nrao.edu # VLA stratum 1 server yed.gb.nrao.edu # GB stratum 1 peer usno-serv-2 # The other USNO infrastructure server EOMChange the peer line as appropriate
/etc/init.d/ntpd restart