How to Configure NTP in Solaris 10
This is a simple working configuration method posted in the comments of this page. The page is offline but I found it in Google Cache and verified that it works. Reposting it here for posterity.
NTP client setup on SOLARIS 10:
============================================
1. cp /etc/inet/ntp.server /etc/inet/ntp.conf
2. vi /etc/inet/ntp.conf add the IP (example 10.10.10.1) of the "server" and comment out `fudge 127.127.XType.0 stratum 0`
NOTE: file is truncated — some header comments cut out
# Either a peer or server. Replace "XType" with a value from the
# table above.
server pool.ntp.org # or a local NTP server IP like 10.10.10.1
#fudge 127.127.XType.0 stratum 0broadcast 224.0.1.1 ttl 4
enable auth monitor
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enablekeys /etc/inet/ntp.keys
trustedkey 0
requestkey 0
controlkey 0
3. touch /var/ntp/ntp.drift
4. svcadm enable ntp or svcadm restart ntp
5. Check if NTP is online
myhost:~) svcs ntp
STATE STIME FMRI
online 21:11:54 svc:/network/ntp:default
6. Verify:
myhost:~) ntpq –p
remote refid st t when poll reach delay offset disp ============================================================================== NTP.MCAST.NET 0.0.0.0 16 u - 64 0 0.00 0.000 16000.0 216.45.57.38 clock.via.net 2 u 30 64 3 59.39 -92.576 7902.57