[ntp:questions] slowly gaining time

Jammer ask.me at mail.com
Sat Dec 23 01:12:45 UTC 2006


The main problem is that ntpd doesn't keep the time updated.

Why is it talking to 192.168.1.1?
That is my router.

192.168.1.110 is the Linux box that I want to keep updated with ntp.

receive: at 65 192.168.1.110<-192.168.1.1 mode 3 code 2
transmit: at 65 192.168.1.110->192.168.1.1 mode 4

# ntpq -pn
      remote           refid      st t when poll reach   delay   offset 
  jitter
==============================================================================
  64.235.218.180  209.87.233.53    3 u  674 1024  377  107.280  -205399 
513002.
  216.46.5.9      132.246.168.148  3 u  671 1024  377  108.457  -205547 
512484.
  192.135.48.21   128.138.140.44   2 u  663 1024  377   53.561  -205949 
512504.

Hours later, still not synced time (*)?
# ntpq -pn
      remote           refid      st t when poll reach   delay   offset 
  jitter
==============================================================================
  64.235.218.180  128.100.100.128  3 u  764 1024  377  108.422  -163990 
512003.
  216.46.5.9      132.246.168.148  3 u  770 1024  377  110.377  -163960 
511482.
  192.135.48.21   128.138.140.44   2 u 1784 1024  376   51.116  -158890 
512002.

# more /etc/ntp.conf
# A pool of public servers.  These are taken from all over the world
# so using one of
# server europe.pool.ntp.org
# server us.pool.ntp.org
# server asia.pool.ntp.org
# three times may be a better option depending on where you live.
#
# See http://www.pool.ntp.org for more information about the project.
# server 0.pool.ntp.org
# server 1.pool.ntp.org
# server 2.pool.ntp.org

driftfile /var/lib/ntp/ntp.drift

server 0.ca.pool.ntp.org
server 1.ca.pool.ntp.org
server 2.ca.pool.ntp.org


# more  /var/lib/ntp/ntp.drift
0.000




More information about the questions mailing list