martinez cesar wrote:
> Hi there!
>  
> I´m trying to implement a NTP server on a linux box, the majority of
my clients are windows XP and some linuxes.
> 
> I´m trying to automatically synchronize those clients to NTP server,
across DHCP options to try to send the IP and NTP server address as well
as the correct time zone (UTC-X & UTC-Y).
> 
> The results on my test on linux clients are that they take the NTP
server address but not time zome but the windows clients seem to ignore
any NTP settings.
> 
> I´ve read the references on microsoft sites, but they are poorly on
releases near to WinXP. I´ve modified the _register_ with the same result.
> 

I assume you are using the options (code 42) as specified in RFC 2132
Section 8.3. While I've seen these options used on Linux systems I do
not believe that Windows implements them. In any case Microsoft assumes
that systems are in an active directory domain and directs all of the
Windows clients to pick up the time from there.

> Those are the options I´ve used to send NTP server settings and
> timezone:>
> option pcode code 100 = text;
> option tcode code 101 = text;
>  
>  option ntp-servers 10.X.X.X;
>  option pcode "CST6CDT";
>  option time-offset    -21600;
>  
> I´m not using a Domain Controller(I don´t need it), so according to
docs in Microsoft setting the NTP server address on a windows client
though command line it seems to run OK, on command line but it does not
keep the settings.
>  
> net stop w32time
> net time /setsntp:10.X.X.X
> net start w32time
> net time /querysntp
> 
> In resume I haven´t found the right way to put my clients to
synchronize with NTP server.

The easiest way to do this is to doubleclick on the clock on the
taskbar, select the internet time tab, click on the checkbox for
automatic time synchronization and enter your preferred NTP server.

You cannot use dhcp to accomplish this as Microsoft chose not to
implement it.

Danny

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
questions mailing list
questions@lists.ntp.org
https://lists.ntp.org/mailman/listinfo/questions

Reply via email to