Hello, I'm trying to create a NTP server on a FreeBSD machine inside my local network, so all the clients of that network can actually query for that machine.
Should be of no problem right?
Here's the configuration of the /etc/ntp.conf on the FreeBSD machine:
It should get the time from br.pool.ntp.org, and restrict everything besides the local network right?
Here's the output of a linux machine when I try to execute
Can anyone please help me out?
Hi.
i was wondering if anyone can show me or direct me on setting up a ntp server under redhat.. Is there any howtos so i can get familar to it "any good sites" (3 Replies)
All,
How do you set a Solaris 9 server which received ntp updates from a ntp server to broadcast them on a local subnet. I have created a /etc/inet/ntp.conf file to receive the updates from a server on network and need to make this server become like a ntp relay from the main server.
Any... (1 Reply)
Hello Guys,
i have a problem my local server is not getting synchronized with ntpd server.
1)ntpq -p is giving the following output
remote refid st t when poll reach delay offset jitter
==============================================================================
... (9 Replies)
Hi All....
I need to configure NTP server in my network, which is heterogeneous, containing Linux as well as windows systems. I'm planning to configure it on RHEL 5.0. What are the prerequisites for this and do I need to register this server?
Can anyone give me as many information as... (1 Reply)
All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
hello Guys,
I have an NTP problem on my SUN N240 server. External NTP server is being used for this box and when i run 'ntpq -p' i get connection refused message;
Code:
ntpq -p ntpq: read: Connection refused
Here this is the ntp.conf file:
Code:
cat /etc/ntp.conf # BEGIN NTP... (1 Reply)
Hi,
I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local?
# ntpq -p
... (3 Replies)
Hello
I need to create NTP server for all my devices, What is the best OS for NTP Server? "CentOS, Redhat, Ubuntu "
I tried before Ubuntu but some of device not detect the server
Need your recommendation
Thank you (2 Replies)
Discussion started by: moudmm
2 Replies
LEARN ABOUT DEBIAN
ntpdc
NTPDC(1) General Commands Manual NTPDC(1)NAME
ntpdc - special NTP query program
SYNOPSIS
ntpdc [-ilnps] [-c command] [host] [...]
DESCRIPTION
ntpdc is used to query the ntpd daemon about its current state and to request changes in that state. The program may be run either in
interactive mode or controlled using command line arguments. Extensive state and statistics information is available through the ntpdc
interface. In addition, nearly all the configuration options which can be specified at startup using ntpd's configuration file may also be
specified at run time using ntpdc.
If one or more request options are included on the command line when ntpdc is executed, each of the requests will be sent to the NTP
servers running on each of the hosts given as command line arguments, or on localhost by default. If no request options are given, ntpdc
will attempt to read commands from the standard input and execute these on the NTP server running on the first host given on the command
line, again defaulting to localhost when no other host is specified. ntpdc will prompt for commands if the standard input is a terminal
device.
ntpdc uses NTP mode 7 packets to communicate with the NTP server, and hence can be used to query any compatible server on the network which
permits it. Note that since NTP is a UDP protocol this communication will be somewhat unreliable, especially over large distances in terms
of network topology. ntpdc makes no attempt to retransmit requests, and will time requests out if the remote host is not heard from within
a suitable timeout time.
The operation of ntpdc are specific to the particular implementation of the ntpd daemon and can be expected to work only with this and
maybe some previous versions of the daemon. Requests from a remote ntpdc program which affect the state of the local server must be authen-
ticated, which requires both the remote program and local server share a common key and key identifier.
Note that in contexts where a host name is expected, a -4 qualifier preceding the host name forces DNS resolution to the IPv4 namespace,
while a -6 qualifier forces DNS resolution to the IPv6 namespace.
OPTIONS
Specifying a command line option other than -i or -n will cause the specified query (queries) to be sent to the indicated host(s) immedi-
ately. Otherwise, ntpdc will attempt to read interactive format commands from the standard input.
-4 Force DNS resolution of following host names on the command line to the IPv4 namespace.
-6 Force DNS resolution of following host names on the command line to the IPv6 namespace.
-c command
The following argument is interpreted as an interactive format command and is added to the list of commands to be executed on the
specified host(s). Multiple -c options may be given.
-i Force ntpdc to operate in interactive mode. Prompts will be written to the standard output and commands read from the standard
input.
-l Obtain a list of peers which are known to the server(s). This switch is equivalent to -c listpeers.
-n Output all host addresses in dotted-quad numeric format rather than converting to the canonical host names.
-p Print a list of the peers known to the server as well as a summary of their state. This is equivalent to -c peers.
-s Print a list of the peers known to the server as well as a summary of their state, but in a slightly different format than the -p
switch. This is equivalent to -c dmpeers.
SEE ALSO
/usr/share/doc/ntp-doc/html/ntpdc.html for the full documentation.
Network Time Protocol October 7, 2006 NTPDC(1)