Mailinglist Archive: opensuse (2773 mails)

< Previous Next >
Re: [SLE] xntpd + ppp ?
  • From: nhasan@xxxxxxx (Nadeem Hasan)
  • Date: Fri, 03 Dec 1999 10:24:06 -0500
  • Message-id: <3847E096.D5EDBA95@xxxxxxx>



Add the following lines

leep 5
ntpdate <server>

to your /etc/ppp/ip-up script. You could run xntpd but it requires
permanent net access. You should be better off with just
doing an ntpdate at the start of the session. <server> is any
stratum 1 or 2 ntp server.

In case you don't know, /etc/ppp/ip-up is executed by the pppd
every time the PPP link goes up. The sleep is necessary to make
sure the ppp interface is fully operational.

Nadeem

Bo¹tjan Müller [NEONATUS] wrote:

> Hi!
>
> I was trying to set xntpd up and was not quite succeding. I have an ordinary
> ppp setup, and would like to synchronize my machine time with the time server
> on the I-net when I connect to I-net (sth. to go to ppp-up script).
>
> I had a compiled ntpdate and ntpd on my SuSE 5.2 box, but that is gone and
> since there is a xntp package on SuSE 6.2 I'd like to use it.
>
> Could someone please tell me how to get xntpd to update the system time when I
> connect to the net?
>
> THX in advance!
>
> Bo¹tjan
> --
> Bo¹tjan Müller [NEONATUS], NEONATUS@xxxxxxxxxxx, http://surf.to/NEONATUS
> RSA id: 0x90178DBD, ICQ #:7506644, PGP key: finger neonatus@xxxxxxxxxxxx
> GEEK CODE = PGP key Registered Linux User #87774, Powered by SuSE Linux 6.2
> Your fault: core dumped
>
> --
> To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/


--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/


< Previous Next >