title: Set static ip to ethernet in android
body: <p>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 </p>
  
  <p><a href="https://stackoverflow.com/questions/23397803/assign-static-ip-to-ethernet-card-from-otg">Assign static IP to ethernet card from OTG</a> 
  So far I have not found how to set static IP to ethernet via android code.</p>