<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I just performed a soft reboot on the machine. Entered the bios and set the 24 hour clock to proper 'correct time' and once again upon, logging in 'time' was displayed differently/inproperly. The concern here is if 'Bios time is off' <--machine clock' . No entity should have or have the right to proper UTC time. <br><br>Thanks.<br><br><div><hr id="stopSpelling">Date: Sat, 3 Jan 2015 01:29:19 -0600<br>From: chapinjeff@gmail.com<br>To: tclug-list@mn-linux.org<br>Subject: Re: [tclug-list] Bios clock and Linux UTC clock refuse to set at the same time.<br><br><div dir="ltr"><br><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Sat, Jan 3, 2015 at 12:55 AM, paul g <span dir="ltr"><<a href="mailto:pj.world@hotmail.com" target="_blank">pj.world@hotmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">Well would you be able to recommend a command besides the following command if you were trying to set a system clock to tie in with a software clock on a 3.13etc kernel under Debian? <br><br>hwclock --hctosys<br><br></div></div></blockquote><div><br></div><div>Why do you want another command? <br></div><div> </div><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;"><div><div dir="ltr">I think the above could have saved me alot of pain because if I were to have to have done = <code>sudo sed -i s/UTC=yes/UTC=no/ /etc/default/rcS</code> <br><br>it would have been stuck in /etc/default/rcS and what about updates that could have locked the machine up at sometime/somepoint.<br></div></div></blockquote><div><br></div><div>I'm not sure why you think that.<br></div><div> </div><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;"><div><div dir="ltr"><br>Give me your opinion if you have time please? <img src="https://a.gfx.ms/Emoji_0263A.png" alt="Emoji"><br></div></div></blockquote><div><br></div><div>I don't understand the question.<br></div><div> </div><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;"><div><div dir="ltr"><br>Thank you,<br><br><div><hr>Date: Sat, 3 Jan 2015 00:47:04 -0600<div><div class="h5"><br>From: <a href="mailto:chapinjeff@gmail.com" target="_blank">chapinjeff@gmail.com</a><br>To: <a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>Subject: Re: [tclug-list] Bios clock and Linux UTC clock refuse to set at the same time.<br><br><div dir="ltr">Yes. If you use the hwclock command you do not need to use sed at all.<br></div><div><br><div>On Sat, Jan 3, 2015 at 12:44 AM, paul g <span dir="ltr"><<a href="mailto:pj.world@hotmail.com" target="_blank">pj.world@hotmail.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">The command: --> <span>sudo hwclock --systohc <--sets the Bios clock to the Software UTC clock without giving any output?<br><br>I did not even need to use 'sed' yet.<br><br>cool.<br><br>Am I right about this?<br><br></span><br><div><hr>Date: Sat, 3 Jan 2015 00:41:26 -0600<div><div><br>From: <a href="mailto:chapinjeff@gmail.com" target="_blank">chapinjeff@gmail.com</a><br>To: <a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>Subject: Re: [tclug-list] Bios clock and Linux UTC clock refuse to set at the same time.<br><br><div dir="ltr">Many commands in Linux will only output errors. This is one of them.<br></div><div><br><div>On Sat, Jan 3, 2015 at 12:39 AM, paul g <span dir="ltr"><<a href="mailto:pj.world@hotmail.com" target="_blank">pj.world@hotmail.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">The error I expected was an output via --> paul@desk/paul-Lenovo ~ $ sudo hwclock --systohc<br><br>once entered into the terminal as following: <br><span><br>paul@desk/paul-Lenovo ~ $ sudo hwclock --systohc<br>paul@desk/paul-Lenovo ~ $ <br><br></span>was the entire output of the command. I guess if you put it that way though it would be like the good working 'apt-key list' command on a 3.13 machine vs. 3.2 <--why did I bring that up again don't ask just don't ask. <br><br>I'm waiting for your help.<br><br>Thank you.<br><br><div><hr>Date: Sat, 3 Jan 2015 00:32:49 -0600<br>From: <a href="mailto:chapinjeff@gmail.com" target="_blank">chapinjeff@gmail.com</a><br>To: <a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><div><div><br>Subject: Re: [tclug-list] Bios clock and Linux UTC clock refuse to set at the same time.<br><br><div dir="ltr"><br><div><br><div>On Sat, Jan 3, 2015 at 12:29 AM, paul g <span dir="ltr"><<a href="mailto:pj.world@hotmail.com" target="_blank">pj.world@hotmail.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">Helps alot! <br><span><br>paul@desk/paul-Lenovo ~ $ sudo hwclock<br></span>Sat 03 Jan 2015 12:22:06 AM CST -0.078578 seconds<br>paul@desk/paul-Lenovo ~ $ <br><span><br>paul@desk/paul-Lenovo ~ $ sudo hwclock<br></span>Sat 03 Jan 2015 12:23:02 AM CST -0.051555 seconds<br><br>paul@desk/paul-Lenovo ~ $ sudo hwclock --systohc<br>paul@desk/paul-Lenovo ~ $ <br><br>obviously ^ fails with the --systohc extension.</div></div></blockquote><div><br></div><div>What do you mean it obviously fails? I see no error.<br></div><div><br> </div><blockquote style="border-left:1px #ccc solid;padding-left:1ex;"><div><div dir="ltr"><--why? <--every time I go into bios and change the time via biox I get an incorrect time on desktop. I am going to be looking into this; i'm about 7 hours off by the way. I thank you for your time and your help.<br><br></div></div></blockquote><div><br></div><div>Yeah, your hwclock is set to UTC and you live in a timezone 7 hours off from UTC. That's to be expected.<br></div><div><br><br> </div><blockquote style="border-left:1px #ccc solid;padding-left:1ex;"><div><div dir="ltr"><img src="https://a.gfx.ms/Emoji_0263A.png" alt="Emoji"> - paul g <br><br><br><div><hr>To: <a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><span><br>Date: Fri, 2 Jan 2015 23:42:31 -0600<br>From: <a href="mailto:kelly.black@penguinpackets.com" target="_blank">kelly.black@penguinpackets.com</a><br></span><span>Subject: Re: [tclug-list] Bios clock and Linux UTC clock refuse to set at the same time.<br><br>
Paul,<br>
To set the system clock to the hardware clock<br>
hwclock --hctosys<br>
Other way around:<br>
hwclock --systohc<br>
You should be able to check the hardware clock by issuing:<br>
hwclock<br>
That will give you an idea of how far off the hardware clock is. If it is skewed far enough, you will probably want to go in to the bios on a reboot and update it. If it does not stick past power outages, you might want to replace the cmos battery on the motherboard.<br>
Hope that helps.<br>
<br>
<blockquote>
<div><span>Fri Jan 02 2015 10:11:42 PM CST</span> <span>from "paul g" <<a href="mailto:pj.world@hotmail.com" target="_blank">pj.world@hotmail.com</a>> </span> <span>Subject: Re: [tclug-list] Bios clock and Linux UTC clock refuse to set at the same time.</span></div>
<div>
<table width="100%">
<tbody>
<tr>
<td>
<div dir="ltr">
<div dir="ltr">The question is 'how can I set the hardware clock to coorolate with the Linux clock'.<br><br>My apologies. <br><br>Happy New year and thank you with the updatedb stuff' meant alot.<br><br>paul g<br><br><br></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</blockquote>
<br></span><span>_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a></span></div> </div></div>
<br>_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div>Jeff Chapin<br>President, CedarLug, retired<br>President, UNIPC, "I'll get around to it"<br>President, UNI Scuba Club<br>Senator, NISG, retired</div>
</div></div>
<br>_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a></div></div></div> </div></div>
<br>_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div>Jeff Chapin<br>President, CedarLug, retired<br>President, UNIPC, "I'll get around to it"<br>President, UNI Scuba Club<br>Senator, NISG, retired</div>
</div>
<br>_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a></div></div></div> </div></div>
<br>_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div>Jeff Chapin<br>President, CedarLug, retired<br>President, UNIPC, "I'll get around to it"<br>President, UNI Scuba Club<br>Senator, NISG, retired</div>
</div>
<br>_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a></div></div></div> </div></div>
<br>_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="ecxgmail_signature">Jeff Chapin<br>President, CedarLug, retired<br>President, UNIPC, "I'll get around to it"<br>President, UNI Scuba Club<br>Senator, NISG, retired</div>
</div></div>
<br>_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
tclug-list@mn-linux.org
http://mailman.mn-linux.org/mailman/listinfo/tclug-list</div> </div></body>
</html>