You are not logged in.
Pages: 1
I installed WinXP, then Arch, configured all, except one thing. I had set my time in Arch to localtime and my timezone to Europe/Bucharest.
Now, something weird has happend. First of all ... Windows XP shows my current local time which is allready GMT + 2 in ... GMT + 2. So basicly now Windows shows GMT + 4!
I changed from localtime to UTC and Windows XP displays the correct time again. But ... on arch, the time is stubborn, remains at the same value. I cannot change it at all. How do I change this problem ... ?
Offline
windows and linux use different methods to set time. windows interferes with the hardware clock if i rem right
one method for linux :
install ntpdate
find a working timeserver near you from http://www.pool.ntp.org/
as root then run
ntpdate your.nearest.timeserver
Offline
I think this problem is an Archer Bug right?
Offline
no, its a Windows bug
Offline
I cant find with pacman ntpdate ... is it not a package?
Eh ... source again!
Oh ... and it is a Arch Bug, it has some weird time-problems at startup!
Last edited by Nefer-Ra (2007-03-19 21:04:10)
Offline
Let's use the rdate pkg as one example method (current repo):
1. Set the hardware clock to either UTC or localtime
2. Set your timezone properly
3. Run '# date MMDDhhmm' to set the current system date/time
4. Type '# hwclock --systohc' (localtime) to set the hardware clock*
* '# hwclock --systohc --utc' if using UTC
Sync the clock on boot (add to daemons in rc.conf):
#!/bin/bash
# /etc/rc.d/rdate
. /etc/rc.conf
. /etc/rc.d/functions
# Set this to the 'rdate' client path
#
RDATE_CMD='/usr/bin/rdate'
case "$1" in
start)
stat_busy "Updating System Time"
if [ -x "$RDATE_CMD" ]; then
"$RDATE_CMD" -s ntp0.cornell.edu
stat_done
else
stat_fail
fi
;;
stop)
/bin/true
;;
*)
echo "usage: $0 {start|stop}"
;;
esac
exit 0
/path/to/Truth
Offline
Let's use the rdate pkg as one example method (current repo):
1. Set the hardware clock to either UTC or localtime
2. Set your timezone properly
3. Run '# date MMDDhhmm' to set the current system date/time
4. Type '# hwclock --systohc' (localtime) to set the hardware clock** '# hwclock --systohc --utc' if using UTC
Sync the clock on boot (add to daemons in rc.conf):
#!/bin/bash # /etc/rc.d/rdate . /etc/rc.conf . /etc/rc.d/functions # Set this to the 'rdate' client path # RDATE_CMD='/usr/bin/rdate' case "$1" in start) stat_busy "Updating System Time" if [ -x "$RDATE_CMD" ]; then "$RDATE_CMD" -s ntp0.cornell.edu stat_done else stat_fail fi ;; stop) /bin/true ;; *) echo "usage: $0 {start|stop}" ;; esac exit 0
Will one of this steps modify my BIOS clock?
Since my BIOS clock is OK, it displays the right time.
Last edited by Nefer-Ra (2007-03-19 23:02:07)
Offline
I cant find with pacman ntpdate ... is it not a package?
Eh ... source again!
its part of the ntp package
http://www.archlinux.org/packages/4164/
Last edited by Kern (2007-03-20 14:47:33)
Offline
Take openntpd (pacman -Sy ....) and just add it in rc.conf.
Use UNIX or die.
Offline
Pages: 1