Showing posts with label NTP. Show all posts
Showing posts with label NTP. Show all posts

Thursday, February 21, 2008

NTP Client Configuration on Solaris 10

NTP Client Configuration on Solaris 10

1. Check the ntp daemon
ps -ef | grep ntp

It returns xntpd is running.

2. Stop the daemon:
svcadm disable ntp

3. Copy /etc/inet/ntp.client to /etc/inet/ntp.conf. Change mode of ntp.conf to make it writable. Use vi to edit ntp.conf.

Add the following lines:

server yourcompanystimeserver prefer
server 192.43.244.18
server 129.6.15.28
server 216.200.93.8
server 64.236.96.53

multicastclient 224.0.1.1

4. Sync with the time server:
ntpdate yourcompanystimeserver

5. Start ntp daemon
svcadm enable ntp


In Windows XP,
1. download TimeTools SNTP Client from this link.
2. Open a command prompt. Type the following to stop w32time from blocking the port
u:\> net stop w32time

3. Launch TimeTools SNTP Client, in Option page, enter the NTP server IP, tick Adjust System Time and click OK to synchronize. Remember close it immediately because this tool has some bug which causes huge time error if you let it run continuously.