D-Link Forums
D-Link FAQ => Network Camera FAQs => Topic started by: FredMa 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
-
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
-
The answer :
curl –digest http://user:passwd@MONIP/cgi/restart.cgi
;D
Fred