is ntpd able to work as client and server at the same time?
Yes. This is a fairly common configuration.
On your 'bridge-PC" you need to configure ntpd to allow the ntp clients on the second lan to get their information from it. Typically this is done by adding a line such as
The ntp clients on the second lan should be configured to point to the "bridge-PC"
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)
configuring NTP in Solaris/Windows/Linux environment. Can anybody please explain the below table to monitor NTP daemon status
This contains many columns like remote,refid,st....various values corresponding to those columns
If possible provide me any link to study about... (1 Reply)
Can anybody please explain the below table to monitor NTP daemon status
This contains many columns like remote,refid,st....various values corresponding to those columns
If possible provide me any link to study about these quantities clearly.
It is very much required for my project please... (3 Replies)
Problem
- Linux Client/Server Socket Application: Preventing Client from quitting on server crash
Hi,
I am writing a Linux socket Server and Client using TCP protocol on Ubuntu 9.04 x64.
I am having problem trying to implement a scenario where the client should keep running even when the... (2 Replies)
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)
Hi
I am looking to have an NTP server that will support both ipv4 and ipv6 clients. Is there anything specific about the configuration that I should be looking at? (7 Replies)
Hi,
I want to send an email from server to my gmail account for all critical messages reported in the server. Kindly help me in configuring the same.
Regards
Rochit (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)
Discussion started by: pjeedu2247
3 Replies
LEARN ABOUT DEBIAN
net::ntp
Net::NTP(3pm) User Contributed Perl Documentation Net::NTP(3pm)NAME
Net::NTP - Perl extension for decoding NTP server responses
SYNOPSIS
use Net::NTP qw(get_ntp_response);
my %response = get_ntp_response();
ABSTRACT
All this module does is send a packet to an NTP server and then decode the packet received into it's respective parts - as outlined in
RFC1305 and RFC2030.
DESCRIPTION
This module exports a single method (get_ntp_response) and returns an associative array based upon RFC1305 and RFC2030. The response from
the server is "humanized" to a point that further processing of the information received from the server can be manipulated. For example:
timestamps are in epoch, so one could use the localtime function to produce an even more "human" representation of the timestamp.
EXPORT
get_ntp_response(<server>, <port>);
This module exports a single method - get_ntp_response. It takes the server as the first argument (localhost is the default) and port to
send/recieve the packets (ntp or 123 bu default). It returns an associative array of the various parts of the packet as outlined in
RFC1305. It "normalizes" or "humanizes" various parts of the packet. For example: all the timestamps are in epoch, NOT hexidecimal.
SEE ALSO
perl, IO::Socket, RFC1305, RFC2030
AUTHOR
Now maintained by Ask BjA~Xrn Hansen, <ask@develooper.com<gt>
Originally by James G. Willmore, <jwillmore (at) adelphia.net<gt> or <owner (at) ljcomputing.net<gt>
Special thanks to Ralf D. Kloth <ralf (at) qrq.de<gt> for the code to decode NTP packets.
COPYRIGHT AND LICENSE
Copyright 2009 by Ask BjA~Xrn Hansen; 2004 by James G. Willmore
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.3 2011-06-05 Net::NTP(3pm)