configure NTP client
My purpose to run ntp client, which query ntp server for time.
I have embedded Linux 2.6.10 on ppc running w/ ntpd ver 4.2.4p5
My config file (/etc/ntp.conf) is
restrict default kod nomodify notrap nopeer noquery
At startup , the ntpdate runs, like:
ntpdate -b -u 10.0.0.100
and gives follows output:
ntpdate: step time server 10.0.0.100 offset -2.232824 sec
the ntpd runs right after and gives output like:
Oct 7 06:00:03 (none) ntpd: precision = 27.000 usec
Oct 7 06:00:03 (none) ntpd: Listening on interface #0 wildcard,
Oct 7 06:00:03 (none) ntpd: Listening on interface #1 lo, 127.0.0.1#123
Oct 7 06:00:03 (none) ntpd: Listening on interface #2 eth0, 10.2.1.197#123
Oct 7 06:00:03 (none) ntpd: kernel time sync status 0040
My machines ip is 10.2.1.197 and mask 255.255.252.0 The system doesn't have DNS
I am running network sniffer (wireshark) and can't see my client queries ntp
server. At the same network i have Fedora 7 machine which queries same ntp
server once in a while.
Please, help me?
Re: configure NTP client
> ntpdate -b -u 10.0.0.100[/color]
If you really need the -u option, ntpd won't work until you fix the
firewall so that you don't need -u.