[2] Comentário enviado por
albfneto em 07/08/2011:
ATUALIZAÇÃO e COMPLEMENTOS
Atualizados servidores e arquivo, 27 de Março de 2012.
Copie e cole a versão mais recente do arquivo:
----------------------------------------
# Based on well known related files. Modified by Alberto Federman Neto
# 2012.
# Inicio do codigo:
# NOTES:
# DHCP clients can append or replace NTP configuration files.
# You should consult your DHCP client documentation about its
# default behaviour and how to change it.
# Desejando pegar servidores automaticamente para sua maquina,
# descomente:
# netselect -s 3 pool.ntp.org
# 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 kod notrap nomodify nopeer
# restringido seu proprio IP: Coloque seu IP e descomente:
# restrict xxx.xxx.xxx.xx
restrict 143.107.202.62
# 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 notrap
# CONFIG
# "memoria" para o escorregamento de frequência do micro
# pode ser necessário criar esse arquivo manualmente com
# o comando touch ntp.drift
driftfile /etc/ntp.drift
# estatísticas do ntp que permitem verificar o histórico
# de funcionamento e gerar gráficos
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
# servidores gerais principais e pools, pela ordem de uso:
# 1. Servidor NTP da USP, São Paulo, SP, Stratum 2
server ntp.usp.br iburst
# 2. Servidor Stratum 2 em Valinhos, SP
server ntp.hiway.com.br iburst
# 3. varios servidores públicos do projeto ntp.br
# Se quiser, deixe como principais
server a.st1.ntp.br iburst
server b.st1.ntp.br iburst
server c.st1.ntp.br iburst
server d.st1.ntp.br iburst
server a.ntp.br iburst
server b.ntp.br iburst
server c.ntp.br iburst
server gps.ntp.br iburst
# 4. Pool de Servidores Brasileiros
server br.pool.ntp.org iburst
# 5. Pool de servidores Sul-Americanos
server south-america.pool.ntp.org iburst
# se todos falharem:
# 6. servidor da PUC do Rio
server ntp.puc-rio.br iburst
# 7. Servidor da RNP, Brasília, DF
server ntp.cais.rnp.br iburst
# 8. Stratum 1 do Observatório Nacional
server ntp2.on.br iburst
server ntp.on.br iburst
# outros servidores, descomente e adicione aqui:
# server outro-servidor.dominio.br iburst
----------------------------------------
veja esta Home-Page:
http://ntp.br
Naturalmente você pode modificar para seu estado, sua região , seu servidor mais próximo, usar servidores GPS etc...
Para configurar o servidor de tempo e não o cliente, micro, veja este arquivo:
http://www.vivaolinux.com.br/etc/ntpconf