Hi All,
I have a problem in synchronizing the time in LAN and WAN in our system.
Only one of my system is connected to the WAN and the other systems in
the LAN get their time from the NTP server running in the main system.
I have two problems in this setup.
1.The timeZone is always UTC in the LAN(Isn't it NTP's job to update
timezone information?? )
2. When ever the time zone is changed in the main system ,how to
update it in the systems connected in the LAN.
Forgive me if I am absurd since i am new to NTP.
Regards
Deepak
|
|
0
|
|
|
|
Reply
|
peerlessdeepaks
|
5/22/2008 8:04:00 AM |
|
>>> In article <cbaa36330805220104k30c5a601gf0cad681150e3356@mail.gmail.com>, peerlessdeepaks@gmail.com (Deepak Pandian) writes:
Deepak> 1.The timeZone is always UTC in the LAN(Isn't it NTP's job to update
Deepak> timezone information?? )
NTP knows nothing about timezone information.
Deepak> 2. When ever the time zone is changed in
Deepak> the main system ,how to update it in the systems connected in the
Deepak> LAN.
That should be handled by the OS patch mechanism.
--
Harlan Stenn <stenn@ntp.org>
http://ntpforum.isc.org - be a member!
|
|
0
|
|
|
|
Reply
|
Harlan
|
5/23/2008 2:04:26 AM
|
|
Deepak Pandian wrote:
> Hi All,
>
> I have a problem in synchronizing the time in LAN and WAN in our system.
>
> Only one of my system is connected to the WAN and the other systems in
> the LAN get their time from the NTP server running in the main system.
>
> I have two problems in this setup.
>
> 1.The timeZone is always UTC in the LAN(Isn't it NTP's job to update
> timezone information?? )
No! NTP deals in UTC only! Your O/S is responsible for handling local
time.
> 2. When ever the time zone is changed in the main system ,how to
> update it in the systems connected in the LAN.
>
UTC ONLY!!!!
> Forgive me if I am absurd since i am new to NTP.
>
> Regards
> Deepak
|
|
0
|
|
|
|
Reply
|
Richard
|
5/23/2008 2:26:10 PM
|
|
On 2008-05-22, Deepak Pandian <peerlessdeepaks@gmail.com> wrote:
> Only one of my system is connected to the WAN and the other systems in
> the LAN get their time from the NTP server running in the main system.
>
> I have two problems in this setup.
You have a misunderstanding of how NTP works.
> 1.The timeZone is always UTC in the LAN (Isn't it NTP's job to update
> timezone information?? )
>
> 2. When ever the time zone is changed in the main system ,how to
> update it in the systems connected in the LAN.
NTP synchronizes clocks to a common time-base across a network. The most
commonly used time-base is UTC.
Most OS clocks are set to UTC. Display of this time in the correct time
zone is handled by the appropriate userland, or system, utilities. Time
zone changes are handled by the tools included with your OS.
--
Steve Kostecke <kostecke@ntp.org>
NTP Public Services Project - http://support.ntp.org/
|
|
0
|
|
|
|
Reply
|
Steve
|
5/23/2008 4:16:09 PM
|
|
Hi,
Thanks .
> Most OS clocks are set to UTC. Display of this time in the correct time
> zone is handled by the appropriate userland, or system, utilities. Time
> zone changes are handled by the tools included with your OS.
>
It seems the OS reads the time zone information from a configured
file.Is there any other protocol which can instruct the clients
connected to it on timezone.
Regards
Deepak
|
|
0
|
|
|
|
Reply
|
peerlessdeepaks
|
5/24/2008 1:44:07 AM
|
|
Deepak Pandian wrote:
>
> It seems the OS reads the time zone information from a configured
> file.Is there any other protocol which can instruct the clients
> connected to it on timezone.
This depends on the OS. Some will require a reboot after such a change,
as the file is read into an environment variable during startup. Others
read the file every time. Some of those actually use a link to the file.
For Windows, there may be something in group policies management, but
note that the timezone is a property of each user.
For Unix, any tool for remotely updating files, e.g. ftp, sftp, rsync,
or even rsh, telnet, ssh, might be appropriate.
Note that Unix users can override the timezone in their initialisation
scripts, and you cannot predict how they will do this.
Actually, why do you want to do this? For a normal modern Unix system,
using the Olsen package, you should be setting the timezone when you
install the system and updating the timezone database files when a
significant legislation change changes the rules. Note, messing with
the timezone files yourself may mean that an upgrade fails to update the
file you've played with.
Older Unix systems normally only need updating with legislation changes
(provided you can specify the rules in terms of nth week or last week,
but, unlike Olsen based systems, you cannot specify rule changes into
the indefinite future.
For Windows, legislation changes are implemented using Windows Update.
If you are trying to move the clock an hour twice a year, with any
operating capable of running ntpd, you are not using it properly.
|
|
0
|
|
|
|
Reply
|
David
|
5/24/2008 6:12:03 PM
|
|
David Woolley wrote:
>
> Older Unix systems normally only need updating with legislation changes
> (provided you can specify the rules in terms of nth week or last week,
> but, unlike Olsen based systems, you cannot specify rule changes into
> the indefinite future.
>
> For Windows, legislation changes are implemented using Windows Update.
>
You can also use tools to update the timezone information. I needed to
do this for W2K as it was not supported without a maintenance contract.
I forget the name of the tool but it's in the resource kit.
Danny
|
|
0
|
|
|
|
Reply
|
mayer
|
5/25/2008 9:45:29 PM
|
|
peerlessdeepaks@gmail.com (Deepak Pandian) writes:
>Hi All,
>I have a problem in synchronizing the time in LAN and WAN in our system.
>Only one of my system is connected to the WAN and the other systems in
>the LAN get their time from the NTP server running in the main system.
>I have two problems in this setup.
>1.The timeZone is always UTC in the LAN(Isn't it NTP's job to update
>timezone information?? )
ntp operates on UTC. It is the job of the system to translate UTC to local
time zone information. (Yes, I know Windows is ignorant of such things).
>2. When ever the time zone is changed in the main system ,how to
>update it in the systems connected in the LAN.
Time zone information is not ntp's job.
>Forgive me if I am absurd since i am new to NTP.
Not absurd. Just running windows (which may or may not be absurd) whose
timekeeping leaves something to be desired.
|
|
0
|
|
|
|
Reply
|
Unruh
|
5/25/2008 10:52:11 PM
|
|
peerlessdeepaks@gmail.com (Deepak Pandian) writes:
>Hi,
>Thanks .
>> Most OS clocks are set to UTC. Display of this time in the correct time
>> zone is handled by the appropriate userland, or system, utilities. Time
>> zone changes are handled by the tools included with your OS.
>>
>It seems the OS reads the time zone information from a configured
>file.Is there any other protocol which can instruct the clients
>connected to it on timezone.
Yes. There cannot be. ntp is used to synchronize clocks where one is in
Ulan Bator and the other if Ohio-- if they tried to use timezone info, this
could not be done reasonably. Under many operating systems, the system
clock is also in UTC making synchronization easy. Windows, following DOS
decided to use local time, which causes may difficulties. ntp has to kludge
it.
>Regards
>Deepak
|
|
0
|
|
|
|
Reply
|
Unruh
|
5/25/2008 10:55:37 PM
|
|
Unruh wrote:
> peerlessdeepaks@gmail.com (Deepak Pandian) writes:
>
>> Hi All,
>
>> I have a problem in synchronizing the time in LAN and WAN in our system.
>
>> Only one of my system is connected to the WAN and the other systems in
>> the LAN get their time from the NTP server running in the main system.
>
>> I have two problems in this setup.
>
>> 1.The timeZone is always UTC in the LAN(Isn't it NTP's job to update
>> timezone information?? )
>
> ntp operates on UTC. It is the job of the system to translate UTC to local
> time zone information. (Yes, I know Windows is ignorant of such things).
>
Nope. Windows also uses UTC and converts based on the time zone. ntpd
works fine on Windows systems.
Danny
|
|
0
|
|
|
|
Reply
|
mayer
|
5/26/2008 2:03:14 AM
|
|
Unruh wrote:
[]
> ntp operates on UTC. It is the job of the system to translate UTC to
> local time zone information. (Yes, I know Windows is ignorant of such
> things).
Unruh,
Like many OSes, Windows uses UTC internally and translates it to the time
zone specified by the user for display. Start, Control Panel, Date and
Time, Time Zone provides the user interface for this, and there are
programs like TZedit which allow you to alter the registry settings
controlling winter and summer local-to-UTC rules.
http://download.microsoft.com/download/5/8/a/58a208b7-7dc7-4bc7-8357-28e29cdac52f/tzedit.exe
This is the third time you have provided incorrect information about
Windows.
Thanks,
David
|
|
0
|
|
|
|
Reply
|
David
|
5/26/2008 5:05:30 AM
|
|
"David J Taylor" <david-taylor@blueyonder.neither-this-bit.nor-this-bit.co.uk> writes:
>Unruh wrote:
>[]
>> ntp operates on UTC. It is the job of the system to translate UTC to
>> local time zone information. (Yes, I know Windows is ignorant of such
>> things).
>Unruh,
>Like many OSes, Windows uses UTC internally and translates it to the time
>zone specified by the user for display. Start, Control Panel, Date and
>Time, Time Zone provides the user interface for this, and there are
>programs like TZedit which allow you to alter the registry settings
>controlling winter and summer local-to-UTC rules.
> http://download.microsoft.com/download/5/8/a/58a208b7-7dc7-4bc7-8357-28e29cdac52f/tzedit.exe
>This is the third time you have provided incorrect information about
>Windows.
I will try to improve.
>Thanks,
>David
|
|
0
|
|
|
|
Reply
|
Unruh
|
5/26/2008 5:42:11 AM
|
|
David J Taylor wrote:
> Like many OSes, Windows uses UTC internally and translates it to the time
> zone specified by the user for display. Start, Control Panel, Date and
> Time, Time Zone provides the user interface for this, and there are
> programs like TZedit which allow you to alter the registry settings
> controlling winter and summer local-to-UTC rules.
Where does this legend stem from ?
There seems to be a difference in what TZ the RTC reflects.
( At least the SuSE installer regularly ask if the RTC shows
UTC or Local Time )
uwe
|
|
0
|
|
|
|
Reply
|
Uwe
|
5/26/2008 8:28:10 AM
|
|
Uwe Klein wrote:
> David J Taylor wrote:
>
>> Like many OSes, Windows uses UTC internally and translates it to the
>> time zone specified by the user for display. Start, Control Panel,
>> Date and Time, Time Zone provides the user interface for this, and
>> there are programs like TZedit which allow you to alter the registry
>> settings controlling winter and summer local-to-UTC rules.
>
> Where does this legend stem from ?
Windows. Specifically Windows 3.x, 95, 98, ME, and 98SE. Also MS-DOS
(these versions of Windows are really DOS extenders). These are all
basically single timezone systems. Even NT (i.e. NT, 2000, 2003, XP,
Vista) stores filesystem times in local time, at least for FAT and VFAT.
>
> There seems to be a difference in what TZ the RTC reflects.
> ( At least the SuSE installer regularly ask if the RTC shows
> UTC or Local Time )
Windows continues to default to RTC = local time, partly for consistency
and partly because they are optimised for ordinary people, who have
problems with the concept of UTC, even in the UK. (I failed to convince
the managing committee of my block of flats that electromechanical solar
time lighting control clocks were not supposed to be reset when the
clocks changed!)
|
|
0
|
|
|
|
Reply
|
David
|
5/26/2008 9:00:00 AM
|
|
Uwe Klein wrote:
> David J Taylor wrote:
>
>> Like many OSes, Windows uses UTC internally and translates it to the
>> time zone specified by the user for display. Start, Control Panel,
>> Date and Time, Time Zone provides the user interface for this, and
>> there are programs like TZedit which allow you to alter the registry
>> settings controlling winter and summer local-to-UTC rules.
>
> Where does this legend stem from ?
It's not a legend - it's directly what you get from calls to the OS.
http://msdn.microsoft.com/en-us/library/ms724390(VS.85).aspx
and, for example, the need to use the GetLocalTime function to convert
that value into local time:
http://msdn.microsoft.com/en-us/library/ms724950(VS.85).aspx
> There seems to be a difference in what TZ the RTC reflects.
> ( At least the SuSE installer regularly ask if the RTC shows
> UTC or Local Time )
>
> uwe
The RTC runs in local time.
Cheers,
David
|
|
0
|
|
|
|
Reply
|
David
|
5/26/2008 9:09:44 AM
|
|
Thank you very much for the info ( from David� )
My last "intimate" contact to 'Windows was with win3.1/NVdos7
( and that system still lives )
I've changed over to Unix/Linux in ~95.
uwe
|
|
0
|
|
|
|
Reply
|
Uwe
|
5/26/2008 9:59:55 AM
|
|
Uwe Klein wrote:
> Thank you very much for the info ( from David� )
>
> My last "intimate" contact to 'Windows was with win3.1/NVdos7
> ( and that system still lives )
> I've changed over to Unix/Linux in ~95.
>
> uwe
You're welcome Uwe. I started with Windows NT in 1992, having come from a
background of VMS various UNIX environments, CP/M, DOS and Windows 3.x.
It's the 32-bit version of Windows which has been my main environment for
the past 15 years, though, and it's a pleasure to program and use (for me,
at least).
Cheers,
David
|
|
0
|
|
|
|
Reply
|
David
|
5/26/2008 10:18:15 AM
|
|
|
16 Replies
218 Views
(page loaded in 0.219 seconds)
Similiar Articles: Synchronizing NTP in WAN and LAN - comp.protocols.time.ntp ...Hi All, I have a problem in synchronizing the time in LAN and WAN in our system. Only one of my system is connected to the WAN and the other systems... Howto synchronize a ntp client (Linux) with a server running ...Hello, How to synchronize a NTP client (Linux) with a server running w32time ... Synchronizing NTP in WAN and LAN - comp.protocols.time.ntp ... Even NT (i.e. NT, 2000, 2003 ... ntp server not working - comp.protocols.time.ntpTobit LAN!Time DCF77 receiver not working - comp.protocols.time ... Synchronizing NTP in WAN and LAN ... Time Protocol The Network Time Protocol (NTP) is used to synchronize ... Tobit LAN!Time DCF77 receiver not working - comp.protocols.time ...Synchronizing NTP in WAN and LAN - comp.protocols.time.ntp ... ntp server not working - comp.protocols.time.ntp Tobit LAN!Time DCF77 receiver not working - comp ... ntp ... VLAN across a WAN without VLAN's? - comp.dcom.sys.ciscoSynchronizing NTP in WAN and LAN - comp.protocols.time.ntp ..... do this for W2K as it was not supported without ... in the same LAN but on different VLANS - comp.dcom ... ntp on a closed of network - comp.protocols.time.ntpSynchronizing NTP in WAN and LAN - comp.protocols.time.ntp ... NTP synchronizes clocks to a common time-base across a network. ... Network Time Protocol (NTP) is used to ... When is the TZ environment var set? - comp.unix.solarisSynchronizing NTP in WAN and LAN - comp.protocols.time.ntp ... Most OS clocks are set to UTC. Display of this time ... such a change, as the file is read into an ... Can or should the NTP protocol eventually serve timezone data ...Synchronizing NTP in WAN and LAN - comp.protocols.time.ntp ... Network Time Protocol (NTP) is used to synchronize the time of a computer ... ... want to sync the Slackware ... problem with synchronizing two comps to each other - comp ...On a LAN, delays are typically less than 500 microseconds. To ... NTP was not designed to synchronize clocks to each other. ... Assuming the network is only two levels ... Windows Time with NTPv4 - comp.protocols.time.ntp... some packet asking to do so. > Set up restrict with notrust on the LAN ... response at all, in which case the w32time clients were unable to > synchronize to the NTP ... NTP design for ISP - comp.protocols.time.ntp... 24, 10.1/24, & 10.2/24 are on the same LAN ... reduced jitter and latency compared to NTP polls transiting a wan ... RFC 1305 Network Time Protocol; RFC 2330 Framework for IP ... comp.protocols.time.ntp - page 8This is page 8 of the comp.protocols.time.ntp ... box (i.e. client only, not to serve the LAN ... ntp time synchronization 3 56 (8/21/2003 12:19:50 PM) Hi, I have set up ... UDP 123 Port restriction - comp.protocols.time.ntpStratum 2 server will synchronize with Stratum 1 server. We will use NTP 4.2.6p3 Is it mandatory to ... protocols.time.ntp... the IOS port of NTP to ... server lan ... Meinberg NTP Software--Time Accuracy - comp.protocols.time.ntp ...... Naval Observatory, > Washington, DC > Synchronization: NTP V4 ... On the other hand, using a LAN connection ... Network Time Protocol (NTP) - Meinberg der Funkuhr und Time ... Solairs 8 xntpd client oscillates - comp.protocols.time.ntp ...But the clock doesn't really synchronize either. From the ntp log: 8 May 17:13 ... xntpd client oscillates - comp.protocols.time.ntp ... The systems are in one LAN, no ... Synchronizing NTP in WAN and LAN - comp.protocols.time.ntp ...Hi All, I have a problem in synchronizing the time in LAN and WAN in our system. Only one of my system is connected to the WAN and the other systems... precise time synchronization of solaris servers with NTP over LAN ...I have 2 servers on a LAN that I want to precisely synchronize. the goal is to have a time difference < 500 microseconds, constant, with no drift (from what I've ... 7/29/2012 6:04:21 AM
|