title: Ethernet Connectivity through Programmatically (Android) (Rooted Device)
body: <p>I have a small issue regarding <strong>Ethernet</strong>. </p>
  
  <p><strong>My three questions are:</strong></p>
  
  <ol>
  <li><p>Can we programmatically Turn-On/Off <code>Ethernet</code>?</p></li>
  <li><p>Can we programmatically Enable/Disable <code>Ethernet</code>?</p></li>
  <li><p>Can we programmatically Connect <code>Ethernet</code>?</p></li>
  </ol>
  
  <p><strong>The above Questions are done with the <code>Wifi</code>. Like</strong> </p>
  
  <ol>
  <li><p>We can programmatically Turn-On/Off <code>Wifi</code>.</p></li>
  <li><p>We can programmatically Enable/Disable <code>Wifi</code>.</p></li>
  <li><p>We can programmatically Connect <code>Wifi</code> using <code>WifiManager</code>.</p></li>
  </ol>
  
  <p>Does android provides any <code>EthernetManager</code> like as <code>WifiManager</code> to handle <code>Ethernet</code>?</p>
  
  <p>Or, if this doesn't seem feasible, then my original requirement is:</p>
  
  <p>The first thing I am going to clear is  "DEVICE IS ROOTED" .</p>
  
  <p>Can I manipulate the Settings (Default)? Like I don't want any other option in the <code>Settings.apk</code> other than <code>WIFI</code> and <code>Ethernet</code>. It should show only <code>Wifi</code> and <code>Ethernet</code>. That's it. Can I disable all the options from the Settings or Can I remove all the other options from the Settings? </p>