Sailordude99 DD-WRT Novice
Joined: 24 Jul 2019 Posts: 10 Location: California
|
Posted: Sat Aug 24, 2019 21:34 Post subject: DNSMASQ exit error code 2 |
|
Hello
Setting up DNSMASQ on my R8500
Firmware: DD-WRT v3.0-r40750 std (08/23/19)
I used telnet to check status of DNSMASQ, getting an exit error code 2.
root@hubby:~# cat /tmp/dnsmasq.conf
interface=br0
resolv-file=/tmp/resolv.dnsmasq
strict-order
domain=hubby.net
leasefile-ro
dhcp-script=/etc/lease_update.sh
dhcp-lease-max=50
dhcp-option=br0,3,192.168.1.1
dhcp-authoritative
dhcp-range=br0,192.168.1.100,192.168.1.149,255.255.255.0,1440m
bogus-priv
conf-file=/etc/rfc6761.conf
proxy-dnssec
dhcp-rapid-commit
stop-dns-rebind
dhcp-option=252,"\n"
cache-size=1500
root@hubby:~# /bin/ps | grep [d]nsmasq
21035 root dnsmasq -u root -g root --conf-file=/tmp/dnsmasq.conf
21037 root dnsmasq -u root -g root --conf-file=/tmp/dnsmasq.conf
root@hubby:~# dnsmasq -t --conf-file=/tmp/dnsmasq
root@hubby:~# echo $?
2
root@hubby:~# 1
-sh: 1: not found
root@hubby:~# root@hubby:~# cat /tmp/dnsmasq.conf
-sh: root@hubby:~#: not found
root@hubby:~# interface=br0
root@hubby:~# resolv-file=/tmp/resolv.dnsmasq
dhcp-rapid-commit
stop-dns-rebind
dhcp-option=252,"\n"
cache-size=1500
root@hubby:~# /bin/ps | grep [d]nsmasq
21035 root dnsmasq -u root -g root --conf-file=/tmp/dnsmasq.conf
-sh: resolv-file=/tmp/resolv.dnsmasq: not found
21037 root dnsmasq -u root -g root --conf-file=/tmp/dnsmasq.conf
root@hubby:~# dnsmasq -t --conf-file=/tmp/dnsmasq
root@hubby:~# echo $?
2
root@hubby:~# 1
root@hubby:~# strict-order
-sh: strict-order: not found
root@hubby:~# domain=hubby.net
root@hubby:~# leasefile-ro
-sh: leasefile-ro: not found
root@hubby:~# dhcp-script=/etc/lease_update.sh
-sh: dhcp-script=/etc/lease_update.sh: not found
root@hubby:~# dhcp-lease-max=50
-sh: dhcp-lease-max=50: not found
root@hubby:~# dhcp-option=br0,3,192.168.1.1
-sh: dhcp-option=br0,3,192.168.1.1: not found
root@hubby:~# dhcp-authoritative
-sh: dhcp-authoritative: not found
root@hubby:~# dhcp-range=br0,192.168.1.100,192.168.1.149,255.255.255.0,1440m
-sh: dhcp-range=br0,192.168.1.100,192.168.1.149,255.255.255.0,1440m: not found
root@hubby:~# bogus-priv
-sh: bogus-priv: not found
root@hubby:~# conf-file=/etc/rfc6761.conf
-sh: conf-file=/etc/rfc6761.conf: not found
root@hubby:~# proxy-dnssec
-sh: proxy-dnssec: not found
root@hubby:~# dhcp-rapid-commit
-sh: dhcp-rapid-commit: not found
root@hubby:~# stop-dns-rebind
-sh: stop-dns-rebind: not found
root@hubby:~# dhcp-option=252,"\n"
-sh: dhcp-option=252,\n: not found
root@hubby:~# cache-size=1500
-sh: cache-size=1500: not found
root@hubby:~# root@hubby:~# /bin/ps | grep [d]nsmasq
-sh: root@hubby:~#: not found
root@hubby:~# 21035 root dnsmasq -u root -g root --conf-file=/tmp/dnsmasq.co
nf
-sh: 21035: not found
root@hubby:~# 21037 root dnsmasq -u root -g root --conf-file=/tmp/dnsmasq.co
nf
-sh: 21037: not found
root@hubby:~# root@hubby:~# dnsmasq -t --conf-file=/tmp/dnsmasq
-sh: root@hubby:~#: not found
root@hubby:~# root@hubby:~# echo $?
-sh: root@hubby:~#: not found
root@hubby:~# 2
-sh: 2: not found
root@hubby:~# root@hubby:~# 1
-sh: root@hubby:~#: not found
Request assistance from the esteemed community.
V/R
Sailordude _________________ R8500 v3.0-r39960M kongac (06/08/19) |
|