On Sun, 23 Apr 2000, tabanna wrote: t> t> Hello Tim :) t> t> Could you please help a 'Dummy', me ? t> t> I wish to use my ISP's NTP Server to keep my PC & Linux t> on Local Time which is GMT +3 t> ____________ t> t> how can I adapt your Info to do this for me ? t> ........................... t> ntpdate -su -t 60 clock.xxxx.xxx.xxx t> t> hwclock --systohc (system clock to hardware clock) t> hwclock --hctosys (hardware clock to system clock) t> -- t> I'll respond to this as it was my response above with the hwclock command that brought about your question. If you use ntpdate to set the system time, you can sync the CMOS time with the following hwclock --systohc unfortunately if you have the CMOS clock set to GMT, then this isn't such a great idea as it will make the CMOS time that of the current time which isn't set to GMT. If you don't use GMT in the CMOS, then you won't have any worries with the above. If you do have the CMOS set to GMT, then you would want to do the following rather then the above: hwclock --set --date="`date -u +"%D %T"`" Which will set the CMOS time to that of the current time in universal format. For example, on my system before the above command daydream:~ # clock ; date Mon Apr 24 05:23:17 2000 -0.035332 seconds Sun Apr 23 22:23:15 PDT 2000 now I run the above command daydream:~ # hwclock --set --date="`date -u +"%D %T"`" and I check the results again to see what occured. daydream:~ # clock ; date Mon Apr 24 05:24:11 2000 -0.199838 seconds Sun Apr 23 22:24:11 PDT 2000 Note: the above requires a properly configured time system, meaning you must have selected the appropriate timezone for your location within yast otherwise the universal time will be incorrect when the above is run. t> best :) t> ____________ t> sent on Linux t> ____________ t> t> -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v6.3+ - Kernel 2.2.14 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/