On Fri, 14 Apr 2000, Mike Lewis wrote:

> I'm just setting up xntpd for the first time.  I believe I have the server
> piece running and syncing to the various time servers.  However, I have some
> questions that I've not yet been able to find the answers to:
> 
> 1)  Now that I have one machine on my LAN syncing to an outside source, how
> do I configure the other Linux boxen to sync to the local time server rather
> than the ones on Internet ?
> 
> 2)  Suppose you have several LANs that you would like to sync time on to
> some standard (not necessarily each other).  Wouldn't it be better to have
> one of the LANs as a 'master' NTP server (which updates to some stratum 2
> server) and have the remainder of the LANs sync to that server ?
Yes. That's the way it's often done.  There's usually little need for all
the systems on a LAN to sync to a stratum 2 server. The loss of accuracy
is insignificant, and you still get to have all the Unix/Linux systems on
each LAN sync'ed to the same time with much less than 1 second's
difference.

> 3)  From a previous message posted to the list, I understand that by using
> "NET TIME /SET /Y \\linuxboxen"  (on WinBoxen) this will set the time to the
> 'master' NTP server on the LAN.  When I try this on Win95, I get:
> 
>       C:\WINDOWS>net time /set /y \\192.168.1.2
> 
>       Error 53: The computer name specified in the network path cannot be
> located.
>       Make sure you are specifying the computer name correctly, or try again
> later
>       when the remote computer is available.
> 
> So, the question here is, does Samba have to be running for this to work ?
> Is there a way to do this without using Samba ?

Samba needs to be running if you want to use the 'net time /set ....'
approach.  This method also only sets the time on each system to the
current hh.mm.ss value, where NTP can synchronize times to less than one
second.

There are other WinXX programs available that use methods not requiring
Samba.  One called "atomtime" is the only name I remember right now. As
far as I recall it's shareware.  You may be able to find others at TUCOWS
or similar shareware/freeware collections.

Jim Cunning



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to