I tried direction connection between the camera and the PC (using a PoE injector). And I tried connecting both to my router via network cable. Same error on both, so weird.
For the Hikvision
tftp updater, both a direct cable connection between PC and camera, and powering via PoE, can be troublesome.
The updater works best when both PC and camera are wired to a switch / router, and the camera is powered with 12v.
Anyway - it's not clear to me what the running state of the camera is when you are connecting to it with telnet.
If it's the normal web GUI, with some very early 5.2.x or 5.1.x firmware that supports telnet, you can do the 'manual enhanced MTD hack' to extract mtdblock6, mod it as needed and write it back (and maybe also mtdblock1 if the firmware is 5.2.8).
Then you can use the web GUI to do the updates progressively with the EN/ML firmware, after a reboot.
A good collection of firmware is here :
ipcamtalk.com
Another way to start the 'brickfixV2' convert / update method, if you wanted to make use of the scripting, is as follows :
Connect to the camera with telnet, and at the root shell prompt use :
Code:
echo "Fixup stage1 completed - rollback payload dropped" > /dav/fixup_stage1.txt
/usr/sbin/set_sysflag -m 1
/sbin/reboot
Then with the PC IP address set to 192.0.0.128, you should be able to access the camera over telnet at 192.0.0.64 and follow the brickfixV2 process.
Log in as root with password=12345 and the tftp updater running, and the brickfixV2 CN digicap.dav in it's folder, issue the command
update digicap.dav
When that's done -
/dav/fixup.sh
and proceed from there.
I hope that makes sense.