LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 11-02-2015, 01:59 PM   #1
GameCodingNinja
Member
 
Registered: Jul 2014
Posts: 100

Rep: Reputation: Disabled
my LFS build is not responding to "Daylight Savings Time"


I installed ntp so that I could have the system clock reset on shutdown and login. I use Xfce for my desktop and the default clock panel item displays the time and seems to be ignoring "Daylight Savings Time" so it's an hour ahead.

Not sure how to fix this.
 
Old 11-02-2015, 02:23 PM   #2
GameCodingNinja
Member
 
Registered: Jul 2014
Posts: 100

Original Poster
Rep: Reputation: Disabled
I realize now it's not displaying the correct time. I live in the central timezone and if I use the linux command "date" it displays...

Mon Nov 2 09:18:42 CST 2015

...but the real time is 14:18:42 or 2:18 PM. It says 9:18 AM.
 
Old 11-02-2015, 04:52 PM   #3
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,947

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
check you are using the cprrect ntp server, also I found that if the time was too far out the clock wasn't set correctly, so manually set it first and make sure it's being updated [roperly, away from my machine at the moment so cant tellmyou my settings
 
Old 11-02-2015, 05:34 PM   #4
GameCodingNinja
Member
 
Registered: Jul 2014
Posts: 100

Original Poster
Rep: Reputation: Disabled
I went into /etc/ntp.conf and commented out all the ntp servers except for North America. Not sure if that will help because I'm not sure how to tell if it's using the correct ntp server.

I changed it to the correct time through the date command and then ran ntpd -q. It produced some output and it seems to be working because the correct time survived a restart. I'm just trying stuff because I don't know what I'm doing.
 
Old 11-02-2015, 06:07 PM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,947

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by GameCodingNinja View Post
... I'm just trying stuff because I don't know what I'm doing.
Join the club
 
Old 11-02-2015, 11:55 PM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,460
Blog Entries: 15

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
You should try tzselect first.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Daylight Savings Time fatalerror0x00 Slackware 28 11-12-2012 09:20 AM
Daylight Savings time depdiver Linux - General 4 03-13-2006 01:30 PM
Daylight savings time depdiver Red Hat 2 02-21-2006 10:00 AM
Daylight savings time Jeebizz Slackware 13 11-21-2005 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration