-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At some point hitherto, Mark Polhamus hath spake thusly:
> 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.

This scenario makes maintaining synchronization difficult.  ntpd seems
to expect that you will be connected permanently, and in my experience
if it can't contact its time servers for some period of time, it will
die.  You could keep the clock mostly pretty up-to-date by using
ntpdate in your connection script, and then using the hwclock command
to set the hardware clock to the new time.  You could also do this in
a script run periodically by cron.  In that case, the synchronization
would fail whenever you're not connected, but as long as the machine
is up and connected so that it runs successfully once or twice a day,
your clock should be kept pretty accurate.

> 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 assume you mean something like VMWare running on the same machine?
If you should happen to have other machines on your network which are
always connected to the Internet somehow, then a much better option
would be for you to run ntpd on one of those hosts, and synchronize
against that.  May not be an option for you though.

- -- 
Derek Martin               [EMAIL PROTECTED]    
- ---------------------------------------------
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9MZiudjdlQoHP510RAiYuAJ0YILCv9ydTDzov4Tu79pm8ejyl1ACgnZA3
fqtbZgUiZQqOmeOCGI/8c9A=
=6yvo
-----END PGP SIGNATURE-----

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

Reply via email to