User Tools

Site Tools


doc:howto:ntp.client

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
doc:howto:ntp.client [2013/02/24 18:42]
ghost added information for ntpd and busybox-ntpd
doc:howto:ntp.client [2015/04/04 09:24] (current)
micmac [Configuration]
Line 88: Line 88:
 restrict ::1 restrict ::1
 </​code>​ </​code>​
 +Depending on your configuration ntpd won't start properly when 
 +<​code>​ 
 +restrict 127.0.0.1 
 +restrict ::1 
 +</​code>​ 
 +is not set. When ntpd is started and it tries to connect to a server for which only a hostname is known, e.g. 0.openwrt.pool.ntp.org,​ and for some reason DNS service is not available yet (e.g. you are on a dial-up connection and it takes some time to set everything up), then without the above snippet you'll find two processes of ntpd running (one as user '​root',​ the other as user '​ntp'​) and you will have errors like this in the log: 
 +<​code>​ 
 +ntp_intres.request:​ permission denied 
 +</​code>​ 
 +The explanation I found at https://​bugs.debian.org/​cgi-bin/​bugreport.cgi?​bug=571469. The default configuration above sets "​nomodify"​. That configuration on localhost "will prevent the resolver process from adding the peers."​ [...] "The nomodify will only be a problem in case the resolver process needs to be started, which it does when it can't resolve the hostsnames when ntpd starts. ​ So this is mostly when the network isn't up yet." (explanation by Kurt, from Debian bug report mentioned above) (sic)
 ===== rdate server ===== ===== rdate server =====
  
doc/howto/ntp.client.1361727774.txt.bz2 · Last modified: 2013/02/24 18:42 by ghost