WAN_TYPE

Description

> Get or Set WAN connection type. Three types, Dynamic, Static and PPPoE, are supported.

> In Dynamic connection type, the device will try to get the IP/Netmask/Gateway/DNS settings from a DHCP server.

> In Static connection type, the device will use WAN_IP, WAN_NETMASK and WAN_GATEWAY to configure its WAN port.

> In PPPoE connection type, the device will try to establish the PPP connection. The WAN_PPPOE_USERNAME and WAN_PPPOE_PASSWORD will be used for authentication.

> In EPL decoder, this URL is same as the WAN_TYPE in the SYSTEM CGI but only Type1 URL command is supported.

> Therefore, the WAN_TYPE URL in WPL decoders is only addressed in this page.

Input Argument

> 1: Dynamic
> 2: Static
> 3: PPPoE

Attribute

- Write Only
- Not On-Fly

Return of Message

> None

Applicability

- WPL Decoder Devices
- EPL Decoder Devices (refer to WAN_TYPE in the SYSTEM CGI)

Status

> Valid

See Also

> WAN, WAN_IP, WAN_NETMASK, WAN_GATEWAY, WAN_PPPOE_USERNAME, WAN_PPPOE_PASSWORD

Example

- Write Operation

> http://ip:port/cgi-bin/url-cgi?USER=Admin&PWD=123456&WAN_TYPE=1

Back to

> HOME, URL CGI, SYSTEM CGI