Find the answer to your Linux question:
Results 1 to 10 of 10
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2015
    Location
    Yorkshire, England
    Posts
    136

    changing the time


    i'm running linux mint 17. the clocks have changed because of day light saving time. My clock used to be 1 hour fast that was ok i could live with it because i wrongly thought the clock would show the correct time for this 6 months.

    My clock is now 2 hours fast what. if i use the gui it is just resetting the clock to the incorrect time every time i try to alter it.

    I've been able to force the issue with
    Code:
    sudo date --set ...
    anyone know what the issue is with gui?

  2. #2
    Linux Guru Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    1,568
    Is your timezone correct?

    Code:
    date

  3. #3
    Linux Newbie
    Join Date
    Apr 2015
    Location
    Yorkshire, England
    Posts
    136
    yes
    Code:
    date
    returms GMT as part of it's string and in the gui it's set to london, europe

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    1,568
    I have no GUI applets of any kind in my computers, so I can only guess your GUI is maybe running ntpdate and getting it wrong. Is there a configuration file for this GUI applet?

  6. #5
    Linux Newbie
    Join Date
    Apr 2015
    Location
    Yorkshire, England
    Posts
    136
    this is hyper-wierd 2 days ago i reset the time using the date command. The time has now returned to two hours fast, argh..

  7. #6
    is the machine connected to the internet?
    it should be getting its time from there.

    are you dual booting windows?
    windows messes with your mobo's clock.

    and please post actual command output instead of paraphrasing it.
    How to ask smart questions | Don't be a Help Vampire
    You can post a link by removing "http://www." from it!

  8. #7
    Linux Newbie
    Join Date
    Apr 2015
    Location
    Yorkshire, England
    Posts
    136
    at 08:56 gmt
    Code:
    date
    yeilds
    Code:
    Fri Dec 23 10:56:34 GMT 2016
    yes it isdual boot, but i only been on linux only runtime for ages.

    yes the laptop does get internet access, i have a small data limit, so usually it's just stand alone.

  9. #8
    Quote Originally Posted by rhubarbdog View Post
    at 08:56 gmt
    Code:
    date
    yeilds
    Code:
    Fri Dec 23 10:56:34 GMT 2016
    yes it isdual boot, but i only been on linux only runtime for ages.

    yes the laptop does get internet access, i have a small data limit, so usually it's just stand alone.
    Try to see if the NTP device is running on the computer:

    Code:
     $ sudo service ntp status
    If it is not, then you might need to install it. If it is you may be referring to a corrupted server. I would follow the instructions on unixmen for installing / editing NTP. I can't post the link directly.


    Sent from my SM-N920C using Tapatalk

  10. #9
    Linux Newbie
    Join Date
    Apr 2015
    Location
    Yorkshire, England
    Posts
    136
    Code:
    sudo service ntp status
    yeilds
    Code:
    ntp: unrecognized service

  11. #10
    Quote Originally Posted by rhubarbdog View Post
    Code:
    sudo service ntp status
    yeilds
    Code:
    ntp: unrecognized service
    You should to install the NTP service. Otherwise your bios clock will always be the time.

    Code:
     $ sudo apt-get update
    $ sudo apt-get install ntp
    It will probably be okay to run it as default. Try this:

    Code:
    $ date ; sudo service ntp stop ; sudo ntpdate -s time.nist.gov ; sudo service ntp start ; date
    Sent from my SM-N920C using Tapatalk

Posting Permissions

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