[ntp:questions] configure NTP client

Zaphod zaphod001 at gmail.com
Tue Oct 7 12:04:03 UTC 2008


Hi All

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
server 10.0.0.100

driftfile /var/lib/ntp/drift

At startup , the ntpdate runs, like:
ntpdate -b -u 10.0.0.100
and gives follows output:
ntpdate[916]: 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[918]: precision = 27.000 usec
Oct  7 06:00:03 (none) ntpd[918]: Listening on interface #0 wildcard, 
0.0.0.0#123 Disabled
Oct  7 06:00:03 (none) ntpd[918]: Listening on interface #1 lo, 127.0.0.1#123 
Enabled
Oct  7 06:00:03 (none) ntpd[918]: Listening on interface #2 eth0, 10.2.1.197#123 
Enabled
Oct  7 06:00:03 (none) ntpd[918]: 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 
resolving.
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?



More information about the questions mailing list