LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-01-2013, 09:53 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Post TIME STAMP swap's or offsets between OS's


sorry don't read I fixed it -- sorry for wasted HD space on server for this question --

ok I got Slackware 14 and XP dual boot my time keeps swapping to different times when ever I boot into the other OS.

if in XP I set it to the correct time then boot into Linux it is off by about five hours exmp. it's 9:40 AM now set XP to show current time boot to Linux it shows 4:40 AM set correct time in linux by

1) use timeconfig set it to use the PC local time it does not change it to the right BIOS time

date time still shows - Tue Oct 1 04:46:13 CDT 2013 when it is 09:46

if I do date --set 'Tue Oct 1 09:46 CDT 2013' it sets it then when I go to XP the time is changed or offset by approx 5 hours (as I don't want to boot to XP to get the correct offset as i am writing this now in Linux)

after I do the date --set 'Tue Oct 1 09:46 CDT 2013' then do >#date it shows the changes I made then I do a >#hwclock --show it shows Tue 01 Oct 2013 05:00:48 AM CDT -0.376926 seconds like the hardware clock is not setting before I checked the BIOS time and it is set to the current correct time not that the >#hwclock --show command shows what gives, and how do I sync the two to show the correct time ?

is it not suppose to be pulling time date time off of the BIOS? or network somewhere depending on how it is setup? what is this extra time from hwclock?

Last edited by BW-userx; 10-01-2013 at 10:14 AM. Reason: update
 
Old 10-01-2013, 10:54 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Thanks for posting back that you fixed it. You can mark this thread as solved by using the thread tools at the top.
It would also be a good idea to post the fix in case others have the same problem.

BTW the time offset between CDT and UTC is 5 hours. Basically windows expects the hardware clock to be set to local time. linux does not care but you have to setup the configuration files correctly.
 
Old 10-02-2013, 12:39 AM   #3
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by BW-userx View Post
sorry for wasted HD space on server for this question
How cute...

Welcome to Slackware Forums !

Cheers
 
  


Reply



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
need help with time stamp script bufo Linux - General 3 10-25-2009 02:31 AM
time stamp of files ZAMO Linux - General 1 12-17-2008 05:45 AM
Time stamp Kalyani1 Linux - Software 0 11-07-2005 02:58 PM
set up the Time stamp Kalyani1 Linux - Software 3 11-06-2005 02:36 PM
Time stamp in Samba is 11 hours behind time stamp in Linux Linh Linux - General 3 09-04-2003 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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