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
  •  


Intel Xeon Gold 6244 SRF8Z 3.60GHz 24.75MB 8-cores LGA3647 CPU server picture

Intel Xeon Gold 6244 SRF8Z 3.60GHz 24.75MB 8-cores LGA3647 CPU server

$1499.00



Apple Macbook Pro 8-Core i9 16

Apple Macbook Pro 8-Core i9 16" 1TB 64GB RAM Space Gray MVVK2LL/A 2019 USED

$898.00



Intel Xeon Platinum 8356H Processors 8-Core CPU 3.90GHz-4.40GHz 190W LGA4189 picture

Intel Xeon Platinum 8356H Processors 8-Core CPU 3.90GHz-4.40GHz 190W LGA4189

$3882.12



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



Dell OptiPlex 7060 Micro 8-Core i7 8700 3.20GHz 16GB  512GB SSD Win 11 Pro picture

Dell OptiPlex 7060 Micro 8-Core i7 8700 3.20GHz 16GB 512GB SSD Win 11 Pro

$214.00



AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture

AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...

$339.95



Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core picture

Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core

$79.99



Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro picture

Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro

$249.00



Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H picture

Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H

$429.99