LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   NTP Client How to Sync automatically (https://www.linuxquestions.org/questions/programming-9/ntp-client-how-to-sync-automatically-297019/)

minil 03-02-2005 11:58 PM

NTP Client How to Sync automatically
 
Hi
My NTP Server : 192.168.48.105
NTP Client : 192.168.48.120

At server ntpd is running.

ntp client is synchronizing with ntp server only at time i start(/etc/init.d/ntpd start)
ntpd at client.

[root@laxman etc]# /etc/init.d/ntpd start
ntpd: Synchronizing with time server: [ OK ]
Starting ntpd: [ OK ]


Ntp Client is not sync with ntp server, even when i change time at ntp server. only when i restart ntpd next time at client time , client is getting sync with server time.

i want to know how to sync clients time automatically with server. what do modify in ntp.conf file.

ntp.conf

server 192.168.48.105
fudge 127.127.1.0 stratum 10
driftfile /var/lib/ntp/drift
broadcastdelay 0.008
authenticate yes
keys /etc/ntp/keys

thanks in advance

xowl 03-03-2005 12:10 AM

man cron

man at

or add a symlink in /etc/init.d/rc4.d

minil 03-03-2005 12:29 AM

whether ntdp wont sync continously. Is it do only during startup of ntpd serverice?

dalek 03-03-2005 02:52 AM

Mine does it gradually and keeps resyncing at random times. I watch it on Gkrellm. There seems to be no pattern to when it resyncs.

If it is running, it should be working.

Later

:D :D :D :D


All times are GMT -5. The time now is 08:41 PM.