1. Create configuration file

for server: cp /etc/inet/ntp.server /etc/inet/ntp.conf

  • server 127.127.1.0 prefer
  • #fudge 127.127.XType. 0 stratum 0

for client: cp /etc/inet/ntp.client /etc/inet/ntp.conf

  • server <ip_address> 

2. Start NTP service

touch /var/ntp/ntp.drift

svcadm enable svc:/network/ntp:default
svcadm enable svc:/network/time:dgram
svcadm enable svc:/network/time:stream
Comments:

I think it would be worth pointing out that the server instructions would result in a dangerous NTP server claiming to be stratum 1 but actually synchronised to a completely worthless unsychronised clock. Please don't run servers configured like that.

Posted by Ceri Davies on November 17, 2008 at 03:51 AM CST #

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by Zhao Edgar Liu