How to configure sntp client with multiple time sources?
Hi,
What is the syntax to configure sntp client to have multiple time sources?
I tried to use the below syntax, but when the src1 is not reachable, the sntp does not even try to sync to src2:
Also, it is not very clear if the sntp client will always use round robin when multiple sources or only if the first fails?
If you have a system with one network interface, and you want to allow ssh from some addresses, freeipa-ldap from others, and https (which is part of freeipa-ldap) from another one; and you do not want to have a sea of rich rules... how do you do that?
I can't tell if firewalld is just really... (2 Replies)
Hello,
I have a solaris 10 U 8 and want it to authenticate any user against a remote RADIUS server and return it's appropriate privileges on the system
First is it possible? and if yes, How I can do it?
please a consider I'm a little "newbie" on Solaris world
Thanks in advance! (0 Replies)
Dear all,
I am using solaris 10 OS.
I configured NIS server and i also configured NIS client server but when i use the command ypinit -s sunserv1 in NIS client it is showing me the below error.
Enumerates maps from sunserv1. please check that it is running. (2 Replies)
Hi, I am trying to configure NTP client on my Solaris server, but I am getting error like:
Jan 13 10:53:33 SPOTS ntpdate: no server suitable for synchronization foundMy ntp.conf file:
bash-3.00# pwd
/etc/inet
bash-3.00#
bash-3.00#
bash-3.00# cat ntp.conf
# ident "@(#)ntp.client... (5 Replies)
:b:Hi...
I need help to configure nim client on nim server..
can i define aix 5.3.4.0 on aix 5.3.7.0 nim server.. while i m configuring nim client on nim server its getting msg that images not same.. i need to confirm that both version should be same or not..
Thanks.. (5 Replies)
Hi Experts
Though I am aware that I am asking some thing which I should not ask here, however I am sure that there are many who must be have configure netback client in solaris 9 and 10.
Please help /direct me towards some link as how and what all is required to configure Veritas... (4 Replies)
i m using SCO unix openserver 5.0.... on my client machine. i have assign static IP to it and can ping the server. but now i want to connect internet on it through LAN , don't know how to do that?/
like in redhat linux we add dns or gatway entry to the /etc/resolv.conf don't know about SCO unix... (2 Replies)
I would like to know how to configure a Redhat 9.0 as NIS+ client. I have seen the post of larry, but it is not enough information for me to do the configuration. Could anyone tell me how to do it? Please help!
Thank you! (3 Replies)
I use DHCP on my AIX box at home . I want to connect to my Cable ISP as a
DHCP Client . the thing I did was this :
smit
Communications Applications and Services
TCP/IP
Use DHCP for TCPIP Configuration and Startup
"Select the interface you want to use"
en0
"Enter a hostname"
OK
after... (3 Replies)
SNTP(8) Programmer's Manual SNTP(8)NAME
sntp - standard Simple Network Time Protocol program
SYNOPSIS
sntp [-flag [value]]... [--opt-name [[=| ]value]]...
[ hostname-or-IP ...]
DESCRIPTION
This manual page briefly documents the sntp command. sntp can be used as a SNTP client to query a NTP or SNTP server and either display
the time or set the local system's time (given suitable privilege). It can be run as an interactive command or in a cron job.
NTP (the Network Time Protocol) and SNTP (the Simple Network Time Protocol) are defined and described by RFC 5905.
The default is to write the estimated correct local date and time (i.e. not UTC) to the standard output in a format like '1996-10-15
20:17:25.123 (+0800) +4.567 +/- 0.089 secs', where the '(+0800)' means that to get to UTC from the reported local time one must add 8 hours
and 0 minutes, and the '+4.567 +/- 0.089 secs' indicates the local clock is 4.567 seconds behind the correct time (so 4.567 seconds must be
added to the local clock to get it to be correct), and the time of is believed to be correct to within +/- 0.089 seconds.
OPTIONS -4, --ipv4
Force IPv4 DNS name resolution. This option must not appear in combination with any of the following options: ipv6.
Force DNS resolution of the following host names on the command line to the IPv4 namespace.
-6, --ipv6
Force IPv6 DNS name resolution. This option must not appear in combination with any of the following options: ipv4.
Force DNS resolution of the following host names on the command line to the IPv6 namespace.
-d, --normalverbose
Normal verbose.
Diagnostic messages for non-fatal errors and a limited amount of tracing should be written to standard error. Fatal ones always
produce a diagnostic. This option should be set when there is a suspected problem with the server, network or the source.
-K file-name, --kod=file-name
KoD history filename.
Specifies the filename to be used to persist the history of KoD responses received from servers. The default is /var/lib/sntp-kod.
-p, --syslog
Logging with syslog. This option must not appear in combination with any of the following options: logfile.
When this option is set all logging will be done using syslog.
-l file-name, --logfile=file-name
Log to specified logfile. This option must not appear in combination with any of the following options: syslog.
This option causes the client to write log messages to the specified logfile.
-s, --settod
Set (step) the time with settimeofday(). This option must not appear in combination with any of the following options: adjtime.
-j, --adjtime
Set (slew) the time with adjtime(). This option must not appear in combination with any of the following options: settod.
-b broadcast-address, --broadcast=broadcast-address
Use broadcasts to the address specified for synchronisation.
If specified SNTP will listen to the specified broadcast address for NTP broadcasts. The default maximum wait time, 68 seconds, can
be modified with -t.
-t seconds, --timeout=seconds
Specify the number of seconds to wait for broadcasts. This option takes an integer number as its argument. The default seconds for
this option is:
68
When waiting for a broadcast packet SNTP will wait the number of seconds specified before giving up. Default 68 seconds.
-a auth-keynumber, --authentication=auth-keynumber
Enable authentication with the key auth-keynumber. This option takes an integer number as its argument.
This option enables authentication using the key specified in this option's argument. The argument of this option is the keyid, a
number specified in the keyfile as this key's identifier. See the keyfile option (-k) for more details.
-k file-name, --keyfile=file-name
Specify a keyfile. SNTP will look in this file for the key specified with -a.
This option specifies the keyfile. SNTP will search for the key specified with -a keyno in this file. Key files follow the following
format:
keyid keytype key
Where keyid is a number identifying this key keytype is one of the follow: S Key in 64 Bit hexadecimal number as specified in
in the DES specification. N Key in 64 Bit hexadecimal number as specified in the NTP standard. A Key in a 1-to-8 character ASCII
string. M Key in a 1-to-8 character ASCII string using the MD5 authentication scheme.
For more information see ntp.keys(5).
-?, --help
Display extended usage information and exit.
-!, --more-help
Extended usage information passed thru pager.
-> [rcfile], --save-opts[=rcfile]
Save the option state to rcfile. The default is the last configuration file listed in the OPTION PRESETS section, below.
-< rcfile, --load-opts=rcfile, --no-load-opts
Load options from rcfile. The no-load-opts form will disable the loading of earlier RC/INI files. --no-load-opts is handled early,
out of order.
- [{v|c|n}], --version[={v|c|n}]
Output version of program and exit. The default mode is `v', a simple version. The `c' mode will print copyright information and
`n' will print the full copyright notice.
OPTION PRESETS
Any option that is not marked as not presettable may be preset by loading values from configuration ("RC" or ".INI") file(s) and values
from environment variables named:
SNTP_<option-name> or SNTP
The environmental presets take precedence (are processed later than) the configuration files. The homerc files are "$HOME", and ".". If
any of these are directories, then the file .ntprc is searched for within those directories.
USAGE
The simplest use of this program is as an unprivileged command to check the current time and error in the local clock. For example:
sntp ntpserver.somewhere
With suitable privilege, it can be run as a command or in a cron job to reset the local clock from a reliable server, like the ntpdate and
rdate commands. For example:
sntp -a ntpserver.somewhere
RETURN VALUE
The program returns a zero exit status for success, and a non-zero one otherwise.
BUGS
Please report bugs to http://bugs.ntp.org .
AUTHOR
David L. Mills and/or others
Please send bug reports to: http://bugs.ntp.org, bugs@ntp.org
see html/copyright.html
This manual page was AutoGen-erated from the sntp option definitions.
( 4.2.6p5) 2011-12-24 SNTP(8)