Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #11868 > unrolled thread
| Started by | "john@wexfordpress.com" <john@wexfordpress.com> |
|---|---|
| First post | 2014-09-01 08:23 -0700 |
| Last post | 2014-09-03 20:27 +0000 |
| Articles | 12 — 11 participants |
Back to article view | Back to comp.os.linux.misc
set date "john@wexfordpress.com" <john@wexfordpress.com> - 2014-09-01 08:23 -0700
Re: set date "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2014-09-01 11:35 -0400
Re: set date Mladen Gogala <gogala.mladen@gmail.com> - 2014-09-01 17:37 +0000
Re: set date Richard <rkm@nowhere.com> - 2014-09-01 19:31 -0400
Re: set date Andreas Kohlbach <sep14.5.ankman@spamgourmet.com> - 2014-09-02 16:32 -0400
Re: set date Chick Tower <c.tower@deadspam.com> - 2014-09-02 03:33 +0000
Re: set date Rich <rich@example.invalid> - 2014-09-02 08:08 +0000
Re: set date "john@wexfordpress.com" <john@wexfordpress.com> - 2014-09-03 14:06 -0700
Re: set date Balwinder S Dheeman <bdheeman.SANSPAM@outlook.com> - 2014-09-02 17:48 +0530
Re: set date Joe Beanfish <joebeanfish@nospam.duh> - 2014-09-02 13:40 +0000
Re: set date James Moe <jimoeDESPAM@sohnen-moe.com> - 2014-09-02 10:38 -0700
Re: set date Jerry Peters <jerry@example.invalid> - 2014-09-03 20:27 +0000
| From | "john@wexfordpress.com" <john@wexfordpress.com> |
|---|---|
| Date | 2014-09-01 08:23 -0700 |
| Subject | set date |
| Message-ID | <2bf02f78-4ac1-4e44-886d-0aba2a3bfd6b@googlegroups.com> |
I set the date to correct local time but every time I reboot it goes back to GMT. How do I make local time permanent? John C.
[toc] | [next] | [standalone]
| From | "David W. Hodgins" <dwhodgins@nomail.afraid.org> |
|---|---|
| Date | 2014-09-01 11:35 -0400 |
| Message-ID | <op.xlilk9yra3w0dxdave@hodgins.homeip.net> |
| In reply to | #11868 |
On Mon, 01 Sep 2014 11:23:34 -0400, john@wexfordpress.com <john@wexfordpress.com> wrote: > I set the date to correct local time but every time I reboot it goes back to GMT. > How do I make local time permanent? Which configuration file has to be changed may vary depending on what distribution/version is being used. On my Mageia 4 systems, it's controlled by /etc/sysconfig/clock, with the line UTC=false for a system where the bios is set to local time. Note that the bios setup may have to be used to reset the time first. Regards, Dave Hodgins -- Change nomail.afraid.org to ody.ca to reply by email. (nomail.afraid.org has been set up specifically for use in usenet. Feel free to use it yourself.)
[toc] | [prev] | [next] | [standalone]
| From | Mladen Gogala <gogala.mladen@gmail.com> |
|---|---|
| Date | 2014-09-01 17:37 +0000 |
| Message-ID | <pan.2014.09.01.17.37.45@gmail.com> |
| In reply to | #11868 |
On Mon, 01 Sep 2014 08:23:34 -0700, john@wexfordpress.com wrote: > I set the date to correct local time but every time I reboot it goes > back to GMT. > How do I make local time permanent? > John C. Usually, you link the appropriate time zone from /usr/share/zoneinfo to /etc/localtime. On my system it is defined like this: mgogala@medo ~]$ ls -l /etc/localtime lrwxrwxrwx. 1 root root 38 Jan 2 2014 /etc/localtime -> ../usr/share/ zoneinfo/America/New_York [mgogala@medo ~]$ You should do the same since Wall Street rules the world and it is, after all, in New York City. -- Mladen Gogala The Oracle Whisperer http://mgogala.byethost5.com
[toc] | [prev] | [next] | [standalone]
| From | Richard <rkm@nowhere.com> |
|---|---|
| Date | 2014-09-01 19:31 -0400 |
| Message-ID | <1tudnfHtQKBbnJjJnZ2dnUU7-N2dnZ2d@giganews.com> |
| In reply to | #11868 |
On 09/01/2014 11:23 AM, john@wexfordpress.com wrote: > I set the date to correct local time but every time I reboot it goes back to GMT. > How do I make local time permanent? > John C. > I don't know how you are setting the time, but if you are using the hwclock program, you can specify the --localtime option when you run hwclock. Richard
[toc] | [prev] | [next] | [standalone]
| From | Andreas Kohlbach <sep14.5.ankman@spamgourmet.com> |
|---|---|
| Date | 2014-09-02 16:32 -0400 |
| Message-ID | <874mwphigj.fsf@usenet.ankman.de> |
| In reply to | #11872 |
Richard wrote on 01. September 2014: > > On 09/01/2014 11:23 AM, john@wexfordpress.com wrote: >> I set the date to correct local time but every time I reboot it goes back to GMT. >> How do I make local time permanent? >> John C. > > I don't know how you are setting the time, but if you are > using the hwclock program, you can specify the > --localtime option when you run hwclock. He might even have a look what the RTC is actually set to. As root try /sbin/hwclock -r after boot (before setting it manually) to see. It always shows localtime. -- Andreas I wish my grass was emo. Then it would cut itself.
[toc] | [prev] | [next] | [standalone]
| From | Chick Tower <c.tower@deadspam.com> |
|---|---|
| Date | 2014-09-02 03:33 +0000 |
| Message-ID | <lu3dqh$hd5$1@speranza.aioe.org> |
| In reply to | #11868 |
On 2014-09-01, john@wexfordpress.com <john@wexfordpress.com> wrote:
> I set the date to correct local time but every time I reboot it goes
> back to GMT. How do I make local time permanent?
> John C.
Are you asking because your PC dual-boots with Windows, John? If so, I
found a registry hack for Windows 7 that will allow it to adjust GMT for
the correct local time, just like Linux can do. I don't recall the hack
off-hand, and that machine is 500 miles away for the next week, but I
found it by searching, probably for Windows & UTC.
If you want to keep the PC on local time, and are running your usual
Slackware, you should be able to run pkgtool (as root) and select the
setup options from the menus that pertain to your timezone and setting
the clock. I'm sure there's a more direct method, but I don't know it,
alhtough examining the pkgtool script should show you.
--
Chick Tower
For e-mail: colm DOT sent DOT towerboy AT xoxy DOT net
[toc] | [prev] | [next] | [standalone]
| From | Rich <rich@example.invalid> |
|---|---|
| Date | 2014-09-02 08:08 +0000 |
| Message-ID | <lu3ttj$r7d$2@dont-email.me> |
| In reply to | #11873 |
Chick Tower <c.tower@deadspam.com> wrote: > If you want to keep the PC on local time, and are running your usual > Slackware, you should be able to run pkgtool (as root) and select the > setup options from the menus that pertain to your timezone and setting > the clock. I'm sure there's a more direct method, but I don't know it, > alhtough examining the pkgtool script should show you. The direct way is to copy the appropriate file from /usr/share/zoneinfo/*/* to /etc/localtime From a terminal, do: ls -l /etc/localtime* and you'll find a file, and a symlink. The symlink will tell you where the file was copied from.
[toc] | [prev] | [next] | [standalone]
| From | "john@wexfordpress.com" <john@wexfordpress.com> |
|---|---|
| Date | 2014-09-03 14:06 -0700 |
| Message-ID | <abfa1797-cb23-41b9-9d76-64ff2b7cb76d@googlegroups.com> |
| In reply to | #11875 |
On Tuesday, September 2, 2014 4:08:19 AM UTC-4, Rich wrote: > Chick Tower <c.tower@deadspam.com> wrote: > > > If you want to keep the PC on local time, and are running your usual > > > Slackware, you should be able to run pkgtool (as root) and select the > > > setup options from the menus that pertain to your timezone and setting > > > the clock. I'm sure there's a more direct method, but I don't know it, > > > alhtough examining the pkgtool script should show you. > > > > The direct way is to copy the appropriate file from > > /usr/share/zoneinfo/*/* to /etc/localtime > > > > From a terminal, do: > > > > ls -l /etc/localtime* > > > > and you'll find a file, and a symlink. The symlink will tell you where > > the file was copied from. It says New York etc. which is what I wanted in the first place. John C.
[toc] | [prev] | [next] | [standalone]
| From | Balwinder S Dheeman <bdheeman.SANSPAM@outlook.com> |
|---|---|
| Date | 2014-09-02 17:48 +0530 |
| Message-ID | <lu4cj3$qt2$1@speranza.aioe.org> |
| In reply to | #11873 |
On 09/02/2014 09:03 AM, Chick Tower wrote: > On 2014-09-01, john@wexfordpress.com <john@wexfordpress.com> wrote: >> I set the date to correct local time but every time I reboot it goes >> back to GMT. How do I make local time permanent? >> John C. > > Are you asking because your PC dual-boots with Windows, John? If so, I > found a registry hack for Windows 7 that will allow it to adjust GMT for > the correct local time, just like Linux can do. I don't recall the hack > off-hand, and that machine is 500 miles away for the next week, but I > found it by searching, probably for Windows & UTC. > > If you want to keep the PC on local time, and are running your usual > Slackware, you should be able to run pkgtool (as root) and select the > setup options from the menus that pertain to your timezone and setting > the clock. I'm sure there's a more direct method, but I don't know it, > alhtough examining the pkgtool script should show you. See http://weblogs.asp.net/dfindley/Set-hardware-clock-to-UTC-on-Windows-_2800_or-how-to-make-the-clock-work-on-a-Mac-Book-Pro_2900_ -- Balwinder S "bdheeman" Dheeman (http://bdheeman.BlogSpot.in/) "Working together, works! The proof is GNU/Linux and F/LOSS Projects; Do you too voluntarily work on or contribute to making any difference?"
[toc] | [prev] | [next] | [standalone]
| From | Joe Beanfish <joebeanfish@nospam.duh> |
|---|---|
| Date | 2014-09-02 13:40 +0000 |
| Message-ID | <lu4hda$3t4$1@dont-email.me> |
| In reply to | #11868 |
On Mon, 01 Sep 2014 08:23:34 -0700, john@wexfordpress.com wrote: > I set the date to correct local time but every time I reboot it goes > back to GMT. > How do I make local time permanent? > John C. clock -w
[toc] | [prev] | [next] | [standalone]
| From | James Moe <jimoeDESPAM@sohnen-moe.com> |
|---|---|
| Date | 2014-09-02 10:38 -0700 |
| Message-ID | <eq2dnVFWHrzhnZvJnZ2dnUU7-fWdnZ2d@giganews.com> |
| In reply to | #11868 |
On 09/01/2014 08:23 AM, john@wexfordpress.com wrote: > I set the date to correct local time but every time I reboot it goes back to GMT. > How do I make local time permanent? > Enable NTP. -- James Moe jmm-list at sohnen-moe dot com
[toc] | [prev] | [next] | [standalone]
| From | Jerry Peters <jerry@example.invalid> |
|---|---|
| Date | 2014-09-03 20:27 +0000 |
| Message-ID | <lu7tit$ieu$1@dont-email.me> |
| In reply to | #11868 |
john@wexfordpress.com <john@wexfordpress.com> wrote: > I set the date to correct local time but every time I reboot it goes back to GMT. > How do I make local time permanent? > John C. On Slackware or a derivative edit /etc/adjtime: -4.189405 1402261132 0.000000 1402261132 UTC My computers only use Linux so I keep the rtc in UTC. IIRC, if the rtc is in localtime, the DST/ST transitions are not automatic. Then again if you boot windows it will reset the rtc after asking you.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.linux.misc
csiph-web