goldserve 0 Posted August 28, 2013 From another thread, the URL http://IPADDRESS/cgi-bin/configManager.cgi?action=getConfig&name= gives alot of details and I wondered if I can change any parameters so I went ahead and modified some. My biggest gripe is that I can not record to FTP and SD card at the same time for redundancy and viewing from SD card in the new playback manager so I modified the following to record to both. table..RecordStoragePoint[0].VideoDetectRecord.AutoSync=false table..RecordStoragePoint[0].VideoDetectRecord.AutoSyncRange=0 table..RecordStoragePoint[0].VideoDetectRecord.Custom=false table..RecordStoragePoint[0].VideoDetectRecord.FTP=false table..RecordStoragePoint[0].VideoDetectRecord.Local=true table..RecordStoragePoint[0].VideoDetectRecord.LocalForEmergency=true table..RecordStoragePoint[0].VideoDetectRecord.Redundant=false table..RecordStoragePoint[0].VideoDetectRecord.Remote=true .Remote=true is actually NFS so i enabled this over FTP to save overhead. To enable NFS, enter the following: table..NAS[1].Address=192.168.10.245 table..NAS[1].Directory=/volume1/Camera/Garage table..NAS[1].Enable=true table..NAS[1].Password= table..NAS[1].Port=21 table..NAS[1].Protocol=NFS table..NAS[1].UserName= To confirm you have NFS mounted correctly after reboot, telnet into the camera (root/vizxv) and do a "mount": 192.168.10.245:/volume1/Camera/Garage on /var/tmp/nfs1 type nfs (rw,vers=3,rsize=131072,wsize=131072,soft,intr,nolock,proto=tcp,timeo=3,retrans=3,sec=sys,addr=192.168.10.245) /dev/mmc0p1 on /mnt/sd type vfat (rw,nodev,noatime,nodiratime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1) Both SD card and NFS is mounted! Happy hacking and report back if you find more juicy config options! Share this post Link to post Share on other sites
luckyfella 0 Posted August 28, 2013 and what does this hack accomplish? Share this post Link to post Share on other sites
goldserve 0 Posted August 29, 2013 Well, for one, the Dahua interface never allowed the user to record to both SD CARD + FTP together so this hack allows you to do this. Secondly, there is no interface to enter NFS server details so this hack allows one to mount an NFS server which is less resource intensive. Hopefully, others will discover some more useful things. Share this post Link to post Share on other sites
msecure 0 Posted August 29, 2013 From another thread, the URL http://IPADDRESS/cgi-bin/configManager.cgi?action=getConfig&name= gives alot of details and I wondered if I can change any parameters so I went ahead and modified some. My biggest gripe is that I can not record to FTP and SD card at the same time for redundancy and viewing from SD card in the new playback manager so I modified the following to record to both. table..RecordStoragePoint[0].VideoDetectRecord.AutoSync=false table..RecordStoragePoint[0].VideoDetectRecord.AutoSyncRange=0 table..RecordStoragePoint[0].VideoDetectRecord.Custom=false table..RecordStoragePoint[0].VideoDetectRecord.FTP=false table..RecordStoragePoint[0].VideoDetectRecord.Local=true table..RecordStoragePoint[0].VideoDetectRecord.LocalForEmergency=true table..RecordStoragePoint[0].VideoDetectRecord.Redundant=false table..RecordStoragePoint[0].VideoDetectRecord.Remote=true .Remote=true is actually NFS so i enabled this over FTP to save overhead. To enable NFS, enter the following: table..NAS[1].Address=192.168.10.245 table..NAS[1].Directory=/volume1/Camera/Garage table..NAS[1].Enable=true table..NAS[1].Password= table..NAS[1].Port=21 table..NAS[1].Protocol=NFS table..NAS[1].UserName= To confirm you have NFS mounted correctly after reboot, telnet into the camera (root/vizxv) and do a "mount": 192.168.10.245:/volume1/Camera/Garage on /var/tmp/nfs1 type nfs (rw,vers=3,rsize=131072,wsize=131072,soft,intr,nolock,proto=tcp,timeo=3,retrans=3,sec=sys,addr=192.168.10.245) /dev/mmc0p1 on /mnt/sd type vfat (rw,nodev,noatime,nodiratime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1) Both SD card and NFS is mounted! Happy hacking and report back if you find more juicy config options! If you off/on the IPC this settings will be gone? Share this post Link to post Share on other sites
goldserve 0 Posted August 29, 2013 Settings will stick. They are imported by the config file. Share this post Link to post Share on other sites
buellwinkle 0 Posted August 29, 2013 So I understand this, if I have the latest firmware, I can have it write to an NFS mount which is not even an option on the menus. Can you playback from the menus? What NFS are you using, one of the Windows versions, Linux NFS? Share this post Link to post Share on other sites
goldserve 0 Posted August 29, 2013 With this hack, you can write to both NFS and SD card at the same time so you can play back from SD card with a network backup. I am using the same synology NFS server in the latest DSM 4.3 as with my Hikvision bullet. Share this post Link to post Share on other sites