Page 1 of 1

Date and Time not set

Posted: Sun May 03, 2009 5:03 am
by petermac
Hi,

I have noticed that the date and time are not set correctly after the router is powered off and then on again. I have an update frequency of every hour set in System->Time settings but my router has been up for over 8 hours and the date is still 1/1/00. If I click "Save Changes" on that page then the date and time are updated to the correct value. I am running Beta 5.

Re: Date and Time not set

Posted: Sun May 03, 2009 5:25 pm
by Eric
ahhh... I think I know the problem. This is another gotcha from restoring settings from beta4->beta5. Last week, due to a change in the way some of the hotplug scripts were started, I had to add an init script for ntpclient (which updates the time) so that it would be launched on boot. When you restored settings the init script was deactivated since it wasn't active in the original configuration. (Depending on your configuration different programs are initialized on boot). ssh into your router and run

Code: Select all

 /etc/init.d/ntpclient enable
That should fix the problem.

Re: Date and Time not set

Posted: Wed May 06, 2009 10:04 am
by petermac
Problem now fixed. Thanks