Cameras crashing/losing connection

surveillancelot

Young grasshopper
Mar 24, 2015
44
3
Hi!

System is ds-7608n-e2/8p with 6 hikvsion cameras and one onvif camera. Every once in a while (about once/week) one or two Hikvision cameras lose connection. Those are always the same 2 cameras (both ds-2cd2132F-is). Rebooting system wakes them up. Bandwith is pretty tigh, since I have many cameras, I don't know if it might be the cause.

Easiest solution should be rebooting the system every few days, but I didn't find any option so that this would be done automatically. Is there? Or if I could make just the camera to reboot itself, it would be even better.

Any ideas what might cause it? I guess if the reason was bad wiring, they wouldn't work every time when I reboot. And if there is some occasional lost of connection due to wiring, shouldn't the camera reconnect immediately when the connection is back.
 
Those are always the same 2 cameras (both ds-2cd2132F-is)
For that type of problem, and especially if it's the same 2 cameras, I'd wonder about the wiring.
Whilst it's not a comprehensive indication, checking the interface counters in those cameras (assuming they have old enough firmware that telnet / SSH is available and can be enabled) might yield some useful info.
Any non-zero error counts (not dropped packets - small numbers of these are not a problem) would indicate that there are connection issues.
Conversely, zero error counts doesn't necessarily indicate zero problems.
Example :
Code:
alastair@PC-I5 ~ $ telnet 192.168.1.105
Trying 192.168.1.105...
Connected to 192.168.1.105.
Escape character is '^]'.

Hikvision login: root
Password:


BusyBox v1.19.3 (2014-07-11 11:25:54 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# ifconfig
eth0      Link encap:Ethernet  HWaddr C0:56:E3:A6:E8:88 
          inet addr:192.168.1.105  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::c256:e3ff:fea6:e888/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2111090696 errors:0 dropped:1475 overruns:0 frame:0
          TX packets:4179719552 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3020796533 (2.8 GiB)  TX bytes:886090733 (845.0 MiB)
          Interrupt:27

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:44461 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44461 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3910181 (3.7 MiB)  TX bytes:3910181 (3.7 MiB)

wlan0     Link encap:Ethernet  HWaddr A0:F4:59:A8:F3:0D 
          inet addr:192.168.1.205  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

#