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
IP Address : 192.168.0.100
Netmask : 255.255.255.0
Gateway : 192.168.0.254
DNS Server : 168.95.1.1 192.168.0.254
DDNS Host : Localhost
WAN Connect Status : Connect
DNS Connect Status : Connect
DDNS Connect Status: Disconnect
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