• July 17, 2018, 12:08:33 PM
  • 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: Reboot DCS935L with command line  (Read 1156 times)

FredMa

  • Level 1 Member
  • *
  • Posts: 5
Reboot DCS935L with command line
« on: September 07, 2017, 12:38:54 PM »

Hi,
I use a DCS935L camera with motioneye but sometimes connection rtsp to camera (rtsp play1.sdp) freeze.
I would like to check logs of motioneye and restart camera when connexion is lost.
I am looking for the command to restart the camera with a line command.
I try without success this : http://user:passwd@IP_ADDRESS_HERE/setSystemReboot
My Firmware is 1.10.01

Have you got an idea ?

ALl thanks
Fred
Logged

FredMa

  • Level 1 Member
  • *
  • Posts: 5
Re: Reboot DCS935L with command line
« Reply #1 on: September 07, 2017, 04:39:40 PM »

I have found the url : http://user:passwd@MONIP/cgi/restart.cgi
It's ok from Firefox but it doesn't work with curl in a script :
curl http://user:passwd@MONIP/cgi/restart.cgi
or
curl -u user:passwd http://MONIP/cgi/restart.cgi

Do I need something else ? (token ?)
Fred
Logged

FredMa

  • Level 1 Member
  • *
  • Posts: 5
Re: Reboot DCS935L with command line
« Reply #2 on: September 09, 2017, 06:25:14 AM »

The answer :
   curl –digest http://user:passwd@MONIP/cgi/restart.cgi
 ;D
Fred
Logged