Network¶
/stm.cgi?dhc=A&ipa=B&mas=C&gaw=D&dns=E&dns2=F&mac=G&lkname=H&por=I&httpson=J¶
Configure the network settings.
GET /stm.cgi?dhc=A&ipa=B&mas=C&gaw=D&dns=E&dns2=F&mac=G&lkname=H&por=I&httpson=J
A
determines whether DHCP is enabled, integer0-1
B
is the IP address, stringC
is the subnet mask, stringD
is the default gateway, stringE
is the primary DNS server, stringF
is an additional DNS server, stringG
is the MAC address, stringH
is the LC host name, stringI
is the port used by the HTTP server (website), integerJ
determines whether HTTPS is enabled, integer0-1
(only in HW 3.5+)
Example:
http://192.168.1.100/stm.cgi?dhc=0&ipa=192.168.2.101&mas=255.255.255.0&gaw=192.168.2.1&dns=8.8.8.8&dns2=194.204.152.34&mac=D8:80:39:93:7B:C3&lkname=LK3_controller&por=80&httpson=0