Skip to content

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, integer 0-1
  • B is the IP address, string
  • C is the subnet mask, string
  • D is the default gateway, string
  • E is the primary DNS server, string
  • F is an additional DNS server, string
  • G is the MAC address, string
  • H is the LC host name, string
  • I is the port used by the HTTP server (website), integer
  • J determines whether HTTPS is enabled, integer 0-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