This is an old revision of the document!
WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0
Get Ethernet information
Return an array containing information about the state of the network interface
None
Array containing the following keys and values:
KEY | TYPE | VALUE |
---|---|---|
max_http_connections | int | The number of HTTP connections allowed |
max_connections | int | The total number of TCP connections allowed |
connX_socket | int | Socket number for connection X |
connX_stage | int | Socket status for connection X |
connX_info | string | Information about the connection if any |
connX_remote | string | Remote host IP address |
<? $arr=netstat(); print("Total connections available: ".$arr['max_connections']); ?>
setusbpower() - Set the USB host power on or off (1 or 0)
net_enable3g() - Enable USB dongle network connectivity if available
net_disable3g() - Disable USB dongle network connectivity
getethstat() - Get Ethernet connection status information