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

xntpd (was Re: Sound advice?)



crumb@midwest.net said:
> Date: Wed, 15 Mar 2000 19:52:00 +0000

No wonder I didn't see the original post...  Somebody needs to fix
their clock.  :-)

BTW, so you don't ever have to worry about setting your clock again,
may I suggest running xntpd?  On Red Hat 6.2 and earlier, install the
xntp3 package.  On Red Hat 7.0 and later, it's the ntp package.  On
other distributions, it's probably one of those, or maybe xntpd or
ntpd.

Anyway, on Red Hat, just install that package, then, if you have a
static connection (cable, DSL, etc.), do the following:

    echo -e 'ntp1.silug.org\nntp2.silug.org' >> /etc/ntp/step-tickers

If you have a PPP connection that you have to bring up by hand, that
won't do you much good.  You can probably do something like this in
/etc/ppp/ip-up though:

    service xntpd stop
    ntpdate ntp1.silug.org ntp2.silug.org
    service xntpd start

(On Red Hat 7.0 and higher, that would be "service ntpd" instead.)

Then all you need to do is this:

    echo -e 'server ntp1.silug.org\nserver ntp2.silug.org' >> /etc/ntp.conf

Now, while xntpd is running, it will your box's clock in sync with
ntp1.silug.org and ntp2.silug.org.

Steve
-- 
steve@silug.org           | Southern Illinois Linux Users Group
(618)398-7320             | See web site for meeting details.
Steven Pritchard          | http://www.silug.org/
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.