Got it

How Should I Upgrade an IPC Using Commands

Latest reply: Apr 9, 2016 02:56:23 1764 1 0 0 0

Applicable Models:
This fault may occur on IPC6100 series box network cameras.
Note:
For the methods of upgrading IPCs of other models using commands, see the corresponding User Guide.

How Should I Upgrade an IPC Using Commands?

Step 1 Create an SFTP server, and configure the user name, password, and file path.

Step 2 Place the upgrade file in the specified directory on the SFTP server or in a new folder in the specified directory.

Note:
For details about how to obtain the upgrade package, see section Obtaining IPC Upgrade Packages(As Follow).

Step 3 Use SSH to log in to the IPC as the admin user.

Step 4 Run the su - root command to switch to the root user.

Note:
For details about the default passwords of the admin and root users, see the <<User Guide >> corresponding to the faulty device.

Step 5 Run the cd /usr/app/bin/ command to go to the bin directory.

Step 6 Run the ./update sftp [IPAddr] [FilePath] [Mode] command to start the upgrade.

Note:
IPAddr: IP address of the SFTP server.
FilePath: path where the upgrade file is stored on the SFTP server. Assume that the specified directory for storing the upgrade file on the SFTP server is D:\update, the path where the upgrade file is stored is D:\update\file, and the upgrade file name is updatefile. The value of this parameter is file/updatefile. If the upgrade file is directly stored in the specified directory on the SFTP server, you do not need to set this parameter.
Mode: When this parameter is set to -f, the upgrade is performed forcibly. The parameter can be left blank.

For example, if you run the ./update sftp 192.168.40.254 IPC6112_V100R001C10.bin command, the following information is displayed.

root@Huawei:/usr/app/bin# ./update sftp 192.168.40.254 IPC6112_V100R001C10.bin 
Update: Update Process Start! 
Update: Update Sftp Start! 
Update: Enter Function: UploadUpdateFile(sftp,192.168.40.254) 
Please Enter sftp UserName: 
admin 
Update: Start sftp IPC6112_V100R001C10.bin, Please Wait...... 
admin@192.168.40.254's password:     

Step 7 Enter the user name and password set in Step 1 as prompted.

Note:
Enter yes when the system asks you whether to continue.

The following information is displayed:

Connected to 192.168.40.254. 
Fetching /IPC6112_V100R001C10.bin to /usr/upgrade/uImage.bin 
/IPC6112_V100R001C10.bin                                                                                  100%   27MB   1.8MB/s   00:15     
Update: sftp IPC6112_V100R001C10.bin Success! 
Update: Sha256Calc file lenth:28704768 
Update: Sha256Calc break check read lenth :4096 
Update: Sha256Calc lenth MAX_BUFFER_LEN:28704768 
Update: Sha256Calc  check read lenth :28700672 
Update: pEncryptString:519f12426595dea0be399841175af591d442588fd581befd09889548fadb8960 
Update: Start Kill Software Process.......... 
Start Kill Software Process 
killall: can't kill pid 1225: No such process 
killall: can't kill pid 1226: No such process 
killall: can't kill pid 1227: No such process 
killall: can't kill pid 1228: No such process 
killall: can't kill pid 1229: No such process 
killall: can't kill pid 1230: No such process 
killall: comm: no process killed 
killall: can't kill pid 1204: No such process 
killall: can't kill pid 1207: No such process 
killall: rda: no process killed 
killall: udhcpc: no process killed 
Start Update, Please Wait ...... 
Update: Kill Process Success! 
Update: Start Update.......... 
Erasing 128 Kibyte @ 2a00000 - 100% complete. 
Update: UpdateSystem() Success!    

The preceding information indicates that the upgrade file is uploaded successfully and the upgrade is complete.

As Follow:
Obtaining IPC Upgrade Packages
To obtain the upgrade package for an IPC, perform the following steps:
1. Visit http://enterprise.huawei.com.
2. Choose SUPPORT > Software.
3. Choose Unified Communications and Collaboration > Video Surveillance > Cameras.
4. Select the required IPC version and download the required upgrade package.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.