LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs > arniekat
User Name
Password

Notices


Rate this Entry

Slackware-13.1-Hacks-Changing System Time

Posted 01-01-2011 at 10:39 PM by arniekat

This will adjust your system time and correct it using a Stratum 2 Time Server. The quickest way to change your system time is to do the following:

$ su

$ <Root_Password>

# ntpdate pool.ntp.org

You should see confirmation that it worked. The second way of doing this (in case the first way did not work) is to get the IPV4 address or hostname of a Local (meaning in your time zone) Stratum 2 Time Server from the following website:

http://support.ntp.org/bin/view/Serv...TwoTimeServers

The US Time Servers are listed by Country and State (if applicable)

In this example, let's say I live in California (Pacific Standard Time Zone). Going down the ISO list, I look for a Time Server with OpenAccess for my area. I find one called:

ntp1.sf-bay.org

The command to update the time in one-shot is:

# ntpdate ntp1.sf-bay.org

You can also click on the name "ntp1.sf-bay.org" in the HostName column to see the Server List Entry information. Notice that the IP Address is 192.83.249.28 which can also be used with the ntpdate command like so:

# ntpdate 192.83.249.28
Posted in Uncategorized
Views 1454 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    Thanks. Mine was a few minutes slow. For anybody else in the UK, I used:
    Code:
    ntpdate ntp.markyate.net
    Posted 01-02-2011 at 07:08 AM by brianL brianL is offline
 

  



All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
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