04-10-2008
i only know for solaris.
- edit the /etc/inet/ntp.conf file to your needs. (there are example files!)
- start ntpd with "svcadm onlne svc:/network/ntp:default" (only on Solaris 10!) on older versions you have to use the init script
- look with "ntpq -c peers" if everything is correct
hth,
DN2
10 More Discussions You Might Find Interesting
1. Gentoo
could you please tell me how to connect a linux or Unix server to Network Time Server???
Thanx (1 Reply)
Discussion started by: alkingg
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
My knowledge bucket of UNIX is almost empty. I have developed an application in EXCEL which can create XML files (Metadata) from Binaries.
These binaries are stored in UNIX server on regular intervals. Currently I am transferring all binaries(GBs of files) to WINDOWS using WINSCP and... (2 Replies)
Discussion started by: bobs
2 Replies
3. UNIX for Dummies Questions & Answers
I just installed the latest version of unbuntu server and want to connect from windows using a ssh client. This is my first linux server, so bare with me =)
For my server...
cat /etc/hostsgives me
127.0.0.1 localhost
127.0.1.1 ubuntuHomeI tried using ssh secure shell and putty in vista.... (11 Replies)
Discussion started by: Bandit390
11 Replies
4. Shell Programming and Scripting
Hi Gurus,
I'm a unix newbie and I would like to connect to multiple unix servers from unix server using shell script i.e from server a to server b,c,d etc. I want to copy the files from unix server a to server b, c, d. I can access staright using ssh without the need to have password and user... (5 Replies)
Discussion started by: sexyTrojan
5 Replies
5. UNIX for Dummies Questions & Answers
I have a hostname/ip of our network time server. What are the steps to take to set each server up to synchronize the clocks?
Thanks (4 Replies)
Discussion started by: ChadKam
4 Replies
6. Linux
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)
Discussion started by: MichaelLi
1 Replies
7. HP-UX
Hi
I wonder if its possible to setup NTP clients running HP-UX o.s. from a solaris 10 NTP server?
FR (3 Replies)
Discussion started by: fretagi
3 Replies
8. UNIX for Advanced & Expert Users
Hi All,
Where can I find all the NTP server names/ip addresses on Linux/Solaris systems. How can I grep these names/IP address from specific files from a specific OS (Linux/Solaris).
I know on linux /etc/ntp.conf and /etc/ntp/ntp.conf on solaris contains these details. Whether I am right about... (4 Replies)
Discussion started by: sanzee007
4 Replies
9. Linux
i want to configure machine1 as ntp server. this machine has oel 5.9 64 bit installed and this machine is not connected to internet neither there is any ntp server.
there is another machine2 and i want to configure that as ntp client.
plz do tell me that what lines do i add in /etc/ntp.conf... (0 Replies)
Discussion started by: rehantayyab82
0 Replies
10. Red Hat
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)