Although I am on 24x7, ntp can be used for dialup. 
These are the two lines I added.
server 158.121.104.4 # timeserver.cs.umb.edu
server 140.239.10.5 # ntp.ourconcord.net

However, you might just want to use ntpdate. ntp runs as a daemon where 
ntpdate is not. You can write a cron script that tests if you are online. 
If so, execute ntpdate (as root) to synchronize your clock. Or you could 
set up a script around your PPP program to execute ntpdate when you log on.

Mark Polhamus wrote:
> Has anyone come across clear, concise instructions for synchronizing my clock
>  
> to a network time server?  I need instructions that will work for a system 
> that connects to the internet using dial-up (i.e. is often NOT connected).
> It is never connected to the internet at startup, and is restarted frequently
> .
> 
> I assume ntp will do this for me if I configure it correctly, and I would 
> prefer to use ntp because I have virtual machines that I would like to 
> synchronize to the host machine.
> 
> I'm having a hard time hacking through the thicket of ntp documentation -- it
>  
> seems to be written for a someone who has a doctorate level interest in the 
> absolute limits of network time sync accuracy (even the "executive overview" 
> includes some equations!).  There are a huge number of configuration options 
> for this package.
> 
> Some example ntp.conf files would be nice.  I would also appreciate 
> debugging/logging hints, and even an idea of how to tell if my setup is worki
> ng.
> 
> (ntp 4.1.1-1 on RedHat 7.3)
> 
> Chrony also sounded promising, but it doesn't compile on 7.3:
> 
>  >gcc -Wmissing-prototypes -Wall -O2 -g  -DLINUX -DHAS_SPINLOCK_H -c 
> wrap_adjtimex.c
>  >In file included from /usr/include/linux/timex.h:152,
>  >                 from wrap_adjtimex.c:40:
>  >/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
> 
> 
> Thanks,
> 
> 
> -- Mark Polhamus
> -- [EMAIL PROTECTED]
> 
> 
> *****************************************************************
> To unsubscribe from this list, send mail to [EMAIL PROTECTED]
> with the text 'unsubscribe gnhlug' in the message body.
> *****************************************************************
> 

-- 
Jerry Feldman <[EMAIL PROTECTED]>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9



*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to