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
Generating the configuration file ‘/tmp/dnsmasq.eth0.conf’ for the DHCP server…
Restarting the DHCP server…
starting DNS forwarder and DHCP server: dnsmasq… done.
MangOH gateway configuration completed
Ok here is something that i guess would have caused this problem.
I had flashed yocto seperately. Does this have some issue when the firmware is updated.
currently i m trying to update to release 12, but my board is not going to download mode.
I want to erase everything adn reflash again. Any steps in particular to be followed ?
yes i am using the same swiflash tool on ubuntu, but MangoH red board does not go to download mode at all.
Any dip switch setting ? On mine 3 and 8 are high on SW401
thanks jyijyi!! was able to flash and get dhcp up and running on the Board.
Mentioning the steps below so that it might help someone facing the same.
Steps followed.
a. On the WP AT cmd terminal entered - “at!boothold” - MangoH red board enters into dnld mode. Due to some reason the board was not going to dnld mode from the swiflash tool.
b. Using the swiflash tool, flash R12 image from PC. This image has support to erase rootfs and kernel image.
d. Using swiflash too, erase the rootfs and kernel
swiflash -m "wp76xx" -r
e. Flash the R13 / R12 image, using the command as in step b. Reboot.
f. After reboot, on wp76xx, assign ecm0 192.168.2.2 and on the PC the usb0 is assigned with 192.168.2.3 automatically.
g. On the MangoH red board, check for dhcp in dmesg.