time setting on dialup

From: Godzilla (Godzilla_at_Monsters.org)
Date: 09/13/04


Date: Sun, 12 Sep 2004 18:42:08 -0500

After reading everything that my eyes could absorb from Google on
timesetting upon dialup, I was somewhat confused at the multitude of
choices that faced me.

I am running SuSE9.0 personal, and have experienced noticeable time drift
fast since I installed it. Having set the time manually numerous times,
I figured that there had to be a better way to do it automatically.
The simplest set of commands were found on the SuSE help page:

As root, I entered the following commands -

ntpdate (timeserver of choice)
hwclock -w

This works fine manually, but how to get it in a file to run each time that
I log on? The SuSE instructions were written for an earlier edition,
putting it in file called ip-up.local

"In order to automatically synchronize the time in your system at every
Internet connection, generate the file /etc/ppp/ip-up.local and enter there
the commands above."

There is no sub-directory of etc/ppp on my system. Should I create this
sub-directory and then place the ip-up.local file in it, or should it go
elsewhere?

All knowledgeable suggestions are welcome.

Godzilla