I've been struggling with ntp for some time now.  I've followed the
gentoo wiki HOWTO for ntp:

    http://gentoo-wiki.com/HOWTO_Setup_MythTV#NTP

As well as many other sources over the months.  Basically, ntpq
shows that I am not synchronized to any peers:

# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 Time4.Stupi.SE  .PPS.            1 u   37   64  377  124.516  -11202. 1225.91
 thesimonet.org  .TRUE.           1 u   38   64  377  109.329  -11213. 1232.51
 fin.rshell.net  192.114.62.249   3 u   32   64  377  205.910  -9569.1 1521.31
 titan.cais.rnp. 32.233.177.224   2 u   44   64  377  165.240  -11991. 1915.26

That first space in the peers list is a tally mark that, according to
the ntpq documentation at:

    http://www.eecis.udel.edu/~mills/ntp/html/ntpq.html

Means that those peers are all rejected: "The peer is discarded as
unreachable, synchronized to this server (synch loop) or outrageous
synchronization distance."

Likewise:
# ntpq -c rv | grep stratum
processor="i686", system="Linux/2.6.14-gentoo-r5", leap=11, stratum=16,

I should be at stratum 3, not 16 (which means I'm not synchronized
to anything).

My /etc/ntp.conf:

tinker panic 0
minpoll 4
maxpoll 10
server pool.ntp.org
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
driftfile       /var/lib/ntp/ntp.drift
logfile /var/log/ntp.log
restrict default nomodify nopeer
restrict 127.0.0.1


Nothing special there!  To further clarify, I actually have this
problem on *two* machines.  FWIW, I've also tried the OpenBSD
OpenNTP package, but haven't had any luck with that either (except
on my OpenBSD machine!).  Using OpenNTP on these two machines
*seemed* to work fine, but the computers still gained time too
quickly.

I've been fighting this for what seems like forever.  If anyone has
any insight or thoughts, I'm happy to hear it!

Thanks,
Matt

-- 
Matt Garman
email at: http://raw-sewage.net/index.php?file=email
-- 
gentoo-user@gentoo.org mailing list

Reply via email to