The Network Menu :: IP Configuration


param.cgi?cmd=getnetattr

Get your Camera´s Network Configuration

  • dhcpflag: on: (DHCP enabled), off: (DHCP disabled)
  • ip: Current LAN IPv4 Address
  • netmask: LAN Subnet Mask
  • gateway: LAN Gateway
  • dnsstat: DNS Status: 0 (manually), 1 (from DHCP Server)
  • fdnsip: Primary DNS
  • sdnsip: Secondary DNS
  • macaddress: LAN MAC Address
  • networktype: LAN or WiFi - Indicates Type of current connection
  • wifi: 1: (WLAN module enabled), 0: (WLAN module disabled)

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getnetattr

cmd="getnetattr";
dhcpflag="0";
dnsstat="0";
fdnsip="192.168.2.1";
gateway="192.168.2.1";
ip="192.168.2.19";
macaddress="EA:6D:C8:9C:DF:A7";
netmask="255.255.255.0";
networktype="LAN";
sdnsip="192.168.2.1";
wifi="1";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getnetattr&user=admin&pwd=instar

cmd="getnetattr";
dhcpflag="0";
dnsstat="0";
fdnsip="192.168.2.1";
gateway="192.168.2.1";
ip="192.168.2.19";
macaddress="EA:6D:C8:9C:DF:A7";
netmask="255.255.255.0";
networktype="LAN";
sdnsip="192.168.2.1";
wifi="1";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setnetattr&dhcpflag=1&ip=192.168.2.24&netmask=255.255.255.0&gateway=192.168.2.1&fdnsip=192.168.2.1&sdnsip=8.8.8.8

cmd="setnetattr";
response="200";

param.cgi?cmd=gethttpattr

Get your Camera´s HTTP Port

  • httpport: Camera LAN Port

Remark: Camera needs to be manually rebooted after setting the port

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=gethttpattr
cmd="gethttpattr";
httpport="80";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=gethttpattr&user=admin&pwd=instar
cmd="gethttpattr";
httpport="80";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=sethttpattr&httpport=80
cmd="sethttpattr";
response="200";

param.cgi?cmd=gethttpsattr

Get your Camera´s HTTPS Port

  • httpsport: Camera Secured LAN Port

Remark: Camera needs to be manually rebooted after setting the port

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=gethttpsattr
cmd="gethttpsattr";
httpsport="443";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=gethttpsattr&user=admin&pwd=instar
cmd="gethttpsattr";
httpsport="443";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=sethttpsattr&httpsport=443
cmd="sethttpsattr";
response="200";

param.cgi?cmd=getrtspport

Get your Camera´s RTSP Port

  • rtspport: Real Time Streaming Protocol Port
  • enable: Deactivate the RTSP Video Service

Remark: Camera needs to be manually rebooted after setting the port

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getrtspport

cmd="getrtspport";
rtspport="554";
enable="1";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getrtspport&user=admin&pwd=instar

cmd="getrtspport";
rtspport="554";
enable="0";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setrtspport&rtspport=554

cmd="setrtspport";
response="200";

param.cgi?cmd=getlanmac

Get your Camera´s LAN MAC

  • macaddress: Camera LAN MAC address

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getlanmac

cmd="getlanmac";
macaddress="7a:1b:d8:02:2d:21";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getlanmac&user=admin&pwd=instar

cmd="getlanmac";
macaddress="7a:1b:d8:02:2d:21";
response="200";

param.cgi?cmd=getwifimac

Get your Camera´s WLAN MAC

  • macaddress: Camera WLAN MAC address

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getwifimac

cmd="getwifimac";
macaddress="e0:09:bf:68:67:af";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getwifimac&user=admin&pwd=instar

cmd="getwifimac";
macaddress="e0:09:bf:68:67:af";
response="200";