User Tools

Site Tools


uphp:functions:setethpower

This is an old revision of the document!


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 - turn it on
  • 0 - turn it off

Return Values

None

Example

<? 
  setethpower(0);
?>
uphp/functions/setethpower.1495545547.txt.gz · Last modified: 2021/09/13 05:56 (external edit)