LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-03-2005, 12:34 PM   #1
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Rep: Reputation: 30
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.
 
Old 04-03-2005, 03:55 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 04-03-2005, 05:55 PM   #3
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Original Poster
Rep: Reputation: 30
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?
 
Old 04-03-2005, 06:13 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928

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

Cheers,
Tink

Last edited by Tinkster; 04-03-2005 at 06:14 PM.
 
Old 04-11-2005, 07:24 PM   #5
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Original Poster
Rep: Reputation: 30
thanks man, that helped alot

cheers
 
Old 09-04-2009, 01:10 AM   #6
aktar_alam
LQ Newbie
 
Registered: Jul 2009
Posts: 14

Rep: Reputation: 0
Smile answer to your

Quote:
Originally Posted by servnov View Post
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
 
Old 12-03-2013, 08:55 PM   #7
xris99
LQ Newbie
 
Registered: Dec 2013
Posts: 2

Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by aktar_alam View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Time server needed to sync clock, CDT harisund Linux - General 2 10-05-2005 11:56 AM
set system time xushi Slackware 3 03-31-2005 09:56 AM
How to syncronize my system time by public time server? hakansun Linux - Networking 1 09-10-2004 06:10 AM
Sync Time with NetWare server tstx1 Linux - Networking 1 09-20-2003 07:55 PM
Updating System time from some Inet time server Steave Linux - General 6 12-21-2001 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration