IdleMonkey
Posts: 2
Joined: Sun Mar 27, 2016 10:01 am

Help - How to add something to .conf

Sun Mar 27, 2016 1:32 pm

Hi, total noob, had my pi for just over a week. I have an IP camera that I am trying to operate with motion. I have followed a tutorial and am 99% of the way there. i just need to add the username and password of the camera into motion.conf. The username and password are both admin. I guess they need to go into this section below. I know how to modify the file, im just unsure were I need to add the password/username.



netcam_url value http://http://192.168.10.250:8080/videostream.cgi
# Username and password for network camera (only if required). Default: not defined
# Syntax is user:password
netcam_userpass admin:mypassword

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

Re: Help - How to add something to .conf

Sun Mar 27, 2016 4:12 pm

If both the username and password are "admin" then it would be:

Code: Select all

netcam_url value http://http://192.168.10.250:8080/videostream.cgi
# Username and password for network camera (only if required). Default: not defined
# Syntax is user:password
netcam_userpass admin:admin

Return to “Beginners”