Kill the watchdog service, it will make it easier for you to troubleshoot things without dnsmasq being constantly restarted/recrashed.
Once done with your tests, reboot the router to properly restart with a working watchdog.
Kill the watchdog service, it will make it easier for you to troubleshoot things without dnsmasq being constantly restarted/recrashed.
Thanks for the suggestion.
I think you need to kill both watchdog services (IIRC there's actually a watchdog for the watchdog). Kill watchdog02 first.
@RMerlin , is this a one-off issue to your knowledge? Or have you had reports of/come across this issue with stateful LAN IPv6 from other users?
Got me curious....for some reason it looks like they don't run it on AC88U, AC3100 or AC5300. Looks like it should be running on AC86, but I may have missed something in my quick look.There's no longer a second watchdog (or, at least it's not there all the time - my router only shows one).
Got me curious....for some reason it looks like they don't run it on AC88U, AC3100 or AC5300. Looks like it should be running on AC86, but I may have missed something in my quick look.
And it's an 'aw sh*t" recovery.....reboot.Whatever the reason, whoever at Asus came up with the idea of a watchdog for the watchdog was either too lazy to figure out why that first watchdog needed a watchdog in the first place, or he got bored and needed to write "something" to justify his paycheck
Dogs get destructive when left alone, first one just needed a buddy . Though I would have figured the watchdog watching the watchdog would have been one in hardware, not both in software.Whatever the reason, whoever at Asus came up with the idea of a watchdog for the watchdog was either too lazy to figure out why that first watchdog needed a watchdog in the first place, or he got bored and needed to write "something" to justify his paycheck
The compiler will assume that a pointer is correctly aligned for the type (e.g. a pointer to a 32-bit type will be aligned to a 32-bit boundary). If you cast a pointer then it assumes you know what you are doing, and that the resultant pointer will be correctly aligned.
Are you by chance running entware-ng, or something of the sort for opt? If strace is available, an output from it running dnsmasq in stateful config would be great to check.Thanks for the suggestion.
I will resume in the morning.
A new day.dnsmasq may be restarting as part of the normal startup, then the changes would be lost. To really confirm, the dnsmasq.conf edits should really be done in a dnsmasq.postconf script.
Make a /jffs/scripts/dnsmasq.postconf and set it executeable with the following
Code:#!/bin/sh CONFIG=$1 source /usr/sbin/helper.sh pc_delete "no-resolv" $CONFIG pc_replace "servers-file=/tmp/resolv.dnsmasq" "resolv-file=/tmp/test.conf" $CONFIG
Aug 20 11:00:00 rc_service: service 31520:notify_rc restart_dnsmasq
Aug 20 11:00:00 custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf ) - max timeout = 120s
Aug 20 11:00:00 dnsmasq[31524]: warning: no upstream servers configured
Are you by chance running entware-ng, or something of the sort for opt? If strace is available, an output from it running dnsmasq in stateful config would be great to check.
Did you also recreate the /tmp/test.conf file per @Sean B. (sorry I didn't explicitly remind you)A new day.
The result of this is disturbing to me as I did this in stateless mode. dnsmasq has not errored in stateless mode until now.
echo "nameserver 8.8.8.8" > /tmp/test.conf & echo "nameserver 2001:4860:4860::8888" >> /tmp/test.conf
In place.Did you also recreate the /tmp/test.conf file per @Sean B. (sorry I didn't explicitly remind you)
then run:
Code:echo "nameserver 8.8.8.8" > /tmp/test.conf & echo "nameserver 2001:4860:4860::8888" >> /tmp/test.conf
admin@RT-AC86U-6828:/tmp/home/root# cat /tmp/test.conf
nameserver 8.8.8.8
nameserver 2001:4860:4860::8888
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!