date resets when power is cut
Hi there,
I am running Voyage 0.3 debian on a system that is powered over ethernet and am having trouble storing the date permanantly. at the moment I am using the code
date -s 05/09/2007
date -s 10:06:06
if I then 'reboot' the system with or without an internet connection its fine but if I cut power to the unit and then start the box up without an internet connection it loses the date and resets back to 00:00:00 01/01/2000.
I need the unit to remember the time whether the power is cut or whether there is an internet connection or not. How can I go about doiung this?
All help is much appreciated, Thank in advance.
Joe
|