LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-05-2005, 05:12 AM   #1
harisund
Member
 
Registered: Sep 2005
Location: Baton Rouge
Distribution: Ubuntu 5.10
Posts: 74

Rep: Reputation: 15
Time server needed to sync clock, CDT


Hello

I currently have fluxbox (and nothing else) on my system.

It however shows the wrong time.

I know there are probably many threads that talk about cpu overclocking and stuff like that, but my problem is not that. My problem is simply that the time is not set to CDT and instead to some other zone.
Basically there is a cron job that automatically syncs the clock with UTC time. That is annoying, since when rebooting there is a script that synces hardware clock with system time and my CMOS time too gets screwed up after that. What I then have to do is boot into Windows, synchronize it for CDT and so on.

Even if I try to run ntpdate to what server should I sync my clock? I want it to sync with a CDT time and not the UTC time.

Thanks a lot

Regards
Hari

Last edited by harisund; 10-05-2005 at 05:24 AM.
 
Old 10-05-2005, 09:32 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
The 'normal' thing with linux (and unix in general) is to have the system clock set to UTC. My understanding is that all NTP servers are set to UTC. That's why it' called Universal Coordinated Time ( in French anyway).

Then you set your local timezone as part of configuring your machine, and UTC is converted to correct local time for time/date display. For Debian based systems there is a good description of what happens at:

http://www.debian.org/doc/manuals/sy...dmin-time.html

I believe you can also set the system clock to local time, but I don't know if things like NTP and auto daylight-saving still work.

Later -- there is a line 'UTC' in file /etc/adjtime on my Debian setup which I think determines that the system is based on UTC. There should be some sort of configuration tool to safely change the setting but I don't know what it is.

Last edited by maroonbaboon; 10-05-2005 at 09:56 AM.
 
Old 10-05-2005, 10:56 AM   #3
harisund
Member
 
Registered: Sep 2005
Location: Baton Rouge
Distribution: Ubuntu 5.10
Posts: 74

Original Poster
Rep: Reputation: 15
Thank you very much 1

I guess that was just the way I needed.. I have gone over the entire Debian Reference manual, but not the System Administrator's Guide. I will RTFM that immediately !!

Thanks again

Regards
Hari
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set and sync system time with time server?? servnov Linux - Newbie 6 12-03-2013 07:55 PM
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 09:58 PM
Setting the system clock to a time server? orange400 Linux - General 4 06-13-2005 01:59 PM
Setting the computer clock according to a time server on the internet didi86 Linux - Software 11 10-05-2004 08:52 AM
Sync Time with NetWare server tstx1 Linux - Networking 1 09-20-2003 06:55 PM


All times are GMT -5. The time now is 08:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration