LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-21-2001, 09:51 AM   #1
philfighter
Member
 
Registered: Apr 2001
Location: South of Atlanta
Distribution: Mandrake 8.1, Suse 7.0
Posts: 207

Rep: Reputation: 30
how do i set my clock in linux?


i am using redhat 7...

how do i set my clock?
 
Old 08-21-2001, 10:33 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
check this link out, its the man pages online with all your clock needs within linux.
http://linux.ctyme.com/man/man0199.htm
 
Old 08-21-2001, 10:48 AM   #3
Jase
Member
 
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113

Rep: Reputation: 15
Quote:
Originally posted by trickykid
check this link out, its the man pages online with all your clock needs within linux.
http://linux.ctyme.com/man/man0199.htm
jeez,....lol does anyone use linuxconf anymore?
 
Old 08-21-2001, 10:50 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by Jase


jeez,....lol does anyone use linuxconf anymore?
nope i don't, my own opinion tells me it sucks.. that is why its not included now in some later distro's. i feel more comfortable editing by hand.
 
Old 08-21-2001, 02:18 PM   #5
philfighter
Member
 
Registered: Apr 2001
Location: South of Atlanta
Distribution: Mandrake 8.1, Suse 7.0
Posts: 207

Original Poster
Rep: Reputation: 30
found /sbin/hwclock

is there a way known to man, woman, child, or animal to use hwclock to keep the time on the linux system and then somehow set the bios (cmos) clock to stop when the system shuts down then upon reboot continues the time from when it was last left off??

for example:
i shutdown the computer at 10:01 pm then when i get up in the morning i boot up and the time still says 10:01 pm or maybe 10:02 pm...

if someone tells me to look at the manpage one more time, i will be pissed as i have scoured the man pages and find nothing

thx

especially the trickykid
 
Old 08-21-2001, 03:32 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
you can use the setclock or timeconfig commands.. not sure of any syntaxes or whatever.. not in from of my machine.. and to tell you the truth.. its been a long time since I even set the clock on my system. kind of ironic.. i always just look at my watch on my hand.. and never worry about the dates on the files.. i'm so organized...
 
Old 08-21-2001, 03:40 PM   #7
philfighter
Member
 
Registered: Apr 2001
Location: South of Atlanta
Distribution: Mandrake 8.1, Suse 7.0
Posts: 207

Original Poster
Rep: Reputation: 30
no problem, i hope...

i know, tk, but i am an obsessor...i know its not a big deal but i feel sometimes i have to have everything working right at all times... hehehe

thx though
 
Old 08-22-2001, 11:25 AM   #8
gizmola
Member
 
Registered: Jun 2001
Location: Los Angeles, CA USA
Distribution: RedHat
Posts: 53

Rep: Reputation: 15
Re: found /sbin/hwclock

Quote:
Originally posted by philfighter
is there a way known to man, woman, child, or animal to use hwclock to keep the time on the linux system and then somehow set the bios (cmos) clock to stop when the system shuts down then upon reboot continues the time from when it was last left off??

for example:
i shutdown the computer at 10:01 pm then when i get up in the morning i boot up and the time still says 10:01 pm or maybe 10:02 pm...

I'm completely at a loss as to why you would want to do this. It's just so completely opposite of the concept of the correct time. Most utilities that btw, haven't been mentioned have to do with making sure the system has the "correct" time. When i say time i of course really mean date/time.

Those utilities use a network connection or some other hardware device to sync the computer's clock with that of some external time source, like an atomic clock.

Anyways, here's another source of clock info, and has a bit info on the external clock synching options as well.

http://www.linuxdoc.org/HOWTO/mini/Clock.html#toc3
 
Old 08-22-2001, 05:54 PM   #9
Jase
Member
 
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113

Rep: Reputation: 15
Quote:
Originally posted by trickykid

nope i don't, my own opinion tells me it sucks.. that is why its not included now in some later distro's. i feel more comfortable editing by hand.
please elaborate
 
Old 08-22-2001, 06:11 PM   #10
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
ummm... i just don't feel it totally works and it actually doesn't. it hasn't been officially okay'd by alot of the open source communities/companies and that is one reason why Redhat by default doesn't include it on its version now even. They only supply it on cd for those who do want it though.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set the clock 357mag Mandriva 4 03-07-2005 03:08 AM
i can't set my hardware clock jogurt666 Linux - General 3 08-05-2004 10:22 AM
My clock won't set! johnnyLongside Linux - General 1 03-19-2004 03:00 AM
Can't set Clock on KDE stonehurstX11 Mandriva 4 03-06-2004 03:39 PM
RTC time on a locally set clock pe2338 Debian 8 09-06-2003 04:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:50 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