Showing posts with label HTTPS. Show all posts
Showing posts with label HTTPS. Show all posts

Tuesday, January 23, 2018

Dahua IP Cam Setup

  1. Power: this thing doesn't come with a power source.  Seriously
    1. PoE or 12V input.  Do not do both!
    2. If your camera is outside, do PoE.  Look for something like this to boost your power: Single Gigabit Port PoE+ Injector – 30W – 802.3at https://www.amazon.com/gp/product/B00B4H00EO/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 
    3. If you're going to do 12V
      1. BV-Tech DC12V 1A UL-Listed Switching Power Supply Adapter for CCTV - 5 Pack - Black
  2. Connecting to your camera
    1. Connect the camera via ethernet to your router/switch
    2. IE works OK but has issues.  Use chrome, it will prompt you to download and use a specific app.
    3. There appears to be no default IP - it's DHCP.  So log into your router and see what IP's are connected to it.  Mine always landed at 192.168.1.14 or .15.
    4. Open a browser to http://
    5. Default password is admin/admin

  1. Basic Setup
    1. Change the password:
      1. System | Account | click the pencil under "modify" | check "modify password"
    2. Connect to wifi:
      1. Network | wifi | check "enable" | double click the correct network and put in password
    3. Set the wifi IP address:
      1. Network | TCP/IP | At "ethernet card" click the dropdown and select "Wireless" | click the "static" button" | enter an IP address that you would like this camera to live on permanently | Click Save
      2. Set a new name for your device - something like "garage" or "front door" | click Save
      3. open the browser to your new IP address
      4. Unplug the ethernet cable
    4. Upgrade to latest code (very important if you don't want to get hacked)
      1. Find your device's latest firmware at https://dahuawiki.com/Firmware_Search_Tool/IP_Camera
      2. Unzip the package
      3. My firmware file was called DH_IPC-ACK-Themis_EngSpnFrn_N_V2.400.0000.15.R.20170804.bin
      4. System | Upgrade | Browse | Select the firmware file
      5. Click upgrade
    5. Set System Time
      1. System | General | Date&Time | Set your GMT time | Save
      2. Set DST here if you want.
  2. Advanced Setup
    1. Enable HTTPS (this is really important, it encrypts your connection to your camera)
      1. Network | Create | fill in all the boxes | change duration to 5000 days | click save
      2. Click install | Click download | Click save
      3. Check the box for "enable HTTPS" | Click save
    2. I set frame rate from 30 to 10 and enabled smart codec. https://www.dahuawiki.com/News/H.264_Plus_vs._H.264

Tuesday, June 21, 2011

NetApp Insights: WINS, HTTPS, CIFS

Couple questions came up recently, one being "Why does my FilerView only work over HTTPS now?"  I did some digging into it, and the reason for this is because HTTP SSL is enabled by default on ONTAP 8:


FASNAME> secureadmin status
ssh2    - active
ssh1    - inactive
ssl     - active"

That option works in tandem with the httpd.admin.ssl.enable on configuration, which specifically enables HTTPS for filerview.  If you are strongly against using https, you can turn this setting off, but if you don't have a specific need we'd obviously lean toward the more secure option :-)

"How do I configure WINS?"  You have to run cifs setup.  This will allow you to enter WINS servers, and you can run CIFS setup without having CIFS licensed.  Here's a sample script of responses:


cifs terminate   
cifs setup
This process will enable CIFS access to the filer from a Windows(R) system.

Do you want to make the system visible by WINS?: y
IPv4 address(es) of your WINS name server(s): 10.10.10.10
Would you like to specify additional WINS name servers? [n]: y
IPv4 address(es) of your WINS name server(s): 10.10.10.11
Would you like to specify additional WINS name servers? [n]: n
Would you like to reconfigure this filer as an NTFS only filer?: n
Would you like to change this name? n
Selection 1-4: (options are 1 enter a AD domain name, 2 Windows NT domain, 3 workgroup name, 4 NIS/LDAP)
Enter the name:

Done!

When you're done, run options cifs.wins_servers.  That command should let you know what WINS servers you have entered.

Pro reading: http://www.redbooks.ibm.com/redpapers/pdfs/redp4074.pdf