This one time, at band camp, [EMAIL PROTECTED] said: > Hi, > I'm using Debian 3.0r1 stable on a dialup in the UK. I'm using PAP > authentication that CHAT's to the modem then launches pppd and away we go. > What I'd like is for the machine to check and set (if necessary) the system > clock based on the time from one of the many timeservers on the internet. > > What package do I need to do this? > > How do I make it autorun once pppd has got the ppp connection up and > running (I use the pon script)
I'd use a program like ntpdate - it's designed to run once and exit, rather than keep checking ll the time. apt-get install it, and put a script in either /etc/ppp/ip-up.d or /etc/networking/ip-up.d that calls it. -- -------------------------------------------------------------------------- | Stephen Gran | There is not much to choose between a | | [EMAIL PROTECTED] | woman who deceives us for another, and | | http://www.lobefin.net/~steve | a woman who deceives another for | | | ourselves. -- Augier | --------------------------------------------------------------------------
msg25940/pgp00000.pgp
Description: PGP signature