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

Re: Help with setting time from internet timeservers over dialup



On Fri, Jan 24, 2003 at 02:38:14PM +0000, Kevin.Bewley@camr.org.uk wrote:
> 
> Hi,
>    I am using Debian 3.0r1 and connect to the internet using a dialup.
> Basically I've set my /etc/peers/provider and my /etc/chatscript to dial up
> Freeserve Anytime and negotiate ppp using PAP. pppd handles getting the
> link up and running and all I do is type 'pon' and 'poff' to bring the
> network up and down. This is a single machine with nothing else connected
> to it.
> 
> My questions are thus:
> a) What package do I need to install to set my system time from an internet
> timeserver? (and write it to the CMOS clock?)

chrony.  Read the info page to find out how it interacts with the CMOS
clock.

> b) Where is the _right_ place to invoke this, what script?
>      I'd like it to set the clock upon establishing a ppp connection.

chrony does this automatically.

> c) anything else you might think would be helpful for me?

Use chrony :)

-rob

Attachment: pgpeDgRWqTIST.pgp
Description: PGP signature


Reply to: