On Fri, 28 May 2004, R P Herrold wrote: > On Fri, 28 May 2004, Joshua Jensen wrote: > > > Can you provide an example? > > > On Fri, May 28, 2004 at 12:56:13AM -0400, Matthew Miller wrote: > > > On Fri, May 28, 2004 at 12:12:49AM -0400, Tom Diehl wrote: > > > > As a compromise how about setting up ntp, etc. based on the timeserver info > > > > in the dhcp server? Would this be workable? Granted it would not work for > > > > machines installed in a non-dhcp environment but it would be a start. > > I have reviewed the man pages for dhcpd and dhcpd.conf when > this thread started. While there is a mechnism fo rhanding out > TZ offset, I m not aware, nor do they disclose any parameter > for handing out, or for a dhcp client to receive and use, > ntpserver information. When I wrote the above I was thinking about this, which is from the dhcp-options man page: option ntp-servers ip-address [, ip-address... ]; This option specifies a list of IP addresses indicating NTP (RFC 1035) servers available to the client. Servers should be listed in order of preference. > Pushing in a configuration file for /etc/ntp.conf is easy > enough, but it is probably a task for the post install > firstboot, once the host is out of the build and burn-in room, > and placed into the production subnet. The problem with this is that it does not solve the problem of making sure the system clock has the correct valus in it before the install is done. Like the op I do not like having the system report that it was installed in 1980 just because I forgot to check to see if the clock was set correctly. > Generating a 'well formed' one will likewise depend on the > network segment a host eventually ends up in. I would be Agreed. > interested in tools to automate the generation of a well > formed ntp.conf (and friends) based on information handed out > from the DHCP server, but do not know of a mechanism for the > dhcp server to do it. I think that if you have the ntp servers and TZ that should be enough info for most installations. Am I missing something? Tom