Re: [ntp:questions] How to insert a leap second with ntpq

2012-06-19 Thread Dave Hart
On Wed, Jun 20, 2012 at 4:30 AM, ZHOU.Jun wrote:
> I need to do some tests with ntpd and I want to have NTP packets set Leap
> indicator in order to insert a leap second to a Linux server running ntp 
> client.
>
> How can I configure the server to generate a packet with Leap indicator 0x01?

Install the "leapfile" informing ntpd of the leap second to be
inserted at the end of this month:

http://support.ntp.org/bin/view/Support/ConfiguringNTP#Section_6.14.

Set the clock to the last day of this month -- verify with "date -u"
which will show the UTC time.  The insertion happens at the start of
July 1 UTC.

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


[ntp:questions] How to insert a leap second with ntpq

2012-06-19 Thread ZHOU.Jun
Hello,

I have a question about leap indicator.

I need to do some tests with ntpd and I want to have NTP packets set Leap 
indicator in order to insert a leap second to a Linux server running ntp client.

How can I configure the server to generate a packet with Leap indicator 0x01?

Thanks in advance.
I got the syntax of ntpq is as follows
Syntax

ntpq [ -i ] [ -n ] [ -p ] [ -c SubCommand ] [ Host ... ]

Leap Indicator (LI)

 Code warning of impending leap-second to be inserted at the end of
 the last day of the current month. Bits are coded as follows:

00 no warning
01 +1 second (following minute has 61 seconds)
10  -1 second (following minute has 59 seconds)
11  reserved for future use

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


[ntp:questions] Dave Hart - personal message

2012-06-19 Thread Ron Frazier (NTP)
(Everyone except Dave, ignore this. Sorry to post it here.)

Dave,

Just letting you know I sent you a personal email on June 3, 2012 entitled I'd 
like to help your projects. I never got a reply so I didn't know if you got it. 
I sent it to h...@ntp.org. Please reply to me off list and let me know if you 
got the message and if you're interested in what I was discussing.

Sincerely,

Ron


--

Sent from my Android Acer A500 tablet with bluetooth keyboard and K-9 Mail.
Please excuse my potential brevity.

(To whom it may concern. My email address has changed. Replying to former
messages prior to 03/31/12 with my personal address will go to the wrong
address. Please send all personal correspondence to the new address.)

(PS - If you email me and don't get a quick response, don't be concerned.
I get about 300 emails per day from alternate energy mailing lists and such.
I don't always see new email messages very quickly. If you need a reply and
haven't heard from me in 1 - 2 weeks, send your message again.)

Ron Frazier
timekeepingdude AT techstarship.com
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions