NTPD - nastaveni casu
Kilian Igor
igor.kilian na infogas.sk
Úterý Březen 19 10:59:00 CET 2002
To co mate v /etc/ntp.conf je asi spravne. Pri instalacii
ntpd tam RH nahodi konfigurak (ntp.conf) taky, ktory spusti
nptd zaveseneho na lokalne hodinky. Takze ak nemate pripojenie
k internetu, tak je to super, lebo podla danej masiny si mozete
zosynchronizovat vsetky ostatne. Pravdaze ak mate pripojenie
do internetu a chcete ziskavat presny cas musite zmenit ntp.conf.
Co chcete?
Igor
(funguje Vam ten ntpd na lokalne hodiny ci nie?
skusili ste na neho ntpq?)
> -----Original Message-----
> From: Zdenek Marsik [mailto:admin na jakub.hiedu.cz]
> Sent: Tuesday, March 19, 2002 8:15 AM
> To: linux na linux.cz
> Subject: Re: NTPD - nastaveni casu
>
>
> tusim, ze servery se berou z /etc/ntp.conf
>
> server <ip_adresa>
>
> ale musi se zadavat minimalne 3, je to pro automatickou synchronizaci
> casu
> pres ntpd, mozna to pomuze
>
> Asi mam neco spatne v
> ******* /etc/ntp.conf *******
> server 127.127.1.0 # local clock
> fudge 127.127.1.0 stratum 10
>
> #
> # Drift file. Put this in a directory which the daemon can write to.
> # No symbolic links allowed, either, since the daemon updates the file
> # by creating a temporary in the same directory and then rename()'ing
> # it to the file.
> #
> driftfile /etc/ntp/drift
> ******* end ntp.conf ******
>
> Zdenek
Další informace o konferenci Linux