hi,
i have an issue to enable or disable motion by curl
i saw a person who used http://username:password@cameraIP:port/config/motion.cgi?enable=yes
this command doesn't work with me
[root@master 192.168.1.20]# curl http://admin:mypasswd@192.168.1.20:80/config/motion.cgi?enable=yes
<html><body><h1>The request is forbidden.</h1></body></html>
my hardware version
Version du microprogramme 2.14.04 (2016-09-09)
Hardware Version B
Version Agent 2.1.0-b41
it's not a authentication problem , if i try this command , i have a result
[root@master 192.168.1.20]# curl http://admin:mypasswd@192.168.1.20:80/motion.cgi
MotionDetectionEnable=0
MotionDetectionBlockSet=1111111111111111111111111
MotionDetectionSensitivity=60
MotionDetectionScheduleMode=0
MotionDetectionScheduleDay=0
MotionDetectionScheduleTimeStart=00:00:00
MotionDetectionScheduleTimeStop=00:00:00
without authentication
[root@master 192.168.1.20]# curl http://192.168.1.20:80/motion.cgi
<html><body><h2>Error: Authorization Required</h2>
<p>Authentication was requested</p></body></html>
does the folder named config really exists or i missed something ?
thx for your help.