There are certain steps to configure NTP on Solaris, and it’s really easy and simple. Just follow the following steps
For Starting NTP on Solaris:
- Logon to the server using root.
- Now go to /etc/inet/
- Rename ntp.client to ntp.conf
- Now edit ntp.conf and replace multicastclient 224.0.1.1 with server ip-of-your-winntp-server
# ident "@(#)ntp.client 1.3 00/07/17 SMI"
#
# /etc/inet/ntp.client
#
# An example file that could be copied over to /etc/inet/ntp.conf; it
# provides a configuration for a host that passively waits for a server
# to provide NTP packets on the ntp multicast net.
#
server ip-of-your-winntp-server
#multicastclient 224.0.1.1
- Search for the NTP service using svcs -a | grep ntp
root@SVR # svcs -a | grep ntp
disabled Apr_21 svc:/network/ntp:default
- Start NTP Server if Disabled using svcadm enable svc:/network/ntp:default and check the service status again.
root@SVR # svcs -a | grep ntp
online 14:25:19 svc:/network/ntp:default
- Now check NTP status using ntpq –p
root@SVR # ntpq –p
remote refid st t when poll reach delay offset disp
==============================================================================
192.168.1.7 192.168.38.220 2 u 10 64 1 0.69 10.177 15875.0