I am on RPI2, 14.1, I can not get ntpd to work. I chmodded it, I added "/etc/rc.d/rc.ntpd start &" in my rc.local and my /etc/ntp.conf file looks like this
Code:
server 127.127.1.0
fudge 127.127.1.0
server pool.ntp.org iburst
server us.pool.ntp.org iburst
driftfile /etc/ntp/drift
logfile /var/log/ntp.log
restrict default noquery nomodify
restrict 127.0.0.1
When I do /etc/rc.d/rc.ntpd status I get "ntpd is running". However if I change status with stop I get "Stopping NTP Daemon line 31:kill (785) - No such process"
I tell it to start again and run "ntpdate -d timeserver" and I get
Code:
18 July 11:34:23 ntpdate 4.2.6p5@1.2349-o Wed Oct 16 12:03:52 UTC 2013 (1)
Looking for host timeserver and service ntp
Error resolving timeserver: Name or service not known (-2)