10-03-2011
You can't. NTP was created specifically to avoid this. The only way would be to use a tool like ntpdate to set the time from a timeserver, and then use date to set the offset.
This User Gave Thanks to pludi For This Post:
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
All,
I have a Windows XP client which I need to get time synchronized from a Linux ntp server. What are the commands to perform the setup and configuration?
Thanks,
Mike (1 Reply)
Discussion started by: bubba112557
1 Replies
2. Solaris
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)
Discussion started by: bubba112557
1 Replies
3. Fedora
Hello All
I have a problem about ntp, I am install a ntp server on a fedora 11 machine and I have 8 ntp client (solaris 10) everything working fine but just a server can not sync time . I have receive this error message
-bash-3.00# ntptime
ntp_gettime() returns code 5 (ERROR)
time... (1 Reply)
Discussion started by: bogacd
1 Replies
4. Linux
All,
I need to write a script which can determine if my NTP client is X second off from the NTPD server time. I am looking for a crafty oneliner to calculate the time difference? (3 Replies)
Discussion started by: vada010
3 Replies
5. AIX
Hello everybody! When I run command "ntpdate" the following error occures
"ksh: ntpdate: 0403-006 Execute permission denied.
"
# oslevel -s
5300-08-06-0918
oslevel -r
5300-08
eny suggestion friends? :-) (3 Replies)
Discussion started by: wwwzviadi
3 Replies
6. Linux
I need to configure an NTP daemon on a "bridge-PC" connected on 2 LANs. It is expected to read the correct time on a time server on the first LAN and behave as a server for the second LAN.
Can I do both the things with ntpd?
In other words, is ntpd able to work as client and server at the same... (3 Replies)
Discussion started by: bigjim33
3 Replies
7. Solaris
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)
Discussion started by: nypreH
5 Replies
8. UNIX for Dummies Questions & Answers
sudo /usr/sbin/ntpdate -q nxdbsr01.paramount.com
server 192.168.148.165, stratum 2, offset 45.247135, delay 0.09427
29 Jul 17:49:48 ntpdate: step time server 192.168.148.165 offset 45.247135 sec
sudo /usr/sbin/ntpdate -d nxdbsr01.paramount.com
29 Jul 17:49:54 ntpdate: ntpdate... (6 Replies)
Discussion started by: stunn3r
6 Replies
9. 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
10. Programming
Was not really happy with the NTP clients for the ESP8266 because, after a few years of game engine programming, I am not a fan of a lot of code and delays in the main loop, so here is a "slightly better NTP client" for the ESP8266.
In a nutshell, instead of having a delay in the main loop as a... (1 Reply)
Discussion started by: Neo
1 Replies
LEARN ABOUT OPENSOLARIS
time-admin
time-admin(1) User Commands time-admin(1)
NAME
time-admin - Basic configuration of system time, date, timezone and NTP client.
SYNOPSIS
time-admin [gnome-std-options]
DESCRIPTION
time-admin enables the user to configure the default timezone and current date/time on the system. It also enables the user to turn on
auto-synchronisation of this using NTP.
OPTIONS
The following options are supported:
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more informa-
tion.
EXAMPLES
Example 1: Running the main application.
example% time-admin
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/time-admin Executable for time and date configuration.
/var/spool/setup-tool-backends/backup/time
Backup directory for files that are modified.
/var/run/setup-tool-backends/debug/time
Debug logs can be found under here.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-system-tools |
+-----------------------------+-----------------------------+
|Interface stability |Uncommitted |
+-----------------------------+-----------------------------+
SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform.
users-admin(1), shares-admin(1), services-admin(1), network-admin(1), gnome-std-options(5), rtc(1M), ntpdate(1M), xntpd(1M), attributes(5)
NOTES
Written by Darren Kenny, Sun Microsystems Inc., 2006.
SunOS 5.11 6 Nov 2006 time-admin(1)