LAN_HOSTNAME

Description

> Get or Set Host Name in the device. It allows user to access the device by Host name rather IP address. Some networking configurations in user's PC need to be set correctly to use this function.

> The input argument string length will be checked before apply it.

> If the CHANNEL=n was set with this URL to the Multi-Channel device, the Router's Host name configuration will be returned.

Input Argument

> Character strings (< 24 Bytes)

Attribute

- Readable and Writable (except video server in Multi-Channel Platform)
- On-Fly (except all WPL Platform devices)

Return of Message

- Read Operation

> LAN_HOSTNAME='LocalHost'

- Write Operation

> OK: LAN_HOSTNAME='LocalHost'
> or
> ERROR: LAN_HOSTNAME='LocalHost'

Applicability

- WPL Platform : All Devices
- EPL Platform : All Devices
- Multi-Channel Encoder : All Devices

Status

> Valid

See Also

> LAN, LAN_IP, LAN_NETMASK

Example

- Read Operation

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

- Write Operation

> http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&LAN_HOSTNAME=LocalHost
> http://ip:port/cgi-bin/cmd/system?LAN_HOSTNAME=LocalHost

Back to

> HOME, SYSTEM CGI