configure NTP client - NTP

This is a discussion on configure NTP client - NTP ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: configure NTP client

  1. configure NTP client

    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?

  2. Re: configure NTP client

    Zaphod wrote:

    > ntpdate -b -u 10.0.0.100


    If you really need the -u option, ntpd won't work until you fix the
    firewall so that you don't need -u.

+ Reply to Thread