Actually its pretty simple, everyone can use ntp even if their computer isnt online 24/7...
Start by writing "pacman -S ntp" to get all ntp utils and such. Then edit /etc/ntp.conf and add a line saying: server <domainname or ip to ntp server> prefer Then edit /etc/rc.conf and add "ntpd" in DAEMONS=(). If you dont want to do it that way i can suggest an ugly version. crontab -e as root, then write: */5 * * * * ntpdate <ntp-server ip or domainname> &> /dev/null The first version is better because you can add more then 1 server (just dont put perfer on the extra ones) and they will set a date/time that most of the servers added replied... and its safer incase one ntp goes down. / Fredrik Eriksson > Le Friday 23 February 2007 07:02:25 arnuld, vous avez écrit : >> on every boot, clock changes automatically > by how much from what you set previously ? > > to set your clock, you must use something like that for 2007-02-23 at > 07:02 > date 02230702 > look at the man page > >> i guess, software clock sets up itself according to >> hardware clock, rather than the opposite. > > no. it is the hardware clock that is set to software clock at shudown > time. > > see /etc/rc.shutdown: line 65: > /sbin/hwclock --directisa --localtime --systohc > > you could use ntpdate to set your clock, once a day no more > > > > _______________________________________________ > arch mailing list > [email protected] > http://www.archlinux.org/mailman/listinfo/arch > _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
