Hello Friends,
I am working on embedded linux platform, and we successfully start ntpd over pppd (GPRS network) and get correct time form ntp server.
but whenever I use ntpq or ntpdc to query ntp, it does not query ntpd locally run on my linux board and try to connect with server over network and give error
localhost: timed out, nothing received
***Request timed out
my /etc/ntp.config as below
Code:
# $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $
# sample ntpd configuration file, see ntpd.conf(5)
# Addresses to listen on (ntpd does not listen by default)
#listen on *
#listen on 127.0.0.1
#listen on ::1
# ntp logging
#logconfig all
#logfile /var/log/ntp.log
# sync to a single server
server 0.uk.pool.ntp.org iburst
server 1.in.pool.ntp.org iburst
server 0.asia.pool.ntp.org iburst
server 1.asia.pool.ntp.org iburst
driftfile /etc/ntp.drift
restrict 127.0.0.1
restrict ::1
# use a random selection of 8 public stratum 2 servers
# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers