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
  •  


Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch picture

Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch

$109.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$69.99



Western Digital  RED NASware 3.0 WD40EFRX 4 TB SATA III 3.5 in NAS HARD DRIVE picture

Western Digital RED NASware 3.0 WD40EFRX 4 TB SATA III 3.5 in NAS HARD DRIVE

$99.99



WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F picture

WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F

$25.00



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$82.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.42



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.85



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$209.99



WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN picture

WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN

$84.99