What's new

RT-N66U restarts dnsmasq, udcpc_lan, dms every 12 hours

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

tomicjr

Occasional Visitor
This N66U is operating in Repeater mode. I never noticed this before updating FW to 374.41. Also have an AC68 router running .37 FW which doesn't exhibit this behavior. Is this normal?

First became of aware of it after configuring a remote syslog server, which notifies me about every 12 hours of the following:

waitting \"stop_dnsmasq\" via udhcpc_lan ...
udhcpc_lan 1265:notify_rc restart_dms
wlc_state change!
udhcpc_lan 1265:notify_rc stop_dnsmasq
udhcpc_lan 1265:notify_rc start_dnsmasq


Can the log level be configured?

These are the corresponding messages in the router log:

May 1 19:00:08 rc_service: udhcpc_lan 1265:notify_rc stop_dnsmasq
May 1 19:00:08 rc_service: udhcpc_lan 1265:notify_rc start_dnsmasq
May 1 19:00:08 rc_service: waitting "stop_dnsmasq" via udhcpc_lan ...
May 1 19:00:08 dnsmasq[1219]: exiting on receipt of SIGTERM
May 1 19:00:09 dnsmasq[1268]: started, version 2.68 cachesize 1500
May 1 19:00:09 dnsmasq[1268]: asynchronous logging enabled, queue limit is 5 messages
May 1 19:00:09 dnsmasq[1268]: read /etc/hosts - 5 addresses
May 1 19:00:09 dnsmasq[1268]: using nameserver 192.168.1.1#53
May 1 19:00:09 notify wanduck: wlc_state change!
May 1 19:00:09 rc_service: udhcpc_lan 1265:notify_rc restart_dms
May 1 19:00:15 kernel: dnsmq ctrl: 4201a8c0 ^Frouter^Dasus^Ccom
 
Probably just your router's lease being renewed. Not an issue.
 
My RT-AC68U in AP mode does the same, but once an hour (as I use fairly short lease time) when it renews its DHCP lease.

Code:
udhcpc_lan 1715:notify_rc start_dnsmasq

It`s not an major issue, but trouble is that it sends it to syslog server as an log level "Emergency", hence I get an e-mail from Syslog server once an hour that "something broke" in my home network... :D :D

Wonder, if there is a way to configure log level in Asus somehow, as it really is not emergency, log level "Error" or even "Informational" would be more appropriate...

Sorry for resurrecting such an old thread.
 
Last edited:
My RT-AC68U in AP mode does the same, but once an hour (as I use fairly short lease time) when it renews its DHCP lease.

Code:
udhcpc_lan 1715:notify_rc start_dnsmasq

It`s not an major issue, but trouble is that it sends it to syslog server as an log level "Emergency", hence I get an e-mail from Syslog server once an hour that "something broke" in my home network... :D :D

Wonder, if there is a way to configure log level in Asus somehow, as it really is not emergency, log level "Error" or even "Informational" would be more appropriate...

Sorry for resurrecting such an old thread.

Unfortunately, Asuswrt itself (which does not include any daemon that does its own logging) logs everything with a hardcoded log priority of 0, which means LOG_EMERG. The whole firmware logging would need to be overhauled to improve on this (which means replacing every single logmessage() call with a new one that would provide an appropriate priority).

Code:
merlin@mint-dev ~/asuswrt.ac87/release/src/router $ grep -rs "logmessage(" * | wc -l
193

That's not happening, sorry...
 
Thank you for the conclusive answer...

Already discovered that this part is hardcoded and there is no easy way to fix it.

Fair enough, it is consumer grade device anyway... :)
 
Might not be a major issue, but this must be a bug - simple renew of a dhcp lease should not prompt a dns restart? Is dnsmasq (LAN dhcpc and DNS) even needed in repeater mode? Can the slave router just be given a static IP so no need for udhcpc?
With WAN type dhcp a full restart of the WAN services including dnsmasq is only triggered if the lease expires and the router goes back into dhcp discovery mode.
 
I have got simmilar issue.
My AC56U working in AP mode reset dnsmasq each 6h.
However main router shows WAN lease time 24h.
 
Might not be a major issue, but this must be a bug - simple renew of a dhcp lease should not prompt a dns restart? Is dnsmasq (LAN dhcpc and DNS) even needed in repeater mode? Can the slave router just be given a static IP so no need for udhcpc?
With WAN type dhcp a full restart of the WAN services including dnsmasq is only triggered if the lease expires and the router goes back into dhcp discovery mode.

Yes it is, in my case I assign all the static stuff via DHCP aswell...and I do use WAN port for AP uplink...

Actually makes me wonder, if we used LAN port as uplink, maybe it does no trigger that event?
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top