Failed to run DHCP server on MangoH Red board

Hi,

The DHCP server fails to run on the MangoH red board.
How to recover the same ?

Attaching logs.

Logs:
[ 22.623710] diag: In diag_send_feature_mask_update, control channel is not open, p: 0, c1017114
Starting irsc_util: Starting irsc tool
Failed to open file:/etc/sec_config
Absent/Invalid config,Default rules apply
Ending irsc tool
done
Starting netmgrd: done
Starting powerconfig for mdm9607: Starting fs-scrub-daemon: done
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.ip_forward = 1
rm: can’t remove ‘/var/log/wtmp’: No such file or directory
Starting eMBMs_TunnelingModule: done
Starting qmi_ip: done
starting DNS forwarder and DHCP server: dnsmasq…
dnsmasq: cannot access /etc/dnsmasq.d/dnsmasq.wlan.conf: No such file or directory
Starting Dropbear SSH server: DONE
Starting port_bridge: done
dropbear.
cat: can’t open ‘/sys/devices/virtual/android_usb/android0/f_ecm/native_ethaddr’: No such file or directory
stopping DNS forwarder and DHCP server: dnsmasq… no /usr/bin/dnsmasq found; none killed
starting DNS forwarder and DHCP server: dnsmasq…
dnsmasq: cannot access /etc/dnsmasq.d/dnsmasq.wlan.conf: No such file or directory
run_getty.sh: ttyHSL1 reserved for CONSOLE

Poky (Yocto Project Reference Distro) 2.5.2 swi-mdm9x28-wp /dev/ttyHSL1

Image info:

root@swi-mdm9x28-wp:~# cm info
Device: WP7607
IMEI: 359779080125194
IMEISV: 6
FSN: VN842200670510
Firmware Version: SWI9X07Y_02.28[ 1506.552223] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 c0
.03.03 000000 jenkins 2019/05/21 03:33:04
Bootloader Version: [ 1506.572560] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) m0
SWI9X07Y_02.28.03.03 000000 jenkins 2019/05/21 03:33:04
MCU Version: 002.011
PRI Part Number (PN): 9907327
PRI Revision: 001.004
Carrier PRI Name: SIERRA
Carrier PRI Revision: 001.026_000
SKU: 1103511
Last Reset Cause: Reset, User Requested
Resets Count: Expected: 492 Unexpected: 0
root@swi-mdm9x28-wp:~#
dhcp_log.txt (84.9 KB)

“/etc/dnsmasq.d/dnsmasq.wlan.conf: No such file or directory”

Not sure if this line makes problem.

You can have a look on this thread, there is cfg_gateway.sh to set up the dns server for ethernet interface: