title: Change Android Ethernet IP address from adb commands
body: <p>My android device Ethernet IP is <code>192.168.1.52</code>.I tried to change Ethernet IP from adb using this :</p>
  
  <pre><code>ifconfig eth0 192.168.1.60
  </code></pre>
  
  <p>so it changes my IP but when I turn off and on my eth0 as follows :</p>
  
  <pre><code>ifconfig eth0 down
  ifconfig eth0 up
  </code></pre>
  
  <p>my IP returns back to <code>192.168.1.52</code>. How can I change it permanently?</p>