Paul Hoepfner-Homme napisał(a):
>Hi,
>
>It seems that most times I reboot the hx4700, the date and time get
>reset. Most of the time when I log in, GPE prompts me to enter the
>correct date and time, which by default is set to Dec. 31 of some year
>past. I don't recall this happening in the past every time I log in or
>reboot, but lately it seems to have been prompting me every time. It
>does remember the time zone settings, however.
>
>Has anyone else seen this behaviour or know how to fix it?
>
>
Hi,
You should create file /etc/timestamp (touch /etc/timestamp). While
halting system current date will be written to this file and during
startup date from this file will be set up
You can also synchronize your machine from ntpserver after your network
is up. In /etc/network/interface, after your internet interface
configuration, add line:
post-up /etc/network/if-up.d/synctime
And write simple script:
cat > /etc/network/if-up.d/synctime
#!/bin/sh
/etc/init.d/ntpdate stop
/etc/init.d/ntpdate start
Ctrl+D
chmod +x /etc/network/if-up.d/synctime
To synchronize from other then default ntp server:
cat > /etc/default/ntpdate
NTPSERVERS="ntp.task.gda.pl"
Ctrl+D
Greetings,
Michal Wrobel
Received on Thu Jan 12 2006 - 08:38:48 EST
This archive was generated by hypermail 2.2.0 : Thu Jan 12 2006 - 08:38:52 EST