Ethernet disabling in raspberry pi

Sarweshkumar C R picture Sarweshkumar C R · May 6, 2014 · Viewed 26.3k times · Source

We are trying to develop an application on raspberry pi. We are planning run Pi using batteries. So we have to reduce the power consumption in Pi. As far as we know, ethernet consumes a lot of current, so is there any way to disable ethernet without disturbing the two usb ports on raspberry pi model B? (Ethernet and usb ports are controlled by a single chip LAN8512). Any help or suggestion would be appreciated.

Answer

Robert Killkelley picture Robert Killkelley · Jun 21, 2016

I do not believe that this stops power to the ethernet port but it is worth a shot.

In Terminal type in sudo ifconfig eth0 down this should disable the ethernet port on the Raspberry Pi. To re-enable the port just type in sudo ifconfig eth0 up

And to view the names of all adapters type in sudo iwlist scan probably a better way of doing this but this has been working for me.