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

Re: [cobalt-users] NTP



On Sat, 6 Dec 2003, Colin J. Raven wrote:

> On Sat, 6 Dec 2003 07:47:20 -0500 (EST), Gerald Waugh wrote:
> > On Fri, 5 Dec 2003, Schadroff wrote:
>
> >> I want to start xntpd (or ntpd) daemon each time my RaQ starts.
> >>
> >>
> >> Is it a way to do that (no litterature in list archive) ?
>
> > from a shell session as root execute,
> > chkconfig ntpd on
> > Then execute,
> > /etc/rc.d/init.d/ntpd start
> >
> >
> > The first one will start it on boot
> > the second gets it started now!
>
> Gerald, is it not true that you must specify in an ntpd.conf file what
> time servers you want to use? I seem to recall that setting up NTP is
> not exactly trivial though I haven't actually done a full-blown ntp
> since I admin'd AIX boxes, and I still shudder thinking about how that
> was. (NTP, not AIX!) :-)
>
> In FreeBSD the conf files are in /etc. In my RAQ days I never had cause
> to set it up.
>
>      /etc/ntp.conf   the default name of the configuration file
>      /etc/ntp.drift  the default name of the drift file
>      /etc/ntp.keys   the default name of the key file
>
> Then things get a bit complex - depending on what your NOC setup is, and
> precisely what use you want NTP to serve.

The original poster didn't ask how to set it up.
He just asked how to have it start on reboot, I assumed
that he had it setup...

a minimal ntp.conf looks like this;
server the.time.server.tld
driftfile /etc/ntp.drift

Gerald
--
http://frontstreetnetworks.com | http://store.raqware.com
  Front Street Networks LLC, 229 Front Street, Ste.#C
  New Haven, CT 06513-3203 | phone: +1-203-785-0699