Installation of Patch

Download the patch file. If it is packed as a gz or tar.gz unpack it first. Then copy it to the motion source directory and issue the command (assuming the patch file is called motion_stream_auth.patch)

You don't need the path, just download the latest verision: http://www.lavrsen.dk/sources/motion-daily//motion-20120605-224837.tar.gz and run "./configure" and then "make" to get the latest version of motion with authentication for streams. Just tried it out on Raspberry Pi and works great. BTW, you will want to add this to track.c: #include <linux/videodev2.h> to get past a compilation problem on Raspberry.

hi XrakEn, it's taken me ages to get motion set up and working. if i download the latest version above and ./configure and make as you say, will it just neatly update the version i am running leaving me to just re-edit the motion.conf or do i have to remove the current version? thanks d

XrakEn, DonAitken -
Also interested in adding a password for the webcam stream. And I'm also confused on what exactly I need to do with the patch file to get it incorporated into motion.

I'm one of the newbies. Does this sound right?

1) Download the tar.gz file.
2) Move the tar.gz file into /etc/motion/ directory, where the motion.conf file is?
3) "cd" into /etc/motion/ directory.
4) run "./configure" and "make"??? This part doesn't seem to work for me.

tried AngelCarpintero way and once ive copied the files from my old config folder to the new one and edited to suite the new version, the web stream didnt work at all. pulled my hair out last night with it

ended up removing and and going back to the version from apt-get install motion

# The setting for keep-alive of network socket, should improve performance on compatible net cameras.
# 1.0: The historical implementation using HTTP/1.0, closing the socket after each http request.
# keep_alive: Use HTTP/1.0 requests with keep alive header to reuse the same connection.
# 1.1: Use HTTP/1.1 requests that support keep alive as default.
# Default: 1.0
netcam_http 1.1

server is not prompting for authentication for the stream. however authentication is working for http based control.

Hi guys ,
i have installed motion 3.2.12 on my pi , and it's work great on IPV4 , but cant access using IPV6 ,
is the link for the latest version motion above is include for service using IPV6 ,
or some one can tell me other solution to make my motion work on IPv6?
so much appreciate for the answer later ,
thanks.

dear sir , AngelCarpintero
i have followed your step , but at last step , that is command "./motion" i got a problem , the system always ask for permisission like this :
root@raspberrypi:/usr/local# ./motion
bash: ./motion: Permission denied
maybe you can help me sir , ?