În data de  5-04-2002, la 00h 38'34", Dan Nedelcu scria despre "Re:
[ro-linux] Re: network time protocol":
> On Tue 02 Apr 2002 17:49, you wrote:
> > --- In [EMAIL PROTECTED], "Andrei Stanescu" <[EMAIL PROTECTED]> wrote:
> > > Incerc sa-mi configurez serverul sa faca sync la date/time cu alte
> >
> > servere de pe internet. Are cineva un exemplu de /etc/ntp.conf ?
> >
> > > Multumesc,
> > > Andrei Stanescu.
> 
> Salut,
> Inteleg ca vrei sa-ti sincronizezi ceasul masinii cu unul etalon.
> Pentru asta eu fac ceva simplu. Pun in cron ceva la modul:
> rdate -s ntp1.fau.de
> Eventual poti sa o complici cu teste pentru mai multe adrese de server
> ntp 
> (poate nu raspunde unul).
> Poate vrei sa-ti faci un server de ntp al tau si atunci probabil ca
> raspunsul 
> meu nu e bun :)
> 
> Numai bine,
> Dan Nedelcu


Iata ce folosesc eu (pe un debian 3.0):

#################################################
# /etc/ntp.conf, configuration for xntpd

# ntpd will use syslog() if logfile is not defined
logfile /var/log/ntpd

driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable


### lines starting 'server' are auto generated,
### use dpkg-reconfigure to modify those lines.

server time.tue.nl
#################################################


Succes,
Mugurel


P.S. By the way, that was the default, except the server name.
---
<a href="mailto:[EMAIL PROTECTED]?Subject=unsubscribe%20rlug";>unsubscribe</a>

REGULI, arhive si alte informatii: http://www.lug.ro/mlist/


Raspunde prin e-mail lui