r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Linux] group for linux REBOL users

btiffin
5-Apr-2007
[1210]
What does hwclock --show say
Graham
5-Apr-2007
[1211x2]
Ubuntu says 6:46 EDT April 6, but i have not round to setting this 
up yet.
Gee, all my images have different times!
btiffin
5-Apr-2007
[1213x2]
How about ntpdate.  Does it correct itself?
Fun stuff isn't it.  :)
Graham
5-Apr-2007
[1215x3]
hwclock --show says 10:23 NZST
it's lost 20 mins since I set the time!
ntpdate says socket is being used
btiffin
5-Apr-2007
[1218]
Debian comes with ntpdate-debian that uses ntpdate 0.debian.pool.ntp.org 
 (for the (first) server arg)
Graham
5-Apr-2007
[1219]
How does one set the time from bash ?
btiffin
5-Apr-2007
[1220]
date
Graham
5-Apr-2007
[1221]
I used tzselect to reset the timezone, but the time is still wrong.
btiffin
5-Apr-2007
[1222]
After the tzselect was there an ntpdate or hwclock --hctosys executed?
Graham
5-Apr-2007
[1223x2]
no
hwclock --hctosys is not setting the time correctly now
btiffin
5-Apr-2007
[1225x2]
Off by how many hours?
hwclock --utc  (if hardware is utc) or hwclock --localtime  can effect 
things.
Graham
5-Apr-2007
[1227x2]
20 mins
I used date to set the time correctly .. now going to wait 20 mins 
and see what happens
btiffin
5-Apr-2007
[1229x2]
Write a little script like   forever [print now/exact wait 00:05:00] 
 and log it or just monitor
/exact = /precise sorry.
Graham
5-Apr-2007
[1231]
already lost 2 mins :(
btiffin
5-Apr-2007
[1232x2]
Battery failing...?  Something not right in the system clock ticker?
Or is it just the fedora image?
Graham
5-Apr-2007
[1234x3]
must be a vmware bug
because the actual hardware clock is correct.
and it's just fedora core 6 image that is doing this.
btiffin
5-Apr-2007
[1237]
Something might be eating interrupts...you know to ...help
Graham
5-Apr-2007
[1238x3]
well, the only thing I have running is uniserve, and the imap server
cheyenne
perhaps I should run a script that fixes the date every minute!
btiffin
5-Apr-2007
[1241]
Heehee...if you can't beat 'em
Graham
5-Apr-2007
[1242]
now where is the ntp protocol ?
btiffin
5-Apr-2007
[1243x2]
A google of   fedora time drift vmware  shows a lot of info
Debian I just executed  apt-get install ntp  and then forgot about 
it.
Graham
5-Apr-2007
[1245x2]
crontab ntpdate !
looks like this is a common problem
btiffin
5-Apr-2007
[1247]
Yep.
Graham
5-Apr-2007
[1248x2]
http://kbase.redhat.com/faq/FAQ_43_9259.shtm
seems it may be a config issue
btiffin
5-Apr-2007
[1250]
Good luck.
Graham
5-Apr-2007
[1251x3]
thanks!
Looks like I have to install gcc ...
crap .. now it can't resolve dependencies to install gcc.
btiffin
5-Apr-2007
[1254]
Does Fedora use rpm?
Graham
5-Apr-2007
[1255]
use ... I think I need to click on the fc6 specific gcc package
btiffin
5-Apr-2007
[1256]
To get all the dependencies (I don't use rpm - mistakes maybe)

$ rpm -q --qf \ 

 "[%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n]" gcc
Graham
5-Apr-2007
[1257]
Now the installer wants the c header files for my kernel.  How do 
ordinary guys cope with this ??
btiffin
5-Apr-2007
[1258]
With lots of coffee
Graham
5-Apr-2007
[1259]
Windows certainly does have advantages