LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-01-2005, 09:06 AM   #1
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Changing time


Hello all, i have a bit of a prolem with my Fedora core 4 install, latest kernel.

The time has somehow set itself to BST (seems GMT +1) i want GMT.

i've tried a few things like

date -s=ddMMhhmm

doing it through the gnome config thingie

linking the /etc/localtimezone (or whatever it's called) to /usr/share/zoneinfo/Europe/London

nptdate <working npt server)

most of these seem to change it for the session, but upon rebooting it reverts back to GMT +1, most annoying.

i tried adding the commands to a script to run at startup but i couldn't edit sudoers properly so that no password was needed to run as standard user.

Any help is much appreciated.
 
Old 08-01-2005, 09:12 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
After you get it set right, do 'hwclock --systohc'.
 
Old 08-01-2005, 09:17 AM   #3
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Original Poster
Rep: Reputation: 45
i did man hwclock and it said about that, so i tried it, said couldn't be found so i tried slocate hwclock, was in /sbin (not in path) tried again with no output.

i'll try again ,thanks for your time
 
Old 08-01-2005, 09:26 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Make sure you do it as root... normal users can't (for good reason) write to the EEPROM on the motherboard.
 
Old 08-01-2005, 01:58 PM   #5
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Original Poster
Rep: Reputation: 45
No luck i'm afraid,

ran hwclock --systohc as root after i changed itwith date <todays date> and after i rebooted it went back to GMT +1 (BST)
 
Old 08-01-2005, 02:24 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Hrrm, and /etc/localtime is set to what? (ls -l /etc/localtime)
 
Old 08-01-2005, 07:01 PM   #7
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Original Poster
Rep: Reputation: 45
lrwxrwxrwx 1 root root 33 Aug 1 02:19 /etc/localtime -> /usr/share/zoneinfo/Europe/London

which is correct
 
Old 08-01-2005, 07:27 PM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Have you tried just plain '/usr/share/zoneinfo/GMT'?
 
Old 08-02-2005, 12:56 PM   #9
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Original Poster
Rep: Reputation: 45
Ah ha!

Cheers mate, that fixed it straight away
 
Old 08-02-2005, 01:08 PM   #10
boxerboy
Member
 
Registered: Jul 2005
Distribution: ubuntu5.04, ubuntu5.10, suse9.3, mandrake10.1, mandriva2006(beta), FC1-4, redhat9.0, debian sarge
Posts: 519

Rep: Reputation: 32
on fc4 my clock the other day just reset its self to something like 6 hrs different i finally figured out how to rechange it for some reason my root was asked i typed it in and than it dissappeared and nothing ever came up finally let me change it today.
 
  


Reply



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
Changing System Time rjshirts Linux - Software 4 01-24-2005 03:48 PM
Changing the time on Slackware 9.1 bufu Linux - Laptop and Netbook 5 12-24-2003 12:54 AM
Time keeps changing? threedguy Linux - Software 5 10-08-2003 09:05 PM
time keeps changing mcd Linux - Newbie 2 08-22-2003 08:12 AM
Time keeps changing eternity1700 Linux - General 2 02-17-2003 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:21 AM.

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