Dear Edwin...
Mine is like this:
"
patrix@patrix:~> su
Password:
patrix:/localhome/patrixlinux # ntpdc
ntpdc> peers
remote local st poll reach delay
offset disp
=======================================================================
=LOCAL(0) 127.0.0.1 10 64 377 0.00000
0.000000 0.00140
*pot.isti.cnr.it 192.168.23.237 2 64 377 0.07716
-0.107840 0.00121
ntpdc>
"
How can I make sure whether my setting for xntp is
already correct?
TIC so much.
--- edwin
I think xntp is easy to set. Just edit your /etc/ntp.conf to a time server. And it's done. For your server it is enough to use Secondary (Stratum2 ) Time Server (see www.ntp.org).
On /etc/ntp.conf Find the lines: ## ## Outside source of synchronized time ## ## server xx.xx.xx.xx # IP address of server
On mine I use:
server time2.stupi.se server ntp.cuhk.edu.hk
'xntpd start' for start You can type ntpdc and see what happen
Mine is: ntpdc ntpdc>peers
remote local st poll reach delay offset disp
=======================================================================
=LOCAL(0) 127.0.0.1 10 64 7 0.00000 0.000000 1.93799 =Time2.Stupi.SE 202.158.64.165 1 64 7 1.32536 0.048018 1.93823 =envelope.itsc.c 202.158.64.165 2 64 7 0.99330 0.072696 1.93825
For the client just use your server for synchronization. ntp will set your system time, to synchronize your RTC (hardware clock) with system time you can type
hwclock --systohc
Have a nice day
Medwin.
-----Original Message----- From: Prabu Subroto [mailto:prabusubroto@yahoo.com] Sent: Monday, January 19, 2004 6:20 PM To: suse-linux-e@suse.com Subject: Re: [SLE] xntp on SuSE Linux
Dear my friend, Gerhard...
But I could not find any menu for xntp neither on yast nor yast2. Could you tell me more detail to use yast2 to configure xntp using yast2?
* Marek Chlopek
(Thu, Jan 15, 2004 at 07:58:52PM +0100) I installed the xntp from the cd, and start
runlevel editor tool (xntpd) and do "rcxntpd start".
either on the server and client I did the same.
Is it enough to make the xntp keep the clock of each machine be always correct? do I have to edit/configure "/etc/ntp.conf"?
You need to use yast to configure ntp (initial server, peers &c) You can also edit ntp.conf directly, but the yast way is easier.
I don't use ntp daemon. ntpdate will be your friend. No it's not.
Cron will start every three hours (@ XX:15) time synchronization and hardware clock adjustment.
If you do this, ntpdate will forcefully change your system clock to the right time. However X (and most notably motif) can get quite confused in this case.
Im not sure of the exact casue, but I think it's realted to the following:\ X is event driven, each event has a timestamp associated with it. If ntpdate changes the systemclock back, it might be that events that came later have an earlier timestamp, consfusing
TIC so much. --- Gerhard den Hollander
wrote: the service on the Xserver. In my case, this showed up as Motif pulldown menus
responding (but keeping the mouse cursor locked) untill you used the cursor keys/enter key to leave the menu.
And X is only the most visible effect. many other apps don;t like it if the time changes more than a few seconds. xntpd handles this scenario gracefully by drifting
it down or speeding it up) until it gets in sync with the real time clock
In other words. xntpd is your friend ntpdate is your foe
read /usr/share/doc/packages/xntp-doc for full
no longer the clokc (slowing details
Currently listening to: 12 - save me
Gerhard,
== The Acoustic Motorbiker == -- __O For prosimian fun, you can bugger a lemur =`\<, To bolster
your name as a pervert and schemer (=)/(=) The lemurs cry "Frink!" as a coy mating call But the hedgepod can never be buggered at all.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
__________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
__________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus