Re: [ntp:questions] ntpd: time reset problem

2009-09-11 Thread Phil . Newlon

> Is not in the software distribution from here. Apparently, your version
of ntpd has been modified.

David -

Dovecot is the same application I use to POP3 mail from my SMTP gateway to
my portal.  All it is doing is squawking about the problem because it
remembers what time it was the last time it checked the mail, then when it
checks again it raises a warning flag.

Phil
Notice: This e-mail message and its 
attachments are the property of Wendy's/Arby's Group Inc. 
or one of its subsidiaries and may contain 
confidential or legally privileged information intended
solely for the use of the addressee(s). If you 
are not an intended recipient, then any use, copying or
distribution of this message or its 
attachments is strictly prohibited. If you received this message in
error, please notify the sender and delete 
this message entirely from your system.

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


[ntp:questions] Garmin 18x LVC - two dead units this year

2009-08-26 Thread Phil . Newlon

Not really a question any more than "Is anyone else having this much
trouble with Garmin 18x?"

I ordered a Garmin in early January, got it running by 1/29/09

Garmin device died 3/13/09

New replacement installed 3/27/09

Second unit died this afternoon.  Bummer.  Guess I will have to keep one
spare on hand.

Phil

Notice: This e-mail message and its 
attachments are the property of Wendy's/Arby's Group Inc. 
or one of its subsidiaries and may contain 
confidential or legally privileged information intended
solely for the use of the addressee(s). If you 
are not an intended recipient, then any use, copying or
distribution of this message or its 
attachments is strictly prohibited. If you received this message in
error, please notify the sender and delete 
this message entirely from your system.
___
questions mailing list
questions@lists.ntp.org
https://lists.ntp.org/mailman/listinfo/questions


Re: [ntp:questions] Quoting Practices (Was: Re: Test internal clock)

2009-03-20 Thread Phil . Newlon
I love the passion that people feel for the computing industry in general,
and two of my favorite topics in particular: smtp and ntp.  I am a relative
newbie to usenet, having only been participating since 1987.  I have heard
the top-post, bottom-post, and how to quote discussion many times in the
past 20 years.  I didn't used to care much about it; I can figure out the
message well enough either way.  In the last couple years though, I have
come to have an opinion and feel compelled to share it only as food for
thought.  I truly hope to not offend anyone, just enlighten!

I now use a handheld for both regular 8-5 work and my personal business.
One is a blackberry, the other a treo.  I can keep up with all my business
while I travel, so that I don't have as much to catch up on when I am back
in the office.  Well quoted, top-posted messages are the easiest for me to
deal with on a handheld.  I submit that as time goes by, the old
conventions will need to change a little as more and more people work from
a handheld.  I can swallow either top or bottom post, really, but have
great appreciation for a well-quoted message that I don't have to scroll up
and down in to follow the quoting.  In-line quoting is the worst to handle
because line wraps are not pretty on a  handheld.

Thanks for listening, and for all the excellent content provided in this
forum.

Phil

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


Re: [ntp:questions] demonstrate traceability to UTC

2009-03-13 Thread Phil . Newlon
Until it gets too far afield, wouldn't this be an appropriate discussion
for the forum?  I have been asked the same question (sort of) before and
could only give a rudimentary response based on a lot of my own
assumptions.

Phil

>I would be happy to discuss these issues in this forum or off-line.


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


Re: [ntp:questions] http://www.ntp.org/ => a blank page?

2009-03-03 Thread Phil . Newlon
Blank for me too.





   
 "Richard B.   
 Gilbert"  

 Sent by:   cc 
 questions-bounces 
 +phil.newlon=wend Subject 
 ysarbys@lists Re: [ntp:questions] 
 .ntp.org  http://www.ntp.org/ => a blank  
   page?   
   
 03/03/2009 08:02  
 AM
   
   
 Please respond to 
 rgilber...@comcas 
   t.net   
   
   




David J Taylor wrote:
> http://www.ntp.org/ => a blank page in both Firefox and Internet Explorer
>
> Is this correct?

It works for me!

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


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


[ntp:questions] CDMA time server (was: "best" synchronization possible over the network)

2009-02-13 Thread Phil . Newlon
I've seen mention of both the EndRun product and the Beagle product.  As
far as I can tell, the Beagle is a Windows-only device.  Has anyone done
any work with the MultiTech CDMA modem and *nix? (OK, Linux, I admit it :-)

Phil



A CDMA cell phone base station broadcasts a "reference signal" that
supplies the time.  You cam buy a receiver for this signal which will
supply you with time derived from GPS.

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


[ntp:questions] Learnings: FC8 Linux ntpd syncs to NMEA message but not PPS

2009-01-29 Thread Phil . Newlon
I have now managed, with the patient help from Bill U., to get my Linux NTP
system running using the PPS signal from a Garmin 18x LVC.  I thought I
would share what I had to do to make it all work.

* References:

http://time.qnan.org/
http://time.qnan.org/shmpps.tar
http://www.david-taylor.myby.co.uk/ntp/FreeBSD-GPS-PPS.htm
http://fixunix.com/ntp/67883-freebsd-garmin-gps-18-lvc.html

* What's it running on

- Dell Optiplex 740 running Fedora Core 8
- ntpd 4.2.4p2
- Garmin 18x LVC, powered off USB port, communicating on /dev/ttyS0


*
- I built the circuit as shown on the time.qnan.org site.
- I tried to use gpsd but that didn't work.  I got NMEA to work but not
PPS.
- I tried shmpps but it didn't work either, so I started digging deeper.
- Bill U. sent me a change to add to the shm_spl2.c file which would tell
me if the driver was "seeing" data from my GPS.  Nope.
- I checked my circuit board over and over, no problems seen there.
- I finally checked the cable that I had between the circuit board and the
NTP server - crap, there was no connection between PIN 1!  Turns out only
seven of the nine pins had connections through my cable.  Weird
- I made my own cable with crimp on terminators and some ribbon cable.
- Check it out, PPS data!

* NOTABLES:

- Don't blindly trust your cable!  Just because it works for some things
doesn't mean it will work for you here.  As Bill noted, lots of serial
cables are made with only pins 2 and 3 in mind to be concerned about
- Watch your syslog file!  It will tell you interesting things like "ntpd
can't find /dev/gps0" - so you get to add a symbolic link
between /dev/ttyXX to /dev/gps0.
- If you have NMEA output from the GPS in your ntp.conf file
(127.127.20.0), expect it to have "reach 0" reported when you finally get
PPS (127.127.28.0) working.  You can have NMEA or PPS from your serial
input, you just can't have both at the same time from the same GPS on the
same port.
- With that said, be sure to have a remotely well clocked device to do an
initial synch to before starting the shmpps driver.  (See start.sh and
shmpps scripts in ths shmpps tar file.)
- See my circuit board here:  http://www.toosan.com/shared/gps


* CONTENTS of ntp.conf

driftfile /var/lib/ntp/drift

statistics clockstats loopstats peerstats
statsdir /var/log/ntp/
filegen peerstats file peers type day link enable
filegen loopstats file loops type day link enable

server 127.127.20.0
server ntp.wendysi.com iburst

server 127.127.28.0 minpoll 4 prefer
fudge 127.127.28.0 refid PPS flag3 1


* OUTPUT FROM ntpq -p

 remote   refid  st t when poll reach   delay   offset
jitter
==
 GPS_NMEA(0) .GPS.0 l-   6400.0000.000
0.001
 10.255.213.232  10.255.231.148   2 u   63   64  3770.1732.336
0.398
*SHM(0)  .PPS.0 l6   16  3770.0000.005
0.002


* DEBUG output from shm_spl2 (shmpps)

range:4-11 sys:1233259966/84 ref:1233259967/0 prec: -17
range:0-7 sys:1233259980/83 ref:1233259981/0 prec: -17
range:2-9 sys:1233259994/84 ref:1233259995/0 prec: -16
range:3-10 sys:1233260008/83 ref:1233260009/0 prec: -16


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


Re: [ntp:questions] ntpd syncs to NMEA message but not PPS

2009-01-26 Thread Phil . Newlon
Well, I've managed to wind myself completely up in my huggies

I built a nice little 18x LVC setup this weekend, based on the circuit at
time.qnan,org.  I successfully get data from the GPS (9600 baud) and a PPS
signal.  I tried using the gpsd driver and am having no luck with it
whatsoever.  So, I have to ask at this point, what exactly did you mean
"just use the shmpps set of routines to set up pps using the shm refclock"?
I am running Fedora 8 Linux, for what that might be worth

Thanks for any assistance you can provide!

Phil


Debug output from gpsd.  Seems to be communicating OK, but loops with
"reconfiguring for garmin serial"

gpsd: <= GPS:
$GPRMC,192734,A,4006.0064,N,08306.3234,W,000.0,203.8,260109,006.5,W,D*19^M
gpsd: GPRMC starts a reporting cycle.
gpsd: GPRMC sets mode 2
gpsd: ntpshm_put: Clock: 1232998054 @ 1232998054.745896
gpsd: <= GPS:
$GPGGA,192734,4006.0064,N,08306.3234,W,2,07,2.4,345.2,M,-32.8,M,,*77^M
gpsd: GPGGA sets status 2 and mode 3 (changed)
gpsd: <= GPS: $GPGSA,A,3,,,10,,15,,21,24,26,29,30,,4.7,2.4,4.1*3E^M,
gpsd: GPGSA sets mode 3
gpsd: <= GPS:
$GPGSV,3,1,11,02,34,096,18,05,03,217,26,10,64,040,25,12,03,207,18*72^M
gpsd: Partial satellite data (1 of 3).
gpsd: <= GPS:
$GPGSV,3,2,11,15,36,171,40,18,02,239,33,21,16,293,21,24,58,314,24*7D^M
gpsd: Partial satellite data (2 of 3).
gpsd: <= GPS: $GPGSV,3,3,11,26,45,149,30,29,60,287,25,30,12,238,32*4C^M
gpsd: Satellite data OK (3 of 3).,
gpsd: <= GPS: $PGRMC,A,,100,,A,,1,2,1,30*4B^M
gpsd: GPRMC sets mode 0,
gpsd: found $PGRMC,.
gpsd: switch_driver(Garmin Serial) called...
gpsd: Reconfiguring for Garmin Serial...
gpsd: => GPS: $PGRMC,A,,100,,A,,1,2,1,30*4B\x0d


After running for about the last hour, this is what I continue to see on
the

[r...@splunk /root]# ntpq -p
 remote   refid  st t when poll reach   delay   offset
jitter
==
xSHM(0)  .GPS0.   0 l1   16  3770.000  -667.98
42.005
 SHM(1)  .PPS.0 l-   1600.0000.000
0.002
x10.255.213.232  128.4.40.12  3 u   31   64  3770.186   -1.647
0.429


   [r...@splunk /root]# cat /etc/ntp.conf

   driftfile /var/lib/ntp/drift
   server 127.127.28.0 minpoll 4
   fudge 127.127.28.0 time1 0.000 refid GPS0
   server 127.127.28.1 minpoll 4 prefer
   fudge 127.127.28.1 refid PPS
   server ntp.wendysi.com iburst


$GPRMC,193313,A,4006.0050,N,08306.3246,W,000.0,203.8,260109,006.5,W,D*1B
$GPGGA,193313,4006.0050,N,08306.3246,W,2,05,2.2,344.7,M,-32.8,M,,*75
$GPGSA,A,3,,,10,15,,24,29,30,4.0,2.2,3.3*3D,
$GPGSV,3,1,11,02,33,098,34,05,02,215,14,10,62,041,18,15,38,170,38*70
$GPGSV,3,2,11,18,04,241,36,24,60,317,28,29,62,282,27,30,11,236,26*7A
$GPGSV,3,3,11,07,01,042,00,08,03,077,00,12,01,206,00*44,




> You can just use something like gpsd to use the shm hardware clock to run
the pps.
> I would just use the shmpps set of routines to set up pps using the shm
refclock.

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


Re: [ntp:questions] ntp peer association in VLAN query

2009-01-19 Thread Phil . Newlon
Danny -

It sounds like this is the same behavior that I asked about a few weeks
ago, I think.

I have a Windows machine with two IP addresses, acting as an NTP time
source for devices on one of the two networks.  Time synch requests come in
from the clients on network A, and the response from the Windows machine is
out the interface on network B.  RE: "query-on"


Danny wrote:

What you require is the query-on option. I haven't had time to roll it
into a release yet. You need outbound queries to go on the routeable
address, correct?


Phil




   
 Danny Mayer   
  To 
 Sent by:  kiran shirol
 questions-bounces 
 +phil.newlon=wend  cc 
 ysarbys@lists questions@lists.ntp.org 
 .ntp.org  Subject 
   Re: [ntp:questions] ntp peer
   association in VLAN query   
 01/19/2009 11:04  
 AM
   
   
 Please respond to 
 ma...@ntp.isc.org 
   
   




kiran shirol wrote:
> My switch has configured for peering with the following switches
>
> ntp peer 101.1.1.2
> ntp peer 101.2.2.2
> ntp peer 102.1.1.2
>
> Vlan has the following configuration:
> ip address 10.1.1.1/24
> ip address 20.1.1.1/24 secondary
>
> Peer sends the NTP message 20.1.1.2(Out-Interface) -> 20.1.1.1(VLANs
secondary IP)
> The response comes as 10.1.1.1(VLANs Primary IP) -> 20.1.1.2
>

That means that the VLAN is using the wrong address to reply to the
message. NTP will see that it does not match the going address and will
discard the message. That's correct behavior. You need to figure out why
the packet is coming back with the incorrect address. i suspect the VLAN
but I cannot be sure.

Danny


> Traces:
> 2008-12-20 00:01:40.522776 20.1.1.2 -> 20.1.1.1 NTP NTP symmetric
active
> 2008-12-20 00:01:42.548166 10.1.1.1 -> 20.1.1.2 NTP NTP symmetric
passive
___
questions mailing list
questions@lists.ntp.org
https://lists.ntp.org/mailman/listinfo/questions


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


Re: [ntp:questions] NTP sever on an isolated Network

2009-01-09 Thread Phil . Newlon

> All right, but what is LVC? Where I'll connect it in my computer?

Name: GPS 18x LVC, 5m
Manufacturer: Garmin USA
Manufacturer Part Number: 010-00321-36

http://time.qnan.org/



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


Re: [ntp:questions] Sending ntpd logs to syslog

2009-01-09 Thread Phil . Newlon
Along with what Martin said, you could use syslog-ng to get the data to
multiple destinations, and tweak the way it looks when it gets there.


> Appearingly you have configured an alternate log file in
your /etc/ntp.conf
> file, e.g.: logfile /var/log/ntp.log
> If you comment that line out and restart ntpd then all log messages from
> ntpd go to the syslog (only).

> > I have a some test servers that are showing drift
errors.
> > I
> > noticed that the drift errors are only going to /var/log/ntp.log and
not
> > to
> > syslog.  I would like for the logs to go to a file with the following
> > format



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


Re: [ntp:questions] client listening interface

2008-12-06 Thread Phil . Newlon
Danny -

Yes, that is correct. I didn't see the query-on so was yapping about listen-on 
so you'd have a point of reference. 

Thanks!

Phil


- Original Message -
From: Danny Mayer [EMAIL PROTECTED]
Sent: 12/05/2008 02:56 PM EST
To: Phil Newlon
Cc: questions@lists.ntp.org
Subject: Re: [ntp:questions] client listening interface



[EMAIL PROTECTED] wrote:
> I have a Windows 2000 Server system that has two IP address configured -
> one a routeable address, the other is 192.168.2.x for communication with
> internal devices.  My time source requires communication outside the local
> environment, but it would appear that the server randomly decides to only
> try to synch via the 192.168 interface, and failing.  I wandered through
> the support.ntp.org site, and found reference to a directive "listen-on"
> being discussed.  Is something resembling that functionality available in
> 4.2.4p5, or is the current behavior of "all interfaces" my only current
> option?
> 
> Thanks!
> 
> Phil

What you require is the query-on option. I haven't had time to roll it
into a release yet. You need outbound queries to go on the routeable
address, correct? listen-on is to do with addresses/interfaces that it
will accept requests on.

Danny
___
questions mailing list
questions@lists.ntp.org
https://lists.ntp.org/mailman/listinfo/questions


[ntp:questions] client listening interface

2008-12-05 Thread Phil . Newlon

I have a Windows 2000 Server system that has two IP address configured -
one a routeable address, the other is 192.168.2.x for communication with
internal devices.  My time source requires communication outside the local
environment, but it would appear that the server randomly decides to only
try to synch via the 192.168 interface, and failing.  I wandered through
the support.ntp.org site, and found reference to a directive "listen-on"
being discussed.  Is something resembling that functionality available in
4.2.4p5, or is the current behavior of "all interfaces" my only current
option?

Thanks!

Phil

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