It appears that /etc/
and /tmp/etc/
are the same.
# Connect to the router.
telnet 192.168.1.1
# Edit as needed.
vi /tmp/etc/dnsmasq.conf
vi /tmp/etc/resolv.conf
# Restart dnsmasq.
killall dnsmasq && dnsmasq --log-async --no-poll
# Verify that the reported "Server" is the expected DNS server.
nslookup www.google.com
These links were helpful:
you should use ASUSWRT-Merlin firmware..