WAN_STATUS

Description

Get the WAN port runtime status. The device will try to PING the Gateway to know if the WAN connection is alive and www.hinet.net to know if the DNS settings are working. The DDNS status will be returned as well.

If the CHANNEL=n was set with this URL to the Multi-Channel device, the Router's runtime status will be returned.

Input Argument

None

Attribute

Return of Message

WAN_IP='192.168.0.100'
WAN_NETMASK='255.255.255.0'
WAN_GATEWAY='192.168.0.254'
DNS Statue : Connected
DDNS Status: Connected

Applicability

Status

Valid

See Also

WAN, V2_WAN_STATUS, WAN_TYPE, WAN_IP, WAN_NETMASK, WAN_GATEWAY, WAN_PPPOE_USERNAME, WAN_PPPOE_PASSWORD

Example

http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&WAN_STATUS
or
http://ip:port/cgi-bin/cmd/system?WAN_STATUS

Back to

HOME, SYSTEM CGI