Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2015 09:46:13 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Dmitry Morozovsky <marck@rinet.ru>, Gleb Smirnoff <glebius@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   Re: svn commit: r290010 - vendor/ntp
Message-ID:  <1445960773.91534.89.camel@freebsd.org>
In-Reply-To: <alpine.BSF.2.00.1510271739140.95962@woozle.rinet.ru>
References:  <201510261538.t9QFcwog014561@repo.freebsd.org> <alpine.BSF.2.00.1510271739140.95962@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2015-10-27 at 17:40 +0300, Dmitry Morozovsky wrote:
> On Mon, 26 Oct 2015, Gleb Smirnoff wrote:
> 
> > Author: glebius
> > Date: Mon Oct 26 15:38:58 2015
> > New Revision: 290010
> > URL: https://svnweb.freebsd.org/changeset/base/290010
> > 
> > Log:
> >   Document NTP import procedure, using experience from the last
> one.
> 
> BTW:
> 
> marck@freefall:~> ntpq -c pe
>      remote           refid      st t when poll reach   delay  
> offset  jitter
> =====================================================================
> =========
> +ntp0.ysv.freebs 95.87.161.134    4 u  296 1024  377    0.422   
> -0.620   0.598
> *ntp1.ysv.freebs 39.86.174.157    3 u  443 1024  377    0.405   
> 0.904   0.239
> +ntp2.ysv.freebs 65.182.224.39    3 u  617 1024  377    0.434   
> 1.225   1.014
> marck@freefall:~> ntpdc -c pe
> localhost: timed out, nothing received
> ***Request timed out
> 
> I did not bisect to find when this brokes, but it is for quite some
> time.
> 
> [snip]
> 
> 

That's not broken, it's a "feature" of the newer ntpd.  The ntpd folks
decided to stop supporting the old mode-7 control packets because they
say the mode-6 packets used by ntpq can do everything necessary.  That
means we all have to learn some new commands within ntpq to get the
info and controls we're used to with ntpdc.  There are things I'm used
to doing with ntpdc that I haven't figured out how to do with ntpq yet,
foremost being 'addserver'.

-- Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1445960773.91534.89.camel>