Re: [ntp:questions] offline machines' time synchronization

2012-05-25 Thread Chris Albertson
On Fri, May 25, 2012 at 2:51 PM, unruh wrote: > On 2012-05-25, Chris Albertson wrote: > > On Fri, May 25, 2012 at 12:29 AM, Terje Mathisen <"terje.mathisen at > > tmsw.no"@ntp.org> wrote: > > > >> Chris Albertson wrote: > >> > >>> Next how to get the PPS to be at the top of the second. Two meth

Re: [ntp:questions] offline machines' time synchronization

2012-05-25 Thread unruh
On 2012-05-25, Chris Albertson wrote: > On Fri, May 25, 2012 at 12:29 AM, Terje Mathisen <"terje.mathisen at > tmsw.no"@ntp.org> wrote: > >> Chris Albertson wrote: >> >>> Next how to get the PPS to be at the top of the second. Two methods >>> >>> 1) don't bother. Linux PPS will log the time of b

Re: [ntp:questions] offline machines' time synchronization

2012-05-25 Thread Chris Albertson
On Fri, May 25, 2012 at 12:29 AM, Terje Mathisen <"terje.mathisen at tmsw.no"@ntp.org> wrote: > Chris Albertson wrote: > >> Next how to get the PPS to be at the top of the second. Two methods >> >> 1) don't bother. Linux PPS will log the time of both the GPS's PPS >> and the Rb PPS. Read the lo

Re: [ntp:questions] offline machines' time synchronization

2012-05-25 Thread Terje Mathisen
Chris Albertson wrote: Next how to get the PPS to be at the top of the second. Two methods 1) don't bother. Linux PPS will log the time of both the GPS's PPS and the Rb PPS. Read the log file to determine the offset. This give offset with uSec precision. To get better you need a hardware ti

Re: [ntp:questions] offline machines' time synchronization

2012-05-24 Thread David J Taylor
"Dave Hart" wrote in message news:CAMbSiYBLnxaj_x4vch3eNDqwUDX+d5sGcHyr8zBe3Jh0C2K=y...@mail.gmail.com... On Thu, May 24, 2012 at 4:24 PM, Chris Albertson wrote: Lots of good discussion here but I found an easy way to stay "on-time" while the Internet is down and GPS is not available. There a

Re: [ntp:questions] offline machines' time synchronization

2012-05-24 Thread unruh
On 2012-05-24, Dave Hart wrote: > On Thu, May 24, 2012 at 4:24 PM, Chris Albertson > wrote: >> Lots of good discussion here but I found an easy way to stay "on-time" >> while the Internet is down and GPS is not available. ?There are some >> people on eBay selling Rubinium oscillators for about $40

Re: [ntp:questions] offline machines' time synchronization

2012-05-24 Thread E-Mail Sent to this address will be added to the BlackLists
Ali Nikzad wrote: > they are still not synchronized. Did you start ntpd with -g ? > ntpq -c "rv 0 version" Try: ntpq -n -c "lpe" -c "mru" -c "las" -c "rv &0" -c "rv &1" -c "rv &2" -c "rv &3" > version="ntpd 4.2.4p8@1.1612-o Tue Apr 19 07:08:18 UTC 2011 I'd try a more recent ntp version e.g.

Re: [ntp:questions] offline machines' time synchronization

2012-05-24 Thread Chris Albertson
On Thu, May 24, 2012 at 11:53 AM, Dave Hart wrote: > ntpd requires reference clocks provide time, not just frequency.  How > do you discipline the Rb PPS to occur at the top of the UTC second (or > a fixed offset from the top)? That is that part where I said "It takes some effort" There are se

Re: [ntp:questions] offline machines' time synchronization

2012-05-24 Thread Dave Hart
On Thu, May 24, 2012 at 4:24 PM, Chris Albertson wrote: > Lots of good discussion here but I found an easy way to stay "on-time" > while the Internet is down and GPS is not available.  There are some > people on eBay selling Rubinium oscillators for about $40.  They have > a pulse per second outpu

Re: [ntp:questions] offline machines' time synchronization

2012-05-24 Thread Dave Hart
On Thu, May 24, 2012 at 4:16 PM, Ali Nikzad wrote: > For introducing as direct peer, do I need to add like: > peer 192.168.17.22 ? That would configure a symmetric mode association. You could go that way, but I'd stay in the more familiar client/server territory if I were you. > ntpq -c "rv 0 v

Re: [ntp:questions] offline machines' time synchronization

2012-05-24 Thread Chris Albertson
Lots of good discussion here but I found an easy way to stay "on-time" while the Internet is down and GPS is not available. There are some people on eBay selling Rubinium oscillators for about $40. They have a pulse per second output.These Rb clocks will keep NTP within reasonable specs for a

Re: [ntp:questions] offline machines' time synchronization

2012-05-24 Thread Ali Nikzad
For introducing as direct peer, do I need to add like: peer 192.168.17.22 ? ntpq -c "rv 0 version" output : assID=0 status=c011 sync_alarm, sync_unspec, 1 event, event_restart, version="ntpd 4.2.4p8@1.1612-o Tue Apr 19 07:08:18 UTC 2011 (1)" BTW, I didn't quite get what you mean by: "automatic

Re: [ntp:questions] offline machines' time synchronization

2012-05-23 Thread Dave Hart
On Thu, May 24, 2012 at 3:22 AM, Ali Nikzad wrote: > #ntp.conf > #ip: 192.168.17.11 > driftfile /etc/ntp.drift server 192.168.17.22 > tos cohort 1 orphan 11 > restrict source nomodify > restrict default kod notrap nomodify nopeer noquery > restrict 127.0.0.1 > > #ntp.conf > #ip: 192.168.17.22 >

Re: [ntp:questions] offline machines' time synchronization

2012-05-23 Thread Ali Nikzad
thanks for your answers. I am using Ubuntu operating system and the IP addresses are assigned manually and they are fixed. I also disabled the firewalls of both systems. I changed the Files as follows: #ntp.conf #ip: 192.168.17.11 driftfile /etc/ntp.drift tos cohort 1 orphan 11 restrict source n

Re: [ntp:questions] offline machines' time synchronization

2012-05-23 Thread E-Mail Sent to this address will be added to the BlackLists
David Woolley wrote: > BlackList wrote: >> >> Add to both?: >> tos cohort 1 orphan 11 >> restrict source nomodify >> > If he's offline to the ubuntu server, won't that, effectively, > make both server lines redundant, > or does orphan require a token server. If (#ip: 192.168.17.11) can't reach

Re: [ntp:questions] offline machines' time synchronization

2012-05-23 Thread David Woolley
E-Mail Sent to this address will be added to the BlackLists wrote: Add to both?: tos cohort 1 orphan 11 restrict source nomodify If he's offline to the ubuntu server, won't that, effectively, make both server lines redundant, or does orphan require a token server. One problem I see is

Re: [ntp:questions] offline machines' time synchronization

2012-05-23 Thread E-Mail Sent to this address will be added to the BlackLists
Ali Nikzad wrote: > I have a couple of offline systems and they are all in the > same network. I want to chose one of them as time server > and the others sync their time with that machine. > This is the configuration file for the server: > > #ip: 192.168.17.11 > server ntp.ubuntu.com OffLine,

Re: [ntp:questions] offline machines' time synchronization

2012-05-23 Thread Ron Frazier (NTP)
Hi Ali, If you're running Windows, you have to go into the firewall control panel on the server machine and allow an exception for ntpd to receive data queries through the firewall. There may be similar procedures you have to do on Linux. See the lines below to insert into ntp.conf for secu

[ntp:questions] offline machines' time synchronization

2012-05-23 Thread Ali Nikzad
Hi, I have a couple of offline systems and they are all in the same network. I want to chose one of them as time server and the others sync their time with that machine. This is the configuration file for the server: #ip: 192.168.17.11 server ntp.ubuntu.com driftfile /etc/ntp.drift and this conf