Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ntpdate issue ....



On 04/05/15 16:06, Christos Zoulas wrote:
In article <5521A3AD.9080001%hiwaay.net@localhost>,
William A. Mahaffey III <wam%hiwaay.net@localhost> wrote:
On 04/05/15 09:22, Christos Zoulas wrote:
In article <5520B1AE.70305%hiwaay.net@localhost>,
William A. Mahaffey III <wam%hiwaay.net@localhost> wrote:

Yeah, that's wy I was soft-peddling it in previous posts. Someone else
suggested the custom timezone, I think I will look into that ....
*However*, ntpdate *IS* returning a bad offset from my ISP (I *think*),
someone might wanna look into that ....
I think it is telling you that your machine has a different time than
your isp. If you run it without -q and then again, it should have set
the time, and the offset would be small.

So if you want your clock to appear 5 minutes fast and you are in EST5EDT
(AKA US/Eastern) you can "export TZ=EST4:55EDT" or something.

christos

Alright, it took me a bit to grasp this, but I conjured up a TZ setting
for MCST/MCDT which displays my local LAN-time correctly (on this box) &
now shows virtually no difference w/ my ISP, which I think is correct
(right ?). If this is so, then I can dispense w/ my little munging
program & just use ntp directly (no ntpdate/adjtime) & this machine will
display time correctly, right ? If so, then I think I need to make the
same mod on other boxen, right ? Thanks & TIA :-) ....
Yes, thats all correct (I think). And it is a better way to achieve what
you want.

christos


I absolutely agree, I wish I had figured this out a while back :-). It does bring up another possible issue for me. My LAN is not always connected to the internet, I disconnect at night & whenever I know I will be away from the computer for some time (mow the lawn, run errands, eat, etc.), thus I am only connected a few hours per day. How will ntpd handle this intermittent connection (to internet time servers) circumstance ? TIA & thanks again.

--

	William A. Mahaffey III

 ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                           -- Gen. George S. Patton Jr.



Home | Main Index | Thread Index | Old Index