[ntp:questions] ntpdate synchronization often fails

Yoann Fages yoannft at googlemail.com
Thu Nov 6 10:03:56 UTC 2008


Hi all,

I am trying to set up a ntp server on an embedded linux platform. My
platform will be connected to a switch (not connected to internet) and all
clients will synchronize their clock with my platform local clock.
I have downloaded and install ntpd, set up a conf file (ntp.conf) on my
platform:

conf file:

server 127.127.1.0
fudge 127.127.1.0 stratum 3 refid AmT3
logfile /var/log/ntp.log
restrict default notrap nopeer nomodify
restrict 192.168.0.0 mask 255.255.0.0

On my platform I launch ntpd -c ntp.conf.

On a linux PC connected to the switch, I launch: ntpdate -b -v server_ip_@

Most of the time, I get this error message: "ntpdate : no server suitable
for synchronization found", but sometimes the synchronization is OK.

What can I do to always have a synchronization?
Is my conf file OK?

Thanks in advance.

Yoann.



More information about the questions mailing list