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 02-09-2004, 05:22 AM   #1
GruiX
Member
 
Registered: Jan 2004
Location: Toulouse (France)
Distribution: Arch Linux
Posts: 46

Rep: Reputation: 15
Hardware and System Clock


When i boot on linux, system clock is set to Hardware clock + 1 hour
It wouldn't be a problem if i only used linux but, when i boot on windows, there's no additional hour in the system clock...
Maybe a wrong zone configuration somewhere.. So, which package i should reconfigure? Which configuration file to edit?

I'm using Debian (sid)
THanks!
 
Old 02-09-2004, 05:41 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Hi GruiX!

I'm not sure what you want to do... do you want to change Linux date/time? If that is the case, the command date is what you are looking for. Here is an example:

http://www.computerhope.com/unix/udate.htm#01

Regards!
 
Old 02-09-2004, 11:12 AM   #3
Oliver Low
LQ Newbie
 
Registered: Jan 2004
Location: Northamptonshire, England
Distribution: SuSE and Debian
Posts: 10

Rep: Reputation: 0
set hardware clock

You'll probably want to set the hardware clock too using the hwclock command.

hwclock --systohc

(usu lives in /sbin)

Not doing this snagged us once!

Oliver Low
 
Old 02-09-2004, 12:47 PM   #4
GruiX
Member
 
Registered: Jan 2004
Location: Toulouse (France)
Distribution: Arch Linux
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks but.. doesn't seem to work
There's still one hour of difference between hard and soft clock (i can check it by running the BIOS setup or booting windows)

The thing i wonder is that, at boot time, i can read twice "Setting System Clock using Hardware clock as reference"
 
Old 02-09-2004, 02:06 PM   #5
Oliver Low
LQ Newbie
 
Registered: Jan 2004
Location: Northamptonshire, England
Distribution: SuSE and Debian
Posts: 10

Rep: Reputation: 0
http://www.linuxsa.org.au/tips/time.html
may be of interest.
Oliver
 
Old 02-09-2004, 02:28 PM   #6
lumpyhed
LQ Newbie
 
Registered: Feb 2003
Posts: 8

Rep: Reputation: 0
Re: set hardware clock

Quote:
Originally posted by Oliver Low
You'll probably want to set the hardware clock too using the hwclock command.

hwclock --systohc

(usu lives in /sbin)

Not doing this snagged us once!

Oliver Low
ROFL yes once the old caldera that runs squid box had to be rebooted, and it gained an hour of time and killed eveyone off the net thinking it was dinnertime all already.

The libriaians were not amused..
 
  


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
System clock correct, hardware clock wrong karlovac Linux - General 5 01-16-2009 08:19 PM
system clock,hardware clock varunbihani Linux - Newbie 2 07-23-2005 10:04 AM
i can't set my hardware clock jogurt666 Linux - General 3 08-05-2004 11:22 AM
system clock vs. CMOS clock dtamajka Linux - General 7 12-11-2003 06:56 PM
Hardware Clock... philfighter General 0 08-18-2001 11:26 PM

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

All times are GMT -5. The time now is 01:15 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