You are not logged in.
Hi,
I've a fully updated fresh net x86 (32b) Arch install with KDE.
The system can't access any of the 4 ntp servers listed below, even with my firewall (guarddog) temporarily turned off.
My sole interface is eth0, connected via a router, to an ADSL "modem:.
Trying to modify my /etc/conf.d/net file, per the recommendations in the beginning of the ntp.conf file, I've found that I do NOT have such a file on my system.
Please advise!
Thanks
Michael Badt
------------copy of my /etc/ntp.conf-----------------
# 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 iburst
server pool.ntp.org
server europe.pool.ntp.org
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.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 notrap
-----------------end------------------
Best regards,
Michael Badt
Offline
Have you tried commenting out the "restrict" lines?
*edit*
When you say that the system can't access the servers, do you actually mean that it can't connect to them or do you actually mean "my system isn't syncing to the ntp servers"?
Does "ntpd -q" or "ntpd -qg" work?
Have you considered just using openntpd? It doesn't require holes in your firewall or permission settings for the ntp servers to update your time.
Last edited by Xyne (2009-09-25 03:16:05)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Thnaks, I'll check later, once I return to my PC.
Best regards,
Michael Badt
Offline