======setethpower======
WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0
Enable or disable the ethernet controller
====Description====
setethpower (
int
$state
)
This function will turn on or off the ethernet controller MAC layer.
Turning it off will save power but render your device unreachable (you could always switch it back on periodically). When off, the power consumption is reduced from 2W down to 1W.
====Parameter====
$state:
* **1** - Enable the ethernet controller
* **0** - Disable the ethernet controller
====Return Values====
None
====Example====
setethpower(0);
?>
====See Also====
[[getethstat()]] - Get Ethernet connection status information
[[get3gstat()]] - Get cellular data connection status information
[[net_disable3g()]] - Disable 3G support for the dongle
[[net_enable3g()]] - Enable 3G support for the dongle
[[getusbstat()]] - Get USB host status information
[[netstat()]] - Get Ethernet information