| Fedora This forum is for the discussion of the Fedora Project. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-01-2005, 09:06 AM
|
#1
|
|
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522
Rep:
|
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.
|
|
|
|
08-01-2005, 09:12 AM
|
#2
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
After you get it set right, do 'hwclock --systohc'.
|
|
|
|
08-01-2005, 09:17 AM
|
#3
|
|
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522
Original Poster
Rep:
|
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 
|
|
|
|
08-01-2005, 09:26 AM
|
#4
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
Make sure you do it as root... normal users can't (for good reason) write to the EEPROM on the motherboard.
|
|
|
|
08-01-2005, 01:58 PM
|
#5
|
|
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522
Original Poster
Rep:
|
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)
|
|
|
|
08-01-2005, 02:24 PM
|
#6
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
Hrrm, and /etc/localtime is set to what? (ls -l /etc/localtime)
|
|
|
|
08-01-2005, 07:01 PM
|
#7
|
|
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522
Original Poster
Rep:
|
lrwxrwxrwx 1 root root 33 Aug 1 02:19 /etc/localtime -> /usr/share/zoneinfo/Europe/London
which is correct
|
|
|
|
08-01-2005, 07:27 PM
|
#8
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
Have you tried just plain '/usr/share/zoneinfo/GMT'?
|
|
|
|
08-02-2005, 12:56 PM
|
#9
|
|
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522
Original Poster
Rep:
|
Ah ha!
Cheers mate, that fixed it straight away 
|
|
|
|
08-02-2005, 01:08 PM
|
#10
|
|
Member
Registered: Jul 2005
Distribution: ubuntu5.04, ubuntu5.10, suse9.3, mandrake10.1, mandriva2006(beta), FC1-4, redhat9.0, debian sarge
Posts: 519
Rep:
|
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. 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:18 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|