• September 21, 2018, 12:41:04 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Compiling Souce Code  (Read 2646 times)

Thadiusdog

  • Level 1 Member
  • *
  • Posts: 7
Compiling Souce Code
« on: September 19, 2016, 02:04:12 PM »

Greetings All,
I've been playing around with compiling source code. 
I'm curious if anyone knows how the camera determines it's model?

I found a watchdog script that uses mdb get dev_model.  That seems to give me the info I want but other than the watchdog I don't think anything else is using it to get the info. 

Thanks
Ed
Logged

Thadiusdog

  • Level 1 Member
  • *
  • Posts: 7
Re: Compiling Souce Code
« Reply #1 on: September 22, 2016, 09:01:07 AM »

Just adding some stuff here in case anyone is interested....

Had a 2132L-ES camera.  Looking at source code I couldn't find differences between the 2132L-ES and 2311L-ES.
Looked at ways to make the 2311 look like a 2132 and found the Rules.make file.  It specified a MODEL variable so I changed the model to the one used in the 2132 ( it's not 2132 but rather some other unique specifier). 

Updated the firmware but it just sort of bricked the camera.  Couldn't get it to do anything.

Unbricked by putting the FW on the SD card and resetting the camera. 
http://www.dlink.com/uk/en/support/faq/cameras-and-surveillance/dcs-series/dcs_recovery_procedures_after_bad_flash_firmware

I found a way to change the name of the camera in the web gui interface.  The overlay of the true model is still on the live video but when emails are sent it says it came from the changed name.  I suppose just a nice thing for the end user so you can distinguish between different cameras that are sending you alarms.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 45771
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: Compiling Souce Code
« Reply #2 on: September 22, 2016, 09:06:30 AM »

Thanks for posting this and the detailed info.
Hope it might help future users.
Logged
"Nothing Funny about It...." We are not here to Impress anyone! You have a be a COMPETENT user first to under stand COMPETENT help!