Results 1 to 5 of 5

Thread: Setting the clock

  1. #1
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528

    Setting the clock

    I received the following as a Private Message, and it seems like a useful general question for the forum. It's posted here without attribution, as I don't have the sender's permission.
    I think i accidentally set the clock incorrectly... now i don't know how to change it back >.<
    It's easily done, with root permissions. First set the System Time (from the lxterm):
    Code:
    sudo time-admin
    You'll probably want to set the TimeZone as well as the time where you live. The sudo means that the system admin ("root") is authorizing this, rather than a less-privileged user ("knoppix"). Second, set the Hardware Clock to the System Clock time:
    Code:
    sudo hwclock -w 
    or 
    sudo hwclock --systohc
    This will cause the system to keep the clock setting from the current session in future "boots."

    Cheers!
    Krishna
    Last edited by krishna.murphy; 07-25-2010 at 03:03 PM. Reason: Clarity

  2. #2
    Junior Member
    Join Date
    Jul 2010
    Posts
    22
    Thanks
    I will try this right away

  3. #3
    Junior Member
    Join Date
    Jul 2010
    Posts
    22
    hmm... it says... time-admin: command not found... hwclock works... tho... still trying to set to the correct time zone...

  4. #4
    Junior Member
    Join Date
    Jul 2010
    Posts
    22
    $ ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime

    this worked !!!! haha... didn't think of using a command line to fix it... thought there would be some kind of UI for that >.<

  5. #5
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    private messages don't reach me as I don't read them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS picture

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS

$189.98



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS

$144.98



DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11 picture

DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11

$149.00



Intel Xeon E5-2690v2 SR1A5 10-Core 3.00GHz 25MB 130W LGA2011 CPU *km picture

Intel Xeon E5-2690v2 SR1A5 10-Core 3.00GHz 25MB 130W LGA2011 CPU *km

$11.99



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Intel Xeon E5-2667V4 8-Core 3.20GHz SR2P5 CPU Processor *km picture

Intel Xeon E5-2667V4 8-Core 3.20GHz SR2P5 CPU Processor *km

$17.99



Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor picture

Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor

$199.99



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core picture

Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core

$36.00