LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to set and sync system time with time server?? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-set-and-sync-system-time-with-time-server-309250/)

servnov 04-03-2005 11:34 AM

how to set and sync system time with time server??
 
I am running GNOME on a slackware 10.1 sys. I want my desktop clock to sync itself with some remote time server...like in MS windows. If I cant do that, how do I manually reset the sys time so the desktop app will read the correct time?

thanks.

Tinkster 04-03-2005 02:55 PM

Have a close look at the files in
/usr/doc/ntp-4.2.0

If you just want to sync things in a 1-off situation
you'd be using
ntpdate <name of server> ...

If you're on a permanent (or at least semi-permanent)
high-speed connection you can set up ntpd using
/etc/ntp.conf


Cheers,
Tink

servnov 04-03-2005 04:55 PM

Thanks man. I think /etc/ntp.conf may be what I am looking for...Do you have any domain or IP names for some reliable public time servers?

Tinkster 04-03-2005 05:13 PM


http://ntp.isc.org/bin/view/Servers/...TwoTimeServers

Cheers,
Tink

servnov 04-11-2005 06:24 PM

thanks man, that helped alot

cheers

aktar_alam 09-04-2009 12:10 AM

answer to your
 
Quote:

Originally Posted by servnov (Post 1570336)
I am running GNOME on a slackware 10.1 sys. I want my desktop clock to sync itself with some remote time server...like in MS windows. If I cant do that, how do I manually reset the sys time so the desktop app will read the correct time?

thanks.

Ya you can do remotely. Try thiS
you should be th super user
type the follwing commands:
$su -
#<type the root password>
#service ntpd stop
#ntpdate -u <ip of the server with which you want to synchronise>
#ntpdate -u <ip of the server with which you want to synchronise>
#ntpdate -u <ip of the server with which you want to synchronise>
#service ntpd start

Hope this would solve your problem

xris99 12-03-2013 07:55 PM

Quote:

Originally Posted by aktar_alam (Post 3669175)
Ya you can do remotely. Try thiS
you should be th super user
type the follwing commands:
$su -
#<type the root password>
#service ntpd stop
#ntpdate -u <ip of the server with which you want to synchronise>
#ntpdate -u <ip of the server with which you want to synchronise>
#ntpdate -u <ip of the server with which you want to synchronise>
#service ntpd start

Hope this would solve your problem

Thanks mate. It helped alot


All times are GMT -5. The time now is 12:26 AM.