Posted: Thu Oct 27, 2022 6:47 Post subject: DHCP renew schedule
Hi DD-WRT team
Router details:
Firmware: DD-WRT v3.0-r50671 std (10/26/22)
Asus RT-AC87U
For some reason it has happened before on previous DD-WRT releases, that from time to time our router suddenly lost access to internet. The solution for it was to press button "DHCP Renew".
In a way it is simple solution, however when I am not home it give problem to my others.
I just updated it, but I do not expect to have our problem to be fixed.
Can you either:
- build functionality into software, that if for some reason internet access is missing, then router will renew DHCP automatically.
- or can you help me write CRONE job to "Renew DHCP" every day at 03:00
- if I set up router to restart every night at 03:00 - will it renew DHCP automatically ?
It already should renew automatically, unless there is a bug. _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
Status-> WAN tab. There's also a DHCP Release button. _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
That's one solution. Another is to script a forced renewal at a set interval that overrides ISP-set intervals. Of course, we could go deeper into the possibility of a problem DD-WRT side, but it could also be a problem ISP side as well. It is really tedious to tell at which version certain files are at in DD-WRT's busybox implementation without getting cross-eyed or pulling one's hair out, but I got curious about current status of FreshTomato's implementation at 1.34.1, and they removed a long-standing patch from Jon Zarate that was specifically introduced to help with problematic ISP dhcp issues, stating that upstream code not containing it was the reason <eyeroll> .... the patch was noted by "ZZZ" in their older, long-standing 1.25.1 busybox implementation, how the f*ck can you miss that? _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
Thank you for your feedback.
I noticed similar situation has happened on Saturday & Sunday. For some reason - we had no internet Saturday morning - so I wend to router and released and renewed IP from ISP - this fixed problem.
On Sunday however, I was "testing" option - if I am not home how to fix it. Easiest was to power off router together with fiber box. And plug them back again. This worked out, internet was back again.
-----------------
I also in tab "Keep alive" activated rooter restart every morning - not sure yet if that will work perfectly.
BTW:
I think this problem start happening after I applied latest rerelease mentioned in first post.
Can anybody check if there is no error in latest DD-WRT software ? maybe it is only my set up, not know .
In case somebody will be reading this post and have similar problem.
I have found similar older post in this forum indicating similar issue (but software releases were much older).
The way it seems to work for me is adding to crone jobs:
01 1 * * * root kill -USR2 `cat /var/run/udhcpc.pid`
02 1 * * * root kill -USR1 `cat /var/run/udhcpc.pid`
Something tells me it's the ISP's lease time involved. Of course, DD-WRT doesn't have the option to truncate DHCP(C) packets like Tomato does, among other things It's interesting that this is still a problem. _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio