Anybody's time fall back an hour

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
Bird333
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 809

PostPosted: Sun Nov 06, 2011 13:31    Post subject: Anybody's time fall back an hour Reply with quote
Mine didn't. I am just wondering if it is just me.
Sponsor
buddee
DD-WRT Guru


Joined: 06 Feb 2010
Posts: 7401
Location: Little Rock

PostPosted: Sun Nov 06, 2011 13:42    Post subject: Reply with quote
I am going to assume you mean on the router and not everything in the house?

My unit went back an hr just fine..

_________________
Wireless N Config | Linking Routers | DD-WRT Wiki | DD-WRT Builds | Peacock - Broadcom FAQ

Having problems with port forwarding? Check out Port Forward Troubleshooting for more info.
Bird333
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 809

PostPosted: Sun Nov 06, 2011 13:56    Post subject: Reply with quote
Yes on the router. Smile What firmware are you running?
buddee
DD-WRT Guru


Joined: 06 Feb 2010
Posts: 7401
Location: Little Rock

PostPosted: Sun Nov 06, 2011 14:03    Post subject: Reply with quote
16785
_________________
Wireless N Config | Linking Routers | DD-WRT Wiki | DD-WRT Builds | Peacock - Broadcom FAQ

Having problems with port forwarding? Check out Port Forward Troubleshooting for more info.
Bird333
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 809

PostPosted: Sun Nov 06, 2011 14:07    Post subject: Reply with quote
Hmm. I am running Eko's big 17084.
muerte33
DD-WRT Novice


Joined: 28 Nov 2007
Posts: 37

PostPosted: Sun Nov 06, 2011 14:21    Post subject: Reply with quote
I had to reboot mine to get the time fixed:
Here is my build:
DD-WRT v24-sp2 (05/08/11) big - build 16994
Asus RT-N16 router

Settings NTP Client Enabled
Time Zone UTC -6:00
Summer Time DST 2nd Sun Mar, 1st Sun Nov
Server us.pool.ntp.org

What did I do wrong?
I live in the southeast US in the central time zone.

http://www.dd-wrt.com/wiki/index.php/Network_Time_Protocol

Says the fix is to run:
ntpclient pool.ntp.org
stopservice process_monitor
startservice process_monitor

Guess I need to put an entry in my calendar to reboot my router in March.
Bird333
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 809

PostPosted: Sun Nov 06, 2011 15:35    Post subject: Reply with quote
I use the same settings as you. I wonder if using a different server would matter? I don't think it should though.
Murrkf
DD-WRT Guru


Joined: 22 Sep 2008
Posts: 12675

PostPosted: Sun Nov 06, 2011 15:38    Post subject: Reply with quote
Disable NTP and enable it again.
_________________
SIG:
I'm trying to teach you to fish, not give you a fish. If you just want a fish, wait for a fisherman who hands them out. I'm more of a fishing instructor.
LOM: "If you show that you have not bothered to read the forum announcements or to follow the advices in them then the level of help available for you will drop substantially, also known as Murrkf's law.."
kt_haddock
DD-WRT Guru


Joined: 25 Dec 2009
Posts: 710

PostPosted: Sun Nov 06, 2011 17:11    Post subject: Reply with quote
Or you can do a soft NTP update:

Code:
ntpclient pool.ntp.org
stopservice process_monitor
startservice process_monitor


Give a sec or 2 between each command.
No reboot needed. Uptime will not be lost.

_________________
[I prefer answere in whole sentence]
SHoTTa35
DD-WRT User


Joined: 09 May 2011
Posts: 243

PostPosted: Sun Nov 06, 2011 22:54    Post subject: Reply with quote
How often does it update from the NTP server? Once a week or so? Mine didn't change either (17806 Mega) but i figured once it reached out to the NTP it would update to the correct time. We shall see Very Happy
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Sun Nov 06, 2011 23:08    Post subject: Reply with quote
SHoTTa35 wrote:
How often does it update from the NTP server? Once a week or so? Mine didn't change either (17806 Mega) but i figured once it reached out to the NTP it would update to the correct time. We shall see Very Happy

only on boot.. after that, never again.

_________________
[Moderator Deleted] Shocked
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Sun Nov 06, 2011 23:12    Post subject: Reply with quote
buddee wrote:
I am going to assume you mean on the router and not everything in the house?

My unit went back an hr just fine..


cough cough bullshit more coughs... maybe you have your router re-booting every night.. dd-wrt did not update the time on its own based on ntp settings.

_________________
[Moderator Deleted] Shocked
zoomlink
DD-WRT User


Joined: 08 May 2011
Posts: 221

PostPosted: Sun Nov 06, 2011 23:18    Post subject: Reply with quote
Wow.. I was operating under the wrong assumption. I thought that if we took the time to create an ntp client section on the setup page where you enter all that good info, including the server. Then logically, (I thought) there was a process running that would check at least once a day and sync up the time with the server you entered.

I kind of fail to see the point of having the ntp client section there if it only checks upon reboots.

Based on the commands provided by kt_haddock, I went ahead and created a script called timesync.sh

Code:

#!/bin/sh
ntpclient us.pool.ntp.org
stopservice process_monitor
sleep 60
startservice process_monitor


I then added a cron job to call this script up once every day.

Now I will sleep better at night knowing my router's time is synchronized with the rest of our galaxy Smile.
buddee
DD-WRT Guru


Joined: 06 Feb 2010
Posts: 7401
Location: Little Rock

PostPosted: Sun Nov 06, 2011 23:21    Post subject: Reply with quote
No reboot, just set a cron to do it when its time, then no worries.
_________________
Wireless N Config | Linking Routers | DD-WRT Wiki | DD-WRT Builds | Peacock - Broadcom FAQ

Having problems with port forwarding? Check out Port Forward Troubleshooting for more info.
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1848
Location: Canada

PostPosted: Mon Nov 07, 2011 4:40    Post subject: Reply with quote
All my routers do a NTP update every Sunady at 4am.

Cron Job:
0 4 * * 0 root stopservice process_monitor && startservice process_monitor

_________________
Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9

Off Site 1

R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4

Off Site 2

R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum