I have ethernet connected to my android board. I want to manually set IP from code. I was able to set IP address for WIFI. I have looked into following links for ethernet
Assign static IP to ethernet card from OTG So far I have not found how to set static IP to ethernet via android code.