Upload the device configuration file to the device's flash. Then, the device will be rebooted automatically.
Important Note
The configurations, OEM_SERIAL_NUM, OEM_MODEL_NAME, OEM_MODEL_DESC, LAYOUT_FOOTER_COPYRIGHT, COMPANY_NAME, COMPANY_URL and ACTIVEX_URL have not be saved to the device when the device configurations are saved to the device.
To upload the channel module configuration file in the multiple channel video server, the CHANNEL=n should be set after the USER and PWD commands. If there is no CHANNEL=n in this URL, the router configuration file is uploaded.
The format of this URL http://172.16.3.14/cgi-bin/update?USER=Admin&PWD=123456&CONFIG_SET is listed below.
Stage 1: Send this URL to the device for configuration file upload
GET /cgi-bin/update?USER=admin&PWD=123456&CONFIG_SET HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: zh-tw
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: 172.16.3.14
Connection: Keep-AliveStage 2 : Device reply the URL
HTTP/1.0 200 OK
Content-type: text/html
<html><head><title>UPLOAD FILES</title></head>
<meta http-equiv="PRAGMA" content="NO-CACHE"><body>
<form name="UPLOAD_FORM" method="POST" enctype="multipart/form-data" action="update?CONFIG_SAVE">
CONFIG : <input type="FILE" name="CONFIG_FILE" value="" size="40">
<br>
<input type="submit" value="Apply" name="URL_FIRMWARE_SUBMIT">
<input type="reset" value="Reset" name="URL_FIRMWARE_RESET">
<br>
</form></body></html>Stage 3: Upload the image file to device and get the return code
POST /cgi-bin/update?CONFIG_SAVE HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://172.16.3.14/cgi-bin/update?USER=admin&PWD=123456&CONFIG_SET
Accept-Language: zh-tw
Content-Type: multipart/form-data; boundary=---------------------------7d83b918e205b8
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: 172.16.3.14
Content-Length: 4855
Connection: Keep-Alive
Cache-Control: no-cache
-----------------------------7d83b918e205b8
Content-Disposition: form-data; name="CONFIG_FILE"; filename="C:\Documents and Settings\MingYoung.You\My Documents\update.txt"
Content-Type: text/plain
WAN_TYPE='1'
WAN_IP='192.168.0.100'
WAN_NETMASK='255.255.255.0'
WAN_GATEWAY='192.168.0.254'
WAN_PPPOE_USERNAME=''
WAN_PPPOE_PASSWORD=''
SPEED_WAN='0'....................................................................
ACTIVEX_URL=''
-----------------------------7d83b918e205b8
Content-Disposition: form-data; name="URL_FIRMWARE_SUBMIT"
Apply
-----------------------------7d83b918e205b8--Stage 4: device reply this URL
HTTP/1.0 200 OK
Content-type: text/plain
Content-Length: 3
OK
None
OK
or
ERROR: config image
Valid
http://ip:port/cgi-bin/update?USER=Admin&PWD=123456&CONFIG_SET
or
http://ip:port/cgi-bin/update?USER=Admin&PWD=123456&CHANNEL=n&CONFIG_SET (for CHANNEL=n video server in the Multi-Channel Encoder)