Re: Help with setting time from internet timeservers over dialup

2003-01-29 Thread Rob Weir
On Fri, Jan 24, 2003 at 02:38:14PM +, [EMAIL PROTECTED] 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



msg27145/pgp0.pgp
Description: PGP signature


Help with setting time from internet timeservers over dialup

2003-01-24 Thread Kevin . Bewley

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?)
b) Where is the _right_ place to invoke this, what script?
 I'd like it to set the clock upon establishing a ppp connection.
c) anything else you might think would be helpful for me?

Thanks,
Kevin

--



The information contained in this e-mail is intended only for the individual or entity 
to whom it is addressed.  It may contain privileged and confidential information and 
if you are not an intended recipient you must not copy, distribute or take any action 
in reliance on it.  If you have received this e-mail in error, please notify us 
immediately by telephone on +44 (0)1980 612100.  Please also destroy or delete the 
message from your computer.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]