Date and Time not set

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
petermac
Posts: 11
Joined: Thu Apr 23, 2009 10:40 am

Date and Time not set

Post 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.

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Date and Time not set

Post 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.

petermac
Posts: 11
Joined: Thu Apr 23, 2009 10:40 am

Re: Date and Time not set

Post by petermac »

Problem now fixed. Thanks

Post Reply