We are running android-6(marshmallow) on a custom board based on iMX6dl-sabresd. The dhcpcd run when the interface comes up on boot, and acquires a lease if dhcp server is present.
If it fails to get a dhcp address, the dhcpcd is being killed by init after sometime. It never runs again unless the ethernet cable is replugged(ifup event)
If we manually start the dhcpcd by running 'dhcpcd eth0', it acquires an ip address, but it fails to resolve DNS requests and also the acquired ip address is not reflected in android.
How can we configure the android to request for a lease, even if dhcp server comes up at a later stage ?