Re: [ntp:questions] Accuracy of audio tones via VOIP

2013-07-09 Thread Doug Calvert
On Tue, Jul 9, 2013 at 10:35 AM, Robert Scott  wrote:
> The NIST has a telephone service that carries the audio of WWV.  When
> this service is accessed by a landline or a cellphone the playback of
> the audio is tightly locked to the phone network system clock.
> Therefore the user can count on fairly accurate audio frequency
> rendering of the NIST standard audio frequency tones.
>
> But what about accessing this NIST phone service via Skype and other
> VOIP technologies?  In these technologies it is impossible to tightly
> lock the playback to the system clock because of the indeterminacy of
> internet delays.  So how does Skype on my desktop computer work?  It
> can use the local oscillators (system or soundcard) to manage
> playback, but that is not guaranteed to be so good.  Over the long
> haul it is possible for Skype to lock its playback speed to the source
> clock, but that is a slow process, as SNTP applications show.  Over a
> short 3-minute phone call there is very little trimming of the
> playback rate that is possible using only the arrival timing of the
> internet packets.  So I have to wonder if the playback frequency of
> the NIST tones over the telephone via VOIP are potentially in error by
> as much as the local quartz oscillator frequencies?  Does anyone have
> any insight on how Skype and other VOIP systems manage record/playback
> rate synchronization?
>
> ___
> questions mailing list
> questions@lists.ntp.org
> http://lists.ntp.org/listinfo/questions

"Digital modems, such as Digital Subscriber Line (DSL), cable and
wireless modems, cannot synchronize using ACTS. For computers with
Internet access, the Internet Time Service should be used to
synchronize to NIST."[1]

I always interpreted the first sentence as an exclusion of all
non-POTS connection methods (VOIP/DSL/etc). Ignoring that the second
sentence seems like a clear answer.

[1] http://www.nist.gov/pml/div688/grp40/acts.cfm
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] Another invalid leap second

2013-07-02 Thread Doug Calvert
If ntp has a valid and  up to date leap file configured in ntp.conf
are rogue leap announcements disregarded?
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] ntpd connect gpsd shared memory driver

2013-06-18 Thread Doug Calvert
On Tue, Jun 18, 2013 at 4:46 PM, Rob  wrote:
>
> (it seems there is some limited function in one of the ntpd GPS drivers
> to save the position info somewhere where it can be accessed by other
> programs)


Fudge flag4=0 should put location data in clockstats:

http://www.eecis.udel.edu/~mills/ntp/html/drivers/driver20.html#fudgeflag4
http://www.eecis.udel.edu/~mills/ntp/html/monopt.html
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] pps breaks when nmea is enabled for ntpd

2013-06-16 Thread Doug Calvert
On Sun, Jun 16, 2013 at 3:06 AM, David Taylor
 wrote:
> On 16/06/2013 07:35, Doug Calvert wrote:
>> Instructions for gmail:
>>
>> http://blog.jgc.org/2013/01/the-greatest-google-mail-feature-you.html
>
>
> Thanks for bottom-posting, Doug.  You are actually using a gateway to a
> Usenet newsgroup, that's where I'm seeing your messages, so any "gmail"
> conventions may not be applicable.  I find it easier to follow text from
> question to answer, rather than the other way round, but I do try and cut as
> much as possible from the material I'm quoting so that comment and response
> both fit on one screen, with no need to scroll.

I'm sorry david, I should have given more context. My post was for
anyone using gmail wondering about top/bottom posting. I am guilty of
top posting occasionally however I get just as irked as the next
veteran when I see others doing so, so I know how you feel.

Consider my gmail instructions a thank you for being so helpful to all
the people that ask questions on this list.
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] pps breaks when nmea is enabled for ntpd

2013-06-15 Thread Doug Calvert
On Sun, Jun 16, 2013 at 1:17 AM, David Taylor
 wrote:
>
>
> BTW: please stop top-posting.

Instructions for gmail:

http://blog.jgc.org/2013/01/the-greatest-google-mail-feature-you.html
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] pps breaks when nmea is enabled for ntpd

2013-06-15 Thread Doug Calvert
On Sat, Jun 15, 2013 at 8:54 PM, Richard Cagley  wrote:
> Very interesting. So, you just have this as your ntp.conf file?
>
> server  127.127.20.1mode 0  minpoll 4 maxpoll 4  prefer
> fudge   127.127.20.1flag1 1 flag3 1 refid PPS
>
> When I do this I think only the GPS/127.127.20.0 line shows up in the
> output. How do I know PPS is working? With just these two lines in my
> ntp.conf file should I expect two lines in the output of ntpq -p?
>

If PPS is working there should be a "o" in the first column of the
ntpq billboard. (and it wont kick in right away, you have to wait a
teeny bit)
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] pps breaks when nmea is enabled for ntpd

2013-06-15 Thread Doug Calvert
For time2 go 2/3rds the way down the configuring nmea page[1] and ook for:

"If you want a good estimation for fudge time2 (perhaps because PPS is
not an option for you) you could use the following procedure: "


I was never able to figure  out the secret for time1.

[1] https://support.ntp.org/bin/view/Support/ConfiguringNMEARefclocks

On Sat, Jun 15, 2013 at 8:37 PM, Richard Cagley  wrote:
> hmm, timeX is just a calibration factor so I don't think adding it will fix
> my pps breakage. But, I do think it's important and I'm not using it.
>
> So, question to you, I have a U-Blox NEO-6P module. How would I go about
> determining the time1/time2 values for the 127.127.20.0 server? The key
> words "offset" and "calibration" don't show up here
> http://www.u-blox.com/images/downloads/Product_Docs/NEO-6_DataSheet_%28GPS.G6-HW-09005%29.pdf
>
>
>
> On Sat, Jun 15, 2013 at 8:54 AM, David Lord  wrote:
>
>> Richard Cagley wrote:
>>
>>> I have a TI DM8168 processor and a u-blox gps.
>>>
>>> If I enable an internet server and pps, then pps works great
>>>
>>> server clock.redhat.com iburst prefer minpoll 4 maxpoll 4
>>> server 127.127.22.0 minpoll 4 maxpoll 4
>>> fudge 127.127.22.0 flag3 1
>>>
>>> However, if I add an NMEA server to my ntp.conf file like this
>>>
>>> server 127.127.20.0 mode 1
>>> fudge 127.127.20.0 flag1 1
>>> server 127.127.22.0 minpoll 4 maxpoll 4
>>> fudge 127.127.22.0 flag3 1
>>>
>>> then pps stops working. I can kill ntpd and ppstest no longer works. It's
>>> as though nmea is clobbering the serial port.
>>>
>>> It sorta feels like this, but there was no resolution
>>> http://lists.ntp.org/**pipermail/questions/2011-**September/030347.html
>>>
>>> Can anyone help me. I've really been struggling with this.
>>>
>>
>> I'm using NetBSD-6.1 ntpd 4.2.6p5 but have also had pps + nmea
>> working on ubuntu.
>>
>> You probably need to determine then add time2 0.xyz sec to
>> your config. The time2 value is for your particular gps and
>> gps firmware version.
>>
>> For my "Sure" gps I have:
>>
>> server 127.127.20.2 mode 18 prefer
>> fudge  127.127.20.2 stratum 4 time2 0.417 flag1 0 refid GPSb
>> server 127.127.22.2
>> fudge  127.127.22.2 flag2 0 flag3 1 refid PPSb
>>
>> From peer summary I have:
>> 127.127.22.2 mean=0.000 rms=0.004 max=0.038
>>
>> The 0.038 is mostly due to load from two cron jobs each evening.
>>
>>
>> David
>>
>> __**_
>> questions mailing list
>> questions@lists.ntp.org
>> http://lists.ntp.org/listinfo/**questions
>>
> ___
> questions mailing list
> questions@lists.ntp.org
> http://lists.ntp.org/listinfo/questions
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] ntp-b.boulder.nist.gov not synchronized

2013-06-14 Thread Doug Calvert
On Fri, Jun 14, 2013 at 8:31 AM, Jason  wrote:
> Doug,
>
> Thanks for the response.
>
> We are using the other authenticated server. With only one available, our
> redundancy is gone. If NIST could say, for example, that the broken server
> would be fixed come Monday, I'd chill. However, people I've been able to
> contact are saying the only person that knows anything about / can do
> anything with the broken server is out until July.
>
> I'll look into dnssec for one (or more) of the non-authenticated servers.
>
> Thanks for that idea.
>
> Jason.
Everything that is under the .gov domain is going to have dnssec:

* time-nw.nist.gov
* wwv.nist.gov
* time.nist.gov
* time-d.nist.gov
* time-c.nist.gov
* time-b.nist.gov
* time-a.nist.gov
* time-c.timefreq.bldrdoc.gov
* time-b.timefreq.bldrdoc.gov
* time-a.timefreq.bldrdoc.gov

Is this for OATS? Remember:

"Q: Shouldn't we  just synchronize to the  NIST atomic clock because  we can’t
ensure  that our  time provider  is actually  in synchronization  with the  NIST
standard?

A: Not necessarily. You can synchronize your clocks with any time provider. Most
time providers provide information about the difference between their clocks and
the NIST clocks. Use  this information to determine if your  business clocks are
actually in synchronization. If your chosen  time provider does not consistently
provide this information, or you have  reason to believe that the information is
inaccurate, contact  the time provider and  FINRA and, if the  problem cannot be
rectified, choose another time provider. Your firm is ultimately responsible for
its compliance with the OATS Rules. (Last updated 5/7/12)"[1]

So you can use GPS or navy.mil (also dnssec) in a pinch.

I  realize  that  the  easy  solution is  the  authenticated  ntp  service  from
nist. However for some  future redundancy you can sign up  for the authenticated
time service from  NRC.ca. There is a yearly fee but  you get authenticated time
and then you can use Circular T[2] from obspm to demonstrate that NRC and NIST
agree to a certain number of nanoseconds.

[1] http://www.finra.org/Industry/Compliance/MarketTransparency/OATS/FAQ/P085544

[2] ftp://ftp2.bipm.org/pub/tai/publication/cirt.305
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] ntp-b.boulder.nist.gov not synchronized

2013-06-14 Thread Doug Calvert
On Fri, Jun 14, 2013 at 8:31 AM, Jason  wrote:
> Doug,
>
> Thanks for the response.
>
> We are using the other authenticated server. With only one available, our
> redundancy is gone. If NIST could say, for example, that the broken server
> would be fixed come Monday, I'd chill. However, people I've been able to
> contact are saying the only person that knows anything about / can do
> anything with the broken server is out until July.
>
> I'll look into dnssec for one (or more) of the non-authenticated servers.
>
> Thanks for that idea.
>
> Jason.
>
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] ntp-b.boulder.nist.gov not synchronized

2013-06-13 Thread Doug Calvert
Why cant you use the other authenticated server? And if matching the
telephone number to a published number is enough to meet your
reguratory burden why not just use any of nists published names and
then leverage dnssec tp verify the ip/name mapping?



On Thu, Jun 13, 2013 at 8:58 PM, Jason  wrote:
> Since about 1800 Eastern time (US) on 10Jun, ntp-a.boulder.nist.gov is
> sending "clock unsynchronized". This is one of two NIST-supported,
> _authenticated_, timeservers (the other is ntp-b.nist.gov).
>
> We are regulatorily required to confirm twice daily that our system's time
> (derived from GPS) is within 1 second of "official" US Gov't time (NIST).
> There is a legal requirement for NIST here, otherwise I'd just say that USNO
> (root of Air Force's GPS traceability) is within ~20nS of NIST and move on.
>
> The maintainer, Dr. Judah Levine at NIST Boulder, is unavailable.
>
> Other contacts I've tried at NIST Boulder have been unhelpful.
>
> Does anyone have a contact, short of the director of Time and Frequency, (Mr
> O'Brian, I think), that they could direct me to?
>
> Barring that, I may have to find a modem and  hook it up so the host can
> dial ACTS (positive ID via published telephone #), then have the company's
> software folks adapt their code.
>
> Thanks,
>
> Jason
>
> ___
> questions mailing list
> questions@lists.ntp.org
> http://lists.ntp.org/listinfo/questions
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP Server Synchronizing with the incorrect NTP server

2013-06-08 Thread Doug Calvert
You are on deb/ubu i take it. You need to edit /etc/dhcp/dhclient.conf
and remove ntp-servers from the dhcp request.

Its sily the way they have it. it should be a flag in /etc/default

On Sat, Jun 8, 2013 at 10:42 PM,   wrote:
> Problem:
>
> I configured my NTP server in Linux to use the US Pool of NTP Servers in 
> /etc/ntp.conf. I restarted the NTP service many times and the actual server 
> many times, but it was not using the pool. I was verifying this by using the 
> ntpq -p command. It was using a time server it picked up via DHCP when it was 
> plugged into a completely different network. I had no idea where it was 
> getting this information.
>
> Solution:
>
> After running strace (strace /etc/init.d/ntp restart) I was able to see it 
> was picking up the configuration from /var/lib/ntp/ntp.conf.dhcp .
>
> I deleted /var/lib/ntp/ntp.conf.dhcp, restarted NTP (/etc/init.d/ntp restart) 
> and it synchronizes with the servers configured in /etc/ntp.conf now.
>
> ___
> questions mailing list
> questions@lists.ntp.org
> http://lists.ntp.org/listinfo/questions
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


[ntp:questions] Behaved ... Limited ... KODed

2013-06-07 Thread Doug Calvert
Hello,

I thought I understood how a client's rate control indicator goes from being
well behaved (.) to limited (L) to KoD (K) but after trying to explain this to
someone today it is obvious that I do not. A server running the most recent dev
release (or post whatever version changed minimum to seconds instead of 2**n)
ntp.conf has:

restrict default KoD limited notrap nomodify nopeer

With no discard statements the defaults; average=8 (secs) and minimum=2 (secs)

accopt.html says:

"If the limited flag is present in the ACL, packets that violate these limits
are discarded. If, in addition, the KoD flag is present, a kiss-o'-death packet
is returned."

Given the above restrict line accopt seems to indicate that my mrulist will have
display either "K" or "." in the rate control field. At first rate.html seems to
agree with this description:

"Packets sent by other implementations that violate this constraint will be
dropped and a KoD packet returned, if enabled."

However further down in rate.html it seems to indicate that there are degrees of
punishent for misbehaving clients:

"Ordinarily, packets denied service are simply dropped with no further action
except incrementing statistics counters. Sometimes a more proactive response is
needed to cause the client to slow down. A special packet has been created for
this purpose called the kiss-o'-death (KoD) packet."

A glance at my mrulist also indicates that the latter description in rate.hml is
more accurate because there are .s Ls and Ks.

What does a client do to get an L? What is done differently to get a K? Can you
go from a K to an L?

On a somewhat related note:

Do I really have to send out a KoD every 2 seconds (guard time)? It seems
that the clients that are the most misbehaved are not the ones that are going
to honor the KoD packet. It is even worse if you set the guard time to allow
ntpdate through, you will be sending out KoD packets every second. Twenty
seconds and ten KoD packets later is it realistic to expect that the next KoD
packet is going to be the one that finally makes the client stop? The ptti04a
paper introducing KoDs mentions a university firewall with 2,000 misbehaving
clients behind it. On a lot of campuses today that fw is going to be NATing
those 2,000 clients. Whats the point of sending a packet every 2 seconds to the
lucky lottery winner behind the firewall?

Instead of guard time why not send KoD packets similar to the poll exponent:

After the initial KoD is sent, ignore clients for 2, 4, 8, 16, 32...X seconds
and then send another KoD packet.

Thank you for your time I apologize if I am being ignorant about something.
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] How to determin hardware latency for PPS offset given simple tools.

2013-06-06 Thread Doug Calvert
unruh has a nice page about interrupt coalescing:

http://axion.physics.ubc.ca/scatter/rt.html



On Tue, Jun 4, 2013 at 3:44 PM, E-Mail Sent to this address will be added
to the BlackLists  wrote:

> Paul G wrote:> Showing 192.168.0.2 and .244 with time1 = 0 as compared
> >  to the first post where time1 was ~100 microsec.
> >
> > These two have gigabit interfaces.
>
> Is interrupt coalescing disabled on the gigabit ethernet adapters?
>
>
> --
> E-Mail Sent to this address 
>   will be added to the BlackLists.
>
> ___
> questions mailing list
> questions@lists.ntp.org
> http://lists.ntp.org/listinfo/questions
>
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


[ntp:questions] Estimating time1 and time2 for nmea+pps

2013-01-06 Thread Doug Calvert
Hello,
 I have read through the docs on the wiki for estimating time2 with a
nmea referecne clock. I have a Sure GPS after a week or so the offset
seemed to stabilize round -450. Everything was making sense and then I
came to:

"And now the truth about the PPS locking: actually only the sub-second
part of the difference between PPS time stamp and (receive time stamp -
fudge time2) is evaluated and checked. If this difference is less than
400ms or bigger than 600ms (which is equivalent to -400ms) the receive
time stamp will be substituted with the properly adjusted PPS time
stamp. This might sound a bit complicated, but if you have a device that
sends the data before the associated PPS pulse, you can use the proper
negative value for fudge time2 and compensate for that behaviour."

I am a little confused about the absolute value of the offset but I
think setting time2 to 0.450 is the correct approach. Am I right? Does
the following chart accurately summarize when to use the a positive or
negative time2?

Offset w/PPS disabled   |   Value to use for time2 (offset/1000)

-999 through -600   |   Use negative offset
-599 through -400   |   Use absolute value for offset
-399 through 399|   Use negative offset
 400 through 600|   Use absolute value for offset
 600 through 999|   Use negative offset


I was not able to find a lot of information about how to identify what
to use for an estimation of time1. The majority of what I have read
seems to indicate that unless something is screwy ntpd will do okay with
no value supplied for time1. Even if ntpd will do the right thing I was
curious if there is any benefit at all to identifying a value for time1?
How do I go about figuring this out? Part of me thinks that the answer
may be using one of the utilities in pps-tools.

Thanks in advance.
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP Denial of Service attack 29 November 2011

2011-11-29 Thread Doug Calvert
On 11/29/2011 03:44 PM, Rich wrote:
> USNO is seeing an apparent coordinated denial of service attack on NTP
> originating with the following IPs:
> 220.117.53.67; 218.92.115.152; 114.40.28.224; 218.201.21.194.   I
> recommend that you block 220.0.0.0/8, 218.0.0.0/8, and 114.0.0.0/8.
> There will likely be more to follow. These appear to originate on
> APNIC (Asian Pacific).
> 
> Currently we are seeing many tens of thousands of packets per second
> coming in.
> 

Pictures make every story better...

http://tycho.usno.navy.mil/ntpplot.html
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] local refclock and orphan mode...

2011-11-22 Thread Doug Calvert
On 11/21/2011 01:51 AM, Harlan Stenn wrote:
> I asked this on hackers@ and think a wider audience would be good.
> 
> In the old days, we had the local refclock. 
>  
> Now we have orphan mode. 
>  
> Can anybody think of a (good) use-case where one would want *both* the 
> local refclock *and* orphan mode configured for an instance of ntpd?
> 

Harlan,

I think you are confused about how things operate around here. The way
this works is that *we* ask you the questions and then *you* give us
answers;)

The first thing that comes to mind is environments with mixed ntpd
versions. I realize that pre-4.2.2 was >5 years ago but sometimes change
management policies read more like change resistance policies.

What about the infamous interstellar/interplanetary ntp network?

--dfc
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


[ntp:questions] enable calibrate?

2011-11-12 Thread Doug Calvert
Hello,
 I just ran across the "enable calibrate" feature in the documentation.
Unfortunately there is little information on how it works, how to use
it. What do I do after I enable calibrate?
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


[ntp:questions] Anyone have a script that decodes all of the status words?

2011-10-25 Thread Doug Calvert

Hello,
 Has anyone ever written a script to parse the peer/sys/clock/flash 
status words? As much as I hate to admit it I can not tell the 
difference between 9024/963a/9424 without going to the docs and even 
then its not the most intuitive/friendly experience;)


Something like:

transmogrify -[s|f|p|c] 

that prints out the description of each bit from the docs?
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


[ntp:questions] Why do the nmea and pps drivers differ regarding the default for flag2?

2011-10-25 Thread Doug Calvert

Hello,

 Why do the nmea and pps drivers differ regarding the default for 
flag2? How would a user know which is appropriate?



PPS(22):
flag2 0 | 1
Specifies PPS capture on the rising (assert) pulse edge if 0; falling (clear)
edge if 1. (default), 1 for clear.



NMEA(20):
flag2 0 | 1
If PPS signal processing is enabled, capture the pulse on the rising edge if 0
(default); capture on the falling edge if 1.






___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] Peering amongst S1

2011-10-24 Thread Doug Calvert
The docs say no iburst on peers and to use max/min poll of 4. Try 
changing to the suggested settings and see if it works better.


On 10/24/2011 09:31 PM, Miguel Gonçalves wrote:

Hi!

I am running the following configuration


172.16.0.1 ntp.conf:

server 127.127.20.0 mode 2 prefer minpoll 3 maxpoll 3
fudge 127.127.20.0 flag1 1 flag2 0 flag3 1 flag4 1

tos mindist 0.250

peer 172.16.0.2 minpoll 3 maxpoll 3 iburst

server ntp-p1.obspm.fr iburst
server ptbtime1.ptb.de iburst
server ntp1.oma.be iburst

restrict 127.0.0.1
restrict default nomodify notrap nopeer

restrict 172.16.0.2 nomodify notrap


172.16.0.2 ntp.conf:

server 127.127.30.0 prefer minpoll 3 maxpoll 3

tos mindist 0.1

peer 172.16.0.1 minpoll 3 maxpoll 3 iburst

server ntp-p1.obspm.fr iburst
server ptbtime1.ptb.de iburst
server ntp1.oma.be iburst

restrict 127.0.0.1
restrict default kod nomodify notrap nopeer

restrict 172.16.0.1 nomodify notrap

Why I am getting 172.16.0.2 as an outlier on 172.16.0.1?

tick# ntpq -p
  remote   refid  st t when poll reach   delay   offset  jitter
==
oGPS_NMEA(0) .GPS.0 l3   16  3770.000   -0.001   0.004
-172.16.0.2  .GPS.1 u5   16  3770.1310.002   0.004
+ntp-p1.obspm.fr .TS-3.   1 u   24   64  377   55.0802.345   0.881
-ptbtime1.ptb.de .PTB.1 u   30   64  377   69.974   -1.179   1.427
-ntp1.oma.be .PPS.1 u   24   64  377   59.1912.750   1.606

But 172.16.0.1 is OK when used by 172.16.0.2?

tock# /usr/local/sbin/ntpq -p
  remote   refid  st t when poll reach   delay   offset  jitter
==
*GPS_ONCORE(0)   .GPS.0 l88  3760.000   -0.003   0.004
+172.16.0.1  .GPS.1 s88  3760.1320.001   0.004
+ntp-p1.obspm.fr .TS-3.   1 u   45   64  377   52.7831.075   2.611
-ptbtime1.ptb.de .PTB.1 u   54   64  377   69.946   -1.241   0.564
-ntp1.oma.be .PPS.1 u   42   64  377   60.4933.669   2.034

Both are on the same LAN and running NTP 4.2.7p225.

Any help?

Thanks!

Cheers,
Miguel
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

[ntp:questions] Autokey is confusing again...

2011-10-13 Thread Doug Calvert

Hello,
 I had a little shrine in the corner of my office for whomever did the 
autokey walkthrough for 4.2.6+. So I hate to say this but the wiki for 
autokey is all out of whack again. To make matters worse the same can be 
said for html/keygen.html. I seems that somewhere around p216/p217 "-H" 
and "-T" are no longer valid options for ntp-keygen.


--dfc
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NEW Public Stratum 1 NTP server (Portugal)

2011-10-12 Thread Doug Calvert

On 10/12/2011 09:26 PM, Dave Hart wrote:

2011/10/13 Miguel Gonçalves:

I upgraded to 4.2.7p222 and added the following line to my ntp.conf:

mru initmem 4 incmem 4 maxmem 1024 mindepth 600 maxage 64

Unfortunatelly, when I issue the command mrulist in ntpq it takes too
long and it doesn't return.

What am I doing wrong?




what happens if you do:

-n -c mrulist

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Virtual Linux looses sync?

2011-10-12 Thread Doug Calvert

On 10/07/2011 09:45 AM, Rob wrote:

Tom  wrote:

Hi,

We have a Linux system running on VMWare that for some reason keeps
loosing the lock (the clock drifts quite a bit 30 seconds or more) and
then will re-lock. I've double checked the ntp.conf file, but don't
see any differences from our other Linux systems. Even when it's not
locked it can see the master:



http://www.vmware.com/files/pdf/Timekeeping-In-VirtualMachines.pdf
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] Recent Blank Emails

2011-10-03 Thread Doug Calvert
I think Steve is going to notice in the morning. He was working very
hard to get the upgrade completed. I think the only thing people need
to do is thank him for his efforts...

On Tue, Oct 4, 2011 at 12:00 AM, Mike S  wrote:
> At 09:22 PM 10/3/2011, Doug Calvert wrote...
>>
>> Hello Everyone,
>>  In case anyone is wondering about the cause of the blank emails the
>> best that I can surmise is that they are related to the bugzilla
>> upgrade. It appears that when a bug is changed an email to the list is
>> generated.
>
> Someone should file a bug report on that.
>
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

[ntp:questions] Recent Blank Emails

2011-10-03 Thread Doug Calvert
Hello Everyone,
 In case anyone is wondering about the cause of the blank emails the
best that I can surmise is that they are related to the bugzilla
upgrade. It appears that when a bug is changed an email to the list is
generated.
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


[ntp:questions] tickadj -A is broken was -> Re: Loop Frequency and Offset

2011-09-25 Thread Doug Calvert
tickadj always tells me I am silly when I give it the -A described in
the docs for optimized tick.  I looked at tickadj.c quickly and did
not see any facilities for -A



2011/9/25 Dave Hart :
> 2011/9/25 Dave Hart :
>> 2011/9/25 Miguel Gonçalves :
>>
>>> tick# tail -10 /var/log/ntp/loopstats
>>> 55829 66814.311 0.10871 185.398 0.03540 0.002317 4
>>> 55829 66831.312 0.10025 185.398 0.00984 0.002167 4
>>> 55829 66847.312 0.11242 185.398 0.01303 0.002027 4
>>> 55829 66862.313 0.11571 185.398 0.00625 0.001896 4
>>> 55829 66877.313 0.10833 185.398 0.00990 0.001774 4
>>> 55829 66893.323 0.11386 185.398 0.00724 0.001659 4
>>> 55829 66909.314 0.10876 185.398 0.00574 0.001552 4
>>> 55829 66927.314 0.11263 185.398 0.00620 0.001452 4
>>> 55829 66942.315 0.11355 185.398 0.00402 0.001358 4
>>> 55829 66957.315 0.10197 185.398 0.01026 0.001270 4
>>>
>> More notable to me:  The frequency compensation is varying.  What
>> version(s) of ntpd are the two machines running?  On the first one,
>> given the loopstats covers less than 300 seconds and the frequency
>> appears locked, I'm guessing you sampled during initial offset
>> convergence.  That's new for 4.2.7 and runs for the first 300 seconds
>> (by default) after the frequency compensation is loaded from driftfile
>> or measured.  During that period, the frequency compensation is locked
>> while ntpd attempts to slew away the initial offset until less than
>> 500 usec remains, or the 300s limit elapses.
>
> Nice theory, Dave, but you overlooked that all those offsets are
> within 500 usec of zero (in fact within +10 to +12 usec), which would
> trigger the end of initial offset convergence and unclamping the
> frequency compensation.
>
> I'd suggest starting with the tickadj correction, and testing again to
> see if the offsets are staying on one side of zero.  I'm still curious
> about the ntpd versions involved.
>
> Cheers,
> Dave Hart
> ___
> questions mailing list
> questions@lists.ntp.org
> http://lists.ntp.org/listinfo/questions
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Blacklisted at ntp.org

2011-09-20 Thread Doug Calvert
For a week or so I have the same error when I try and visit. I have
never tried to edit a wiki page. The error first occurred after I
opened up multiple server pages in new tabs.

For what it is worth I promise I never tried to edit a page. But
please let me know if there is evidence to the contrary.  I think
there may be a misconfiguration in twiki somewhere.

On Tue, Sep 20, 2011 at 9:02 AM, Steve Kostecke  wrote:
> On 2011-09-20, Miguel Gonçalves  wrote:
>
>> I got blacklisted while browsing the stratum 1 public servers list.
>>
>> I am getting this:
>>
>> http://support.ntp.org/bin/oops/Servers/GpsFreeBSDDk?template=oopsblacklist;param1=Your%20IP%20address%20%25REMOTE_ADDR%25%20is%20black%20listed%20at%20the%20%25WIKITOOLNAME%25%20web%20site%20due%20to%20excessive%20access%20or%20suspicious%20activities.%20Please%20contact%20site%20administrator%20%25WIKIWEBMASTER%25%20if%20you%20got%20on%20the%20list%20by%20mistake.;param2=[[http://en.wikipedia.org/wiki/Link_spam][OK]]
>
> Please note param2:
>
> http://en.wikipedia.org/wiki/Link_spam
>
> This says your IP address was black listed for posting link spam.
>
> --
> Steve Kostecke 
> NTP Public Services Project - http://support.ntp.org/
>
> ___
> questions mailing list
> questions@lists.ntp.org
> http://lists.ntp.org/listinfo/questions
>
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

[ntp:questions] Magice Server Numbers: 4,5,7,9

2011-09-15 Thread Doug Calvert
Hello,
 From time to time people mention that the magic number of servers is
4,5,7 and nine. However I can not find a reference or explanation for
the magical properties. Can anyone explain the background/basis in
general? And specifically how is five or seven preferable to six?
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions