LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-08-2009, 05:59 PM   #1
baracus
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
NTPD that is 1 hr ahead?


I need to setup an NTP server that is 1 hour ahead of the correct time. Can I sync to an NTP server w/ the correct time and then offset it? Or how can I go about this?

Thank you.
 
Old 06-08-2009, 08:02 PM   #2
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
Configure it as though you are in an adjacent time zone?
 
Old 06-11-2009, 11:06 AM   #3
baracus
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by choogendyk View Post
Configure it as though you are in an adjacent time zone?
yes. we have phones that pull their tz offset, which can't be changed. So an NTP server w/ the wrong time is the only option.
 
Old 06-11-2009, 12:16 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,432

Rep: Reputation: 3106Reputation: 3106Reputation: 3106Reputation: 3106Reputation: 3106Reputation: 3106Reputation: 3106Reputation: 3106Reputation: 3106Reputation: 3106Reputation: 3106
NTP uses UTC and any time zone correction is applied locally. A local time server would work but it could not be automatically synced to another time server.

I would not think that phones need to be accurate to the millisecond so my first thoughts would be to create a script to read the time from another time server using the rdate protocol and manually update the time via the date command.

Manually using ntpdate and then applying an offset via the date would work. If you use the server for anything else there would be the possibility of files dates and logs entries to have bad times.
 
  


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
Get ahead robrecc Linux - Certification 3 01-03-2007 10:19 PM
NTPd slackamp Slackware 1 12-26-2006 03:39 PM
ntpd seitan Linux - Software 1 11-29-2004 06:30 AM
ntpd kjelle Linux - Newbie 0 03-05-2002 01:33 PM
ntpd susx Linux - Newbie 3 08-28-2001 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:47 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration