Hozzászólások
-
SzerzőBejegyzés
-
Szia!
Köszi a választ, ez valóban megoldja a problémát, de ha kijelentkezek és vissza utána nem indul el automat. Pedig még mentem is a folyamatot.Nekem is ugyanezek. De ebbe hol van olyan aminek köze van ahoz h mennyi idönként szinkronizálja?
Nekem is ugyanezek. De ebbe hol van olyan aminek köze van ahoz h mennyi idönként szinkronizálja?
De miért nincs vmi példa abba a fájlba.. Az ntpd –help -nél nem látok számomra semmi hasznosat, a webes doksi meg számomra már tulzás én csak egy sort akarok amit beirok a konfigfájlba és féloránként szinkronizál, most ezért olvassak végig oldalakat, amit ráadásul alig értek. Miért nincs egy konfig példafájl. 🙁
De miért nincs vmi példa abba a fájlba.. Az ntpd –help -nél nem látok számomra semmi hasznosat, a webes doksi meg számomra már tulzás én csak egy sort akarok amit beirok a konfigfájlba és féloránként szinkronizál, most ezért olvassak végig oldalakat, amit ráadásul alig értek. Miért nincs egy konfig példafájl. 🙁
Igen ugy h ntpd fut. Tudom h ott is van két konfig fájla, de abba se látok semmi olyat ami azzal lenne kapcsolatos h mennyi idönként szinkronizáljon.
Igen ugy h ntpd fut. Tudom h ott is van két konfig fájla, de abba se látok semmi olyat ami azzal lenne kapcsolatos h mennyi idönként szinkronizáljon.
Kössz az infokat. Azt nem tudom h ntpd konfigjába hogy kell beállitani h milyen idöközönként szinkronizáljon?
Ez a /etc/ntp.conf -ba kéne h legyen gondolom. Nekem az ez:Code:# NOTES:
# – you should only have to update the server line below
# – if you start getting lines like ‘restrict’ and ‘fudge’
# and you didnt add them, AND you run dhcpcd on your
# network interfaces, be sure to add ‘-Y -N’ to the
# dhcpcd_ethX variables in /etc/conf.d/net# Name of the servers ntpd should sync with
# Please respect the access policy as stated by the responsible person.
#server ntp.example.tld iburstserver 0.hu.pool.ntp.org
server 1.hu.pool.ntp.org
server 2.hu.pool.ntp.org
server 3.hu.pool.ntp.org
##
# A list of available servers can be found here:
# http://www.pool.ntp.org/
# http://www.pool.ntp.org/#use
# A good way to get servers for your machine is:
# netselect -s 3 pool.ntp.org
### you should not need to modify the following paths
driftfile /var/lib/ntp/ntp.drift#server ntplocal.example.com prefer
#server timeserver.example.org# Warning: Using default NTP settings will leave your NTP
# server accessible to all hosts on the Internet.# If you want to deny all machines (including your own)
# from accessing the NTP server, uncomment:
#restrict default ignore# To deny other machines from changing the
# configuration but allow localhost:
restrict default nomodify nopeer
restrict 127.0.0.1# To allow machines within your network to synchronize
# their clocks with your server, but ensure they are
# not allowed to configure the server or used as peers
# to synchronize against, uncomment this line.
#
#restrict 192.168.0.0 mask 255.255.255.0 nomodify nopeer notrapGyors szerver alatt azt érettem h gyorsabban szinkronizálja vele a gép az idöt, gondolom ez függ a szerver sebességétöl..
Egyébként nekem most olyan h elinditom a gépet, bootkor ugye szinkronizál, utána kb nemtom egy ora mulva már késik 1-2percet az idö, aztán 1re többet.Kössz az infokat. Azt nem tudom h ntpd konfigjába hogy kell beállitani h milyen idöközönként szinkronizáljon?
Ez a /etc/ntp.conf -ba kéne h legyen gondolom. Nekem az ez:Code:# NOTES:
# – you should only have to update the server line below
# – if you start getting lines like ‘restrict’ and ‘fudge’
# and you didnt add them, AND you run dhcpcd on your
# network interfaces, be sure to add ‘-Y -N’ to the
# dhcpcd_ethX variables in /etc/conf.d/net# Name of the servers ntpd should sync with
# Please respect the access policy as stated by the responsible person.
#server ntp.example.tld iburstserver 0.hu.pool.ntp.org
server 1.hu.pool.ntp.org
server 2.hu.pool.ntp.org
server 3.hu.pool.ntp.org
##
# A list of available servers can be found here:
# http://www.pool.ntp.org/
# http://www.pool.ntp.org/#use
# A good way to get servers for your machine is:
# netselect -s 3 pool.ntp.org
### you should not need to modify the following paths
driftfile /var/lib/ntp/ntp.drift#server ntplocal.example.com prefer
#server timeserver.example.org# Warning: Using default NTP settings will leave your NTP
# server accessible to all hosts on the Internet.# If you want to deny all machines (including your own)
# from accessing the NTP server, uncomment:
#restrict default ignore# To deny other machines from changing the
# configuration but allow localhost:
restrict default nomodify nopeer
restrict 127.0.0.1# To allow machines within your network to synchronize
# their clocks with your server, but ensure they are
# not allowed to configure the server or used as peers
# to synchronize against, uncomment this line.
#
#restrict 192.168.0.0 mask 255.255.255.0 nomodify nopeer notrapGyors szerver alatt azt érettem h gyorsabban szinkronizálja vele a gép az idöt, gondolom ez függ a szerver sebességétöl..
Egyébként nekem most olyan h elinditom a gépet, bootkor ugye szinkronizál, utána kb nemtom egy ora mulva már késik 1-2percet az idö, aztán 1re többet.Igen ezt is probáltam már csak elfelejtettem irni.
Code:> ntpdate hu.pool.ntp.org
30 Sep 00:38:57 ntpdate[5237]: the NTP socket is in use, exitingDe miért csak rootként tudok ntpdate-ezni amikor a kernelbe bele van forgatva ami kell hozzá h ne csak rootként tudjak és a konfigba is be van állitva.
Ill a másik amit elfelejtettem h vki tud vmi gyors szervert?
-
SzerzőBejegyzés
legutóbbi hsz