Page 1 of 1

Date changes during bootup

Posted: Fri Feb 07, 2014 9:10 am
by paris9
Hello again :)

This is my environment:
# ROS version: 6.9
# RB firmware: 3.10

When I boot the router and look at my log, I see that the clock shows December 31, 2001 for the first 14 seconds or so and then changes to the correct date and time. Is this by design or do I need to configure something? humm, or maybe that is the date/time when the OS was installed?

dec/31/2001 17:00:07 system,error,critical router was rebooted without proper shutdown
dec/31/2001 17:00:15 interface,info ether1 link up (speed 100M, full duplex)
dec/31/2001 17:00:16 interface,info ether2 link up (speed 100M, full duplex)
feb/06 22:35:15 script,info Speed Test executed in 00:00:00.204345 seconds.

Re: Date changes during bootup

Posted: Fri Feb 07, 2014 10:16 am
by nick3dos
It is the time until your routeboard connects to your network and the internet and gets the correct time.

Re: Date changes during bootup

Posted: Fri Feb 07, 2014 10:53 am
by paris9
So the clock defaults to dec/31/2001 until its fully booted?

Re: Date changes during bootup

Posted: Fri Feb 07, 2014 4:38 pm
by SurferTim
So the clock defaults to dec/31/2001 until its fully booted?
Yes, fully booted and can contact the NTP server to get the correct date/time. Mine defaults to jan/01/1970, but I have older firmware so that could be the difference.

Re: Date changes during bootup

Posted: Fri Feb 07, 2014 7:53 pm
by efaden
So the clock defaults to dec/31/2001 until its fully booted?
Yes, fully booted and can contact the NTP server to get the correct date/time. Mine defaults to jan/01/1970, but I have older firmware so that could be the difference.
It is an unfortunate problem, but there isn't a battery or anything on the routerboards to hold the time... so until it can hit an NTP server (e.g. your internet connection is up) thats the time you get.

Re: Date changes during bootup

Posted: Sat Feb 08, 2014 2:37 am
by paris9
Thanks everyone for the responses. It makes sense, no battery.. I can work around that :)