
10.2.3.11 Network Configuration
Use the curl commands below to alter the network configuration of the sensor.
Once changed, the settings must be saved and the sensor reset for the new configuration to take effect.
10.2.3.12 Set Host (Destination) IP Address
This command sets the destination IP address where firing data and Position/Telemetry packets are sent. This has the
same effect as entering a Host IP address on the sensor’s Web Interface.
Command:
curl --data "addr=255.255.255.255" http://192.168.1.201/cgi/setting/host
10.2.3.13 Set Data Port
This command sets the sensor’s data port (default: 2368). It has the same effect as setting the Web Interface’s Data Port
field to the given number.
Command:
curl --data "dport=2368" http://192.168.1.201/cgi/setting/host
10.2.3.14 Set Telemetry Port
This command sets the sensor’s telemetry port (default: 8308). It has the same effect as setting the port number in the
Web Interface’s Telemetry Port field.
Command:
curl --data "tport=8309" http://192.168.1.201/cgi/setting/host
10.2.3.15 Set Network (Sensor) IP Address
This sets the IP address of the device. The default is 192.168.1.201. This has the same effect as entering an IP address in
the Web Interface Network IP field.
Command:
curl --data "addr=192.168.1.200" http://192.168.1.201/cgi/setting/net
10.2.3.16 Set Netmask
This sets the network mask of the sensor. The default is 255.255.255.0. This has the same effect as entering a net mask in
the Web Interface Mask field.
Command:
curl --data "mask=255.255.0.0" http://192.168.1.201/cgi/setting/net
10.2.3.17 Set Gateway
This sets the gateway address of the sensor. The default is 192.168.1.1. This has the same effect as entering a gateway
address in the Web Interface Gateway field.
Command:
curl --data "gateway=192.168.1.2" http://192.168.1.201/cgi/setting/net
10.2.3.18 Set DHCP
This determines if the sensor is to rely on a DHCP server for its IP address.
This has the same effect as selecting the corresponding radio button for DHCP in the Web Interface.
86
VLP-32C User Manual