CBX
Members-
Content Count
202 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Everything posted by CBX
-
How to put Hikvision IP camera into Debug Mode
CBX replied to CBX's topic in IP/Megapixel Cameras and Software Solutions
Though you can start davinci in console mode, but it's a bit of a hassle. While I'm here, how to enable FTP on 5.1 # setFtpService start Enable ftp service. Login with root and (admin) password. You could also just use iptables. -
How to put Hikvision IP camera into Debug Mode
CBX posted a topic in IP/Megapixel Cameras and Software Solutions
Hi all I just thought I'd share how to put your Hikvision camera into debug mode as it might prove helpful if you have issues. I asked Hikvision support, and they said debug was for internal use only and they wouldn't share this. So I've figured it out myself. Telnet into your camera (emable first if needed). # setDebug -h setDebug : Set debug parm. module name is nessary e.g. setDebug -l 2 -m rtsp -d 111 -l, --level range is 0~7: 0:NON 1:SYS_ERROR 2:RT_ERROR 3:KEY_WARN 4:NORMAL_WARN 5:DEBUG_NOTICE 6:DEBUG_INFO 7:DEBUG_ALL_DAV -d, --display from right to left: first bit'1' is show 'line'; second bit'1' is show 'function name'; third bit'1' is show 'file name' -m --module moudule name. below is all modules name ALL module class NETPRO_CLASS: RTSP WEBSERVER ONVIF PSIA CGI SDKCMD UNI_IF RTCP module class SYSFUN_CLASS: SYSINIT RECORD SYSLOG ALARM_EXP HDMANAGER SD NAS MOTDETECT FTP CAPA PIC module class NETFUN_CLASS: SADP ARP SNTP DDNS EMAIL PPP 8021X GB28181 TSOCKS module class HW_CLASS: HW_IF DSP FPGA RTC SENSOR PTZ MOTION DOME STRM_ANLS module class OTHER: OTHER IPZOOM IPZOOM_AF IPZOOM_AE # So to debug NAS: setDebug -m NAS -l 6 -d 111 # outputOpen redirectionOutput success. [01-23 11:58:52][NAS][DEBUG][nfsApp/nfsapp.c 332][check_and_repair_unformat_nas]nfs disk(8, 0) nas directory is OK!, rt_er 1 hdstat 0x0 When you have had enough: # outputClose redirectionOutputCancle success. Seems someone can't spell cancel Hope this is useful. Wish Hikvision would just tell people this if they want to know. -
HikVision DS-2CD2132-I Windows share
CBX replied to buggah's topic in IP/Megapixel Cameras and Software Solutions
The reason why it works for some and not others is likely due to the way Hikvision detects the free space available on a share. If you have trouble, make sure the share is on a server partition with nothing else on (either in the share or on the server partition). -
I'm afraid I don't know anything about those products - I'm using a real linux server which takes cares of all my other server needs (email, file sharing, XBMC etc). If you can't get behind the scenes to partition how you like, it should be possible to patch davinci on the camera to hardcode the server reported size to something like your desired quota size. Davinci would then be happy I think. However, you would need the rights skills for that which not everyone has. Hopefully Hikvision will further improve the NAS functionality.
-
That's what causes the problem. The camera can see the 5543Gb capacity reported by the NFS server, and thinks it should have access to all of it (regardless of any server side quota you set). It wants 5543Gb free space and considers the share invalid otherwise. That's why you need a separate server partition for each share, so the reported capacity of that partition is fully available to the camera. It would be helpful if Hikvision changed this so you could set the quota camera side, or at least make this limitation clear to customers. Your SD card doesn't have that issue, so works fine. The hex code doesn't exist in 5.1, as they changed the behaviour to try to make things more stable (it is with 1 server dedicated partition per share). You might want to check out my post about how to enable camera debugging. It may (or may not) be of some limited use.
-
5.1 is flaky if your NFS share is on a server partition with other things on besides that share (e.g. other shares, other server files). If the server partition is dedicated to the share and only the share you shouldn't have problems. I created some partitions on my server (using the loop back device) and shared them 1 per NFS share and all is well. This shouldn't be needed but is to do with the way the Hikvision fw expects the entire server reported space to be available for the share.
-
How to put Hikvision IP camera into Debug Mode
CBX replied to CBX's topic in IP/Megapixel Cameras and Software Solutions
Aside from enabling the debug log, dmesg is full of interesting stuff, though more to do with the hardware & OS than the davinci application (which does all the camera stuff). No other logs as far as I am aware. -
2 Hikvisions recording to laptop w/ NAS4FREE and ext HDD
CBX replied to bucket772's topic in IP/Megapixel Cameras and Software Solutions
If you have problems with 2 server directories, try 2 server partitions. That's what fixed it for me. -
DS-2CD2732F-IS sound question
CBX replied to CBX's topic in IP/Megapixel Cameras and Software Solutions
Thanks guys Placed my order. -
Hi I am considering a DS-2CD2732F-IS. I won't be using an management software, but recording to NAS or SD. Does the audio it picks up get recorded in the .mp4 files? How about any audio output to the speaker (whcih would need to come from a software source)? Also, I am a bit confused about the VF lens element. Do I still need to specify what lens the camera needs (2.8 - 12mm) or is the VF capable of that range? I'm thinking of buying from here http://www.aliexpress.com/item/HIKVISION-20-meters-1080P-IR-dome-network-cameras-support-POE-DS-2CD2732F-IS-popular-onvif-3mp/1414666334.html Thanks
-
DS-2CD2732F-IS sound question
CBX replied to CBX's topic in IP/Megapixel Cameras and Software Solutions
Thanks for the reply Is the audio from the microphone (and outputted to the speaker) recorded with the video? -
Problem with Hikvision 2032-I
CBX replied to tdenson's topic in IP/Megapixel Cameras and Software Solutions
I assume all the switch lights for the camera network port look fine. Also that there are no firewall issues on your PC. You could run a network scan using something like nmap Or a network sniffer looking for broadcasts from the cameras MAC address. -
I've now got things to work on 5.1 (yay). I formatted a USB stick with ext3 and exported over NFS - this was rock solid. I wondered why. I created a partition using a physical file on a hard disk, and intially this failed when initializing on the camera. It was 2Gb. 4Gb also failed but when I created a 10Gb partition this works! Commands I used if you are interested: # dd if=/dev/zero of=/mnt/hdd/ipcam/ipcam1 count=2500000 bs=4096 # mke2fs -q ipcam1 ipcam1 is not a block special device. Proceed anyway? (y,n) y # mount -o loop /mnt/hdd/ipcam/ipcam1 /mnt/ipcam1 My /etc/exports: /mnt/ipcam1 192.168.0.205(rw,fsid=1,insecure,no_subtree_check,async,anonuid=1005,anongid=1005,all_squash) Now seems rock solid. Before I was sharing an empty directory on a hard disk with lots of other things on, and though there was 35Gb free and no other NFS shares for some reason that was a problem. EDIT: Repeated the above and shared via CIFS instead of NFS. Again - problem resolved.
-
I had a teamviewer session with EU support, and showed them the issue - including a telnet session on the camera showing the NFS share was mounted, could read and write to it, but the storage location wouldn't stay normal. In terms of debugging, I think I know how to set it but it doesn't show anything # cd /home # setDebug -m NAS -l 6 -d 111 modulename level display(FILENAME,FUNCTION,LINE) NAS 6 111 # debugLog # Maybe there's a proc setting, module or boot option that needs enabling though. I asked for that info from them as I might be able to figure it out on my own. They are going to get back to me. I also gave them this forum link to indicate others have problems too, whereas things worked with 5.05 (to some degree anyway).
-
I just got a 2032, which came with 5.02. Recording to NFS works, but goes back to uninitiazed upon reboot. Upgraded to 5.05 and still the same issue. Upgraded to 5.10 and no matter what I do neither NFS nor CIFS works. The share gets mounted, and works fine on the camera within telnet (I can read and write to the share), but it won't stay Status Normal even if I don't reboot. Is Hikvision aware of this? Was slightly concerned there was something wrong with my camera until checked on here Any ideas re the rebooting = uninitialized issue? EDIT: I also needed to add / in front of the CIFS file path to get it to mount. That might be of some help to anyone who doesn't know. Also to mention i did make sure webcomponets was up to date. I've sent my report to supporteuro@hikvision.com as I am in the EU.
-
Hi Sorry if these are lame newbie questions I shouldn't be asking. I'm thinking of getting 4 Hikvision DS-2CD2032-I cams and plan to have them record only due to motion detection. I've looked at the online manual which seems to suggest this is possible. I am not interested in image snapshots only which some other cams seem to only offer, but rather video. Additionally, other cam manuals seem to offer only 10 - 20 seconds recording in motion detection situations which always leaves me wondering what happens if there is 40 seconds of action (2 files or 20 seconds missing?). Recording to a NAS, do these cameras record video upon motion detection (hardware not using software) to a NAS for as long as there is something happening? I plan to have 4 pointing to the same NAS on a 100mbps network, although motion would be reasonably rare (say 10 - 20 times a day). Does this sound reasonable? I'd rather the cam had SD card but cams that do are out of my price range it seems. Last but not least can you telnet to these cams? Had a poke in the firmware and it looks like you can but like to ask those that know! I'm in the UK so any recommendations about where to buy would be appreciated. Cheers
-
Hikvision DS-2CD2032-I questions
CBX replied to CBX's topic in IP/Megapixel Cameras and Software Solutions
That's the point behind by NFS server idea - if I could compile NFS support the camera might be able to share out it's own SD card to other non SD cams. I think it's definately technically possible - but as for whether anyone can actually do it I'm not sure. A new busybox would be needed, not sure about kernel (the latter requiring custom firmware). -
Hikvision DS-2CD2032-I questions
CBX replied to CBX's topic in IP/Megapixel Cameras and Software Solutions
Any idea how one SD card camera records to the SD card in a different camera? One of them would need to be running some kind of server. -
Hikvision DS-2CD2032-I questions
CBX replied to CBX's topic in IP/Megapixel Cameras and Software Solutions
I had the idea of buying one Hikvision with an SD card, and pointing the other non SD card Hikvision's to it using NFS, effectively turning it into a NAS. Admitedly that could be a problem if they all detected motion at the same time. It didn't look in the firmware image that NFS server support was enabled (fair enough given the intended purpose), but I wondered if I could compile a suitable binary with NFS server support and put it in the writable part of the file system. Just sharing my thoughts on this. -
Hikvision DS-2CD2032-I questions
CBX replied to CBX's topic in IP/Megapixel Cameras and Software Solutions
Are you in the UK though? -
Hikvision DS-2CD2032-I questions
CBX replied to CBX's topic in IP/Megapixel Cameras and Software Solutions
The cheapest in the UK seems to be around the £150 mark, which is $245. So, £600 for 4 cameras or $1000. Will keep looking around suppliers to see if I can do better ...could really have spotted your blog link if I'd have had my eyes open -
Hikvision DS-2CD2032-I questions
CBX replied to CBX's topic in IP/Megapixel Cameras and Software Solutions
Thanks for the reply - that clears some things up. So there is no 20 second max duration in the event of motion detection. I don't mind NFS as the NAS box is my linux box which also runs XBMC (I plan to use XBMC to view live streams and watch motion detection recordings from the night before). Haven't setup NFS for a few years but as a former linux sys admin I'm sure it will all come back. I appreciate that this depends on the implementation on the cameras though - thanks for pointing that out. Could you give me a link to your blog? There's quite a large price difference between the cameras in the US and the UK which might make it worth importing, though there is postage and import duty to consider. -
Interesting enough (and if not already known to all), the firmware for the DCS-7110 looks to be the same (or as near as makes no difference) to the Vivotek IP8332. On the DCS-7110, the firmware version file says IP8332-DLNK-0104b. On the IP8832, the firmware version says IP8332-VVTK-0300e The /cgi-bin/admin/mod_inetd.cgi?telnet=on should work to turn on telnet on the Vivotek IP8332 also. If anyone sees this and wants to give it a go please let me know.
-
Hi all I'll post here as the D-link forums don't like my IP range/ISP for some reason. I'm thinking about buying 4 D-link DCS-7110s but being a linux geek it would drive me nuts to have them on my network and not have telnet/ssh access on them. Poking around the firmware seems to suggest telnet is disabled but /cgi-bin/admin/mod_inetd.cgi?telnet=on would turn telnet on. Authentication might be some trouble but I can see the passwd file so I'm sure that could be overcome. Does anyone know if this works (and maybe on other D-link cams too)? I can't see this URL listed anyway using a Google search. ------------------------ Also motion detection on these cams is limited to 20 seconds per recorded file (according to the manual). What happens if there is 30 seconds activity? 2 files or last 10 seconds not recorded? Thanks