[ntp:questions] Local clock question with dialup connection

Nigel Henry cave.dnb at tiscali.fr
Tue Apr 17 22:50:22 UTC 2007


On Tuesday 17 April 2007 14:02, Nigel Henry wrote:
> On Tuesday 17 April 2007 03:25, Harlan Stenn wrote:
> > >>> In article <200704162309.24517.cave.dnb at tiscali.fr>,
> > >>> cave.dnb at tiscali.fr (Nigel Henry) writes:
> >
> > Nigel> djmons at localhost djmons]$ /usr/sbin/ntpq
> > ntpq> pe
> > Nigel> localhost.localdomain: timed out, nothing received ***Request
> > timed Nigel> out
> >
> > This looks like ntpd is not running at the time you did this.
> >
> > H
>
> Yeh I suppose that's the obvious conclusion.

> What I might try is putting a couple of lines in rc.local to stop and then
> start ntp.
>
> Nigel.

I know it's not good form to reply to ones own post, but I added a couple of 
lines to /etc/rc.d/rc.local to stop and start ntpd.

Now when I bootup FC2 with no Internet connection, and then connect to the 
Internet through the Smoothwalls web interface, then run ntpq> pe, I get only 
one of the 3 Internet time servers showing, which eventually sets itself as 
sys.peer.  Quite why only 1 server is showing is a mystery.  If I now stop 
and start ntp, and run ntpq> pe again, all 3 servers are displayed.

By contrast, FC6 on the same machine, which is using ntp-4.2.4p0-1.fc6 has no 
such problems. I boot it up with no Internet connection, then connect via the 
Smoothwalls web interface, then run ntpq> pe, and all 3 servers are listed, 
plus local. These are the default servers that come with FC6.
fedora.pool.ntp.org dynamic

[djmons at localhost ~]$ /usr/sbin/ntpq
ntpq> pe
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*LOCAL(0)        .LOCL.          10 l   11   64   17    0.000    0.000   0.004
 mail.alsys.ro   .INIT.          16 u    -   64    0    0.000    0.000   0.004
 192.33.214.57   .INIT.          16 u    -   64    0    0.000    0.000   0.004
 agw-01.ham.aman .INIT.          16 u    -   64    0    0.000    0.000   0.004
ntpq> pe
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 LOCAL(0)        .LOCL.          10 l   32   64  377    0.000    0.000   0.004
*mail.alsys.ro   .GPS.            1 u    3   64   37  272.455  -1436.7   4.649
 192.33.214.57   192.33.214.12    2 u   59   64   17  135.112  -1464.9   4.740
 agw-01.ham.aman 209.97.231.218   3 u   55   64   17  145.115  -1481.1   9.993
ntpq> pe
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 LOCAL(0)        .LOCL.          10 l   28   64  377    0.000    0.000   0.004
*mail.alsys.ro   .GPS.            1 u   62   64  377  263.479  -1444.3  10.101
+192.33.214.57   192.33.214.12    2 u   53   64  377  132.874  -1479.8  11.718
+agw-01.ham.aman 209.97.231.218   3 u   54   64  377  142.819  -1494.5  13.888
ntpq>

Local was set as sys.peer almost instantly, and the sys.peer was moved to the 
GPS server in perhaps 2, or 3 minutes, and a couple of minutes later the 
other 2 servers were set as candidat's. This is all a lot quicker than it has 
ever progressed in FC2.

Do you think it's worth removing the current ntp from FC2, and installing from 
tarball the latest version available? 

It would be nice to resolve this problem on FC2.

Nigel.



> _______________________________________________
> questions mailing list
> questions at lists.ntp.isc.org
> https://lists.ntp.isc.org/mailman/listinfo/questions



More information about the questions mailing list