Raspberry Pi as low-cost HD surveillance camera

FeaturedContest Winner
Picture of Raspberry Pi as low-cost HD surveillance camera
This instructable describes how to build a surveillance cam based on a Raspberry Pi micro-computer which records HD video when something moves in the monitored area. Live picture can be viewed from any web browser, even from your mobile while you're on the road.
What you will get:
  • See live stream in any web browser from anywhere
  • Record any motion into video file
Usually, such a cam will cost you around US$1.000, but with the result from this instructable, you will get such a cam for only about US$120.
Remove these adsRemove these ads by Signing Up

Step 1: Background

Picture of Background

Have you ever heard of Raspberry Pi? It's a low-cost micro-computer that is able to run Linux and has endless extension possibilities. It cost only about US$35 and opens up endless possibilities of what you can build with it. The official website can be found at

Step 2: Hardware components

Picture of Hardware components

We need some hardware for this project. This is a list of the major things we need:

  • Raspberry Pi Model B: This is the larger model of the Raspberry computer system with 700MHz and 512MB Ram. It supports HD video. You can easily order it from i.e. here. Cost: about US$40. You could also use the Raspberry Pi Model A which is slightly cheaper and consumes less energy. Stefan Knight has written an excellent article on how to run this whole project on a model A.
  • A housing for the camera: you don't need to buy a high-price-housing for your Raspberry. There are loads of very cheap fake security cameras available which perfectly fit our needs here. Search the web for "surveillance camera dummy" and you will find loads of housings for your new camera for only a few dollars. I.e. this one will do the job: for only US$9. We have ordered this camera housing for about 20€ in Germany that had enough space for all the components: You can use any camera housing, but only be careful about the size of the housing so that the Rasperry board will fit in there. The dimensions of the Raspberry board are 85.6 x 53.98 x 17 mm (approx 3.37 x 2.13 x 0.67 in).
  • Power supply: The Raspberry computer does not come with any power supply, you have to get one on our own. Any power supply with a micro-USB plug can do the job as long as it supplies at least 1A of power. We have ordered such a power supply which already has a micro-USB plug for about US$10
  • SD card: as the Raspberry Pi does not have any storage on board, you need to add some so that you can install and run the operating system for this device. Any SD or microSDHC should do the job, but we recommend using a Class 10 SD card. It's only around US$7
  • To connect this cam to your network, you also need some kind of network connection. One possibility is to use a LAN connection, but you would need to put LAN cable to the point where you want to mount the camera. A better alternative is such a WiFi USB adapter for only about US$10
That's all: for about US$120 we have all the hardware we need to build this HD surveillance cam.

Step 3: Install Raspbian

At first, you should install the OS and software to the Raspberry Pi before mounting it all together. An OS is the basic operating system software that tells the Raspberry hardware what to do. Linux is perfect for this. We have chosen Raspbian, as it's one of the most advanced OS for the Raspberry with loads of help and tutorials on the internet.
You need to prepare the SD card to be able to run Raspbian on the Raspberry: this excellent tutorial from Adafruit will explain the necessary steps.
Now temporarily connect your Raspberry Pi board to LAN cable, a monitor (HDMI TV works out of the box, but a HDMI-to-DVI cable like this will do the job as well) and a USB keyboard for the basic setup.
Insert the prepared SD card with the Raspbian installer on it and attach the power supply.
The Raspberry should boot up and guide you through the setup process as explained in this Adafruit tutorial. After this, you should have a basic Raspbian OS running.
Be sure to enable SSH in Raspbian so that you are able to control the Raspberry device also when there is no monitor and keyboard attached. And you should also enable the camera from the Raspbian setup menu so that we can use it for motion detection.
Now make sure your RPI is up to date:

sudo apt-get install rpi-update
sudo rpi-update

And also update all packages:

sudo apt-get update
sudo apt-get upgrade

Step 4: Connect via SSH

Picture of Connect via SSH

Now that the basic setup is done, you should connect to your Raspberry device from your computer. You can connect to Linux console from any computer in your local network and control it like you where sitting directly in front of it. This is very important as once mounted far away from your desktop, you need to be able to make updates and change the configuration of this camera any time later without the need to detaching it from the wall and bringing it back to your desk.

Remember that this cam is not just a dump cam device but a very powerful computer with Linux OS running on it. It's not limited to what we explain in this article now; it will follow any development in software so that you will be able to install updated software and more modules any time later.

First, you need a software to connect to the Linux console on the Raspberry. For Windows, you will need the extra (free) software PuTTY. Download it from the PuTTY website, install it and connect to your Raspberry Pi device:

From now on, you don't need any monitor and keyboard attached to the Raspberry anymore.

Step 5: Enable WiFi

If you want to run this camera with a WiFi USB dongle (like we've suggested in step 2), you will need to do some quick additional steps to make WiFi work on the Raspberry:
From the console (PuTTY window), edit the network properties of the Raspberry:
sudo nano /etc/network/interfaces 
Now add these lines at the end of the file (or change existing lines to match these):
allow-hotplug wlan0 
iface wlan0 inet dhcp 
(Fill in the SSID and password for your WiFi network)
Reboot the Raspberry with this command and see if it correctly connects to your WiFi network:
sudo reboot  

Step 6: Put the hardware together

Picture of Put the hardware together
Now it's time to assemble all the hardware components together into the housing. Depending on the housing, this should not be a too complicated job. Be sure to mount the Raspberry board safely so that it doesn't tumble around in the housing.
As our housing had a very large glass window at the front, we have closed it with a black paper with a hole in it. This has the advantage that the "tech" of the camera is not visible anymore. If you like the camera recording led to be visible, don't cover it. Whenever the camera is detecting any motion or is recording, the led light will glow in a very bright red.
You can also turn off the camera red LED by adding this line to /boot/config.txt:


Step 7: Installing the motion detection software

A very good (and free open-source) motion detection/surveillance software with many configuration options is motion.
We now need to install it using the command line (log in to your raspberry as user "pi"):
sudo apt-get install motion 
Some packages will be installed in the installation process; just type "y" to proceed with the installation.
As the current version of motion does not (yet) support the Raspberry camera module, we need to download and install a special build with support for this camera module.
cd /tmp 
sudo apt-get install -y libjpeg62 libjpeg62-dev libavformat53 libavformat-dev libavcodec53 libavcodec-dev libavutil51 libavutil-dev libc6-dev zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev
And now you need to unpack the downloaded file to the /tmp directory:
tar zxvf motion-mmal.tar.gz  
After this unzipping, you now need to update your installed motion with the downloaded build:
sudo mv motion /usr/bin/motion
sudo mv motion-mmalcam.conf /etc/motion.conf  
You also need to enable the motion daemon so that motion will always run:
sudo nano /etc/default/motion
and change the line to:
We're pretty sure that the official build of motion will shortly also support the Raspberry camera module as well.
A very important command to edit the motion configuration file is
sudo nano /etc/motion.conf  
Note: in the standard motion installation, the motion.conf is in /etc/motion/, but in the special motion-mmal build from dropbox-url (see above) it's in /etc/. If you follow this tutorial with all steps, this is no problem at all.
Be sure to have the file permissions correct: when you install motion via ssh while being logged in as user "pi", you need to make sure to give the user "motion" the permissions to run motion as service after reboot:
sudo chmod 664 /etc/motion.conf
sudo chmod 755 /usr/bin/motion
sudo touch /tmp/motion.log
sudo chmod 775 /tmp/motion.log  
We've made some changes to the motion.conf file to fit our needs. Our current motion.conf file can be downloaded here. Just download, unzip and copy the containing motion.conf to /etc/motion.conf if you would like to use the exact config options we describe below.
Some of the main changes are:
Make sure that motion is always running as a daemon in the background:
daemon on 

We want to store the logfile in /tmp instead (otherwise autostart user won't be able to acces it in /home/pi/ folder):

logfile /tmp/motion.log
As we want to use a high quality surveillance video, we've set the resolution to 1280x720:
width 1280
height 720 
We don't need real-time video, 2 pictures per second are totally ok for our needs:
framerate 2 
This is a very handy feature of the motion software: record some (2 in our configuration) frames before and after the motion in the image was detected:
pre_capture 2
post_capture 2 
We don't want endless movies. Instead, we want to have max. 10 minutes slices of the motion videos. This config option was renamed from max_movie_time to max_mpeg_time in motion. If you use the motion-mmal build, this one will work. If you get an error 'Unknown config option "max_mpeg_time"' either change this one to max_movie_time or make sure to really use the motion-mmal build as shown above.
max_mpeg_time 600 
As some media players like VLC are unable to play the recorded movies, we've changed the codec to msmpeg4. Then, the movies play correctly in all players:
ffmpeg_video_codec msmpeg4  
Enable access to the live stream from anywhere. Otherwise only localhost (= the Raspberry device) would be allowed to access the live stream:
stream_localhost off 
If you want to protect the live stream with a username and password, you should enable this:
stream_auth_method 2  
stream_authentication SOMEUSERNAME:SOMEPASSWORD 
All configuration parameters are explained in detail in the motion config documentation.
After your changes to the motion.conf, reboot the Raspberry:
sudo reboot  
After the reboot, the red light of the camera module should be turned on, which shows that motion currently is using the camera to detect any movement.

Step 8: Save videos on Windows shared folder

As the SD card of the Raspberry Pi is a pretty limited resource, we've decided to let the Raspberry cam store the videos on one of our Windows Servers. This is pretty easy:
First share a folder from some Windows machine. Just follow some guides on the internet if you've never shared a folder from a Windows machine before.
Then open the fstab configuration on your Raspberry from a PuTTY console or directly from the device:
sudo nano /etc/fstab  
Now add an extra line with the configuration of your Windows network shared folder:
//YOURSERVERNAME/YOURSHAREDFOLDERNAME /mnt/camshare cifs username=YOURSHAREDFOLDERUSERNAME,password=YOURSHAREDFOLDERPASSWORD,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 
Be sure that the user has the correct permissions to save files to that shared folder.
After a reboot, the Raspberry should have an extra folder /mnt/camshare mounted to the Windows shared folder. You should now set in your motion.conf:
target_dir /mnt/camshare 
so that motion saves all movies to the shared folder on the Windows machine.

Step 9: Fix motion autostart

Picture of Fix motion autostart
We had some trouble that motion was not automatically started on a reboot of the Raspberry. We've found out that this was because the mounted folder of the Windows machine was not yet ready when motion tried to access it.
A very quick fix solved our problem:
Just edit the motion file with
sudo nano /etc/init.d/motion 
and add the line
sleep 30 
to the start-sequence.
Our changed /etc/init.d/motion script can be downloaded from here.

Step 10: Mounting the camera

Picture of Mounting the camera
After all these steps, you can finally mount the surveillance camera to the destination point.
Some helpful hints:
  • Be sure to place the power supply in a dry and safe place
  • Keep an eye on the WiFi signal: if you mount the camera out of range of the WiFi, it won't be able to send any live video nor save any motion videos

Step 11: Accessing the live stream

Now you can access the live stream from the camera from any browser via the url http://IPADDRESSOFRASPBERRY:8080
Where 8080 is the port that we've configured for our stream in the motion.conf file. See your own configuration setting "stream_port" in motion.conf for the port.
We've found out that Google Chrome 30 (not even on iOS) wasn't able to play this stream directly due to a bug in the underlying Chromium project.
A workaround for this is to create a simple html file that contains one large image with the stream-url of the camera. See the file cam.html from This way, Chrome can show the live stream as well. Let's hope that Chrome will fix this issue in their browser.
But other browsers like FireFox, Safari and even VLC media player was able to show the live stream of the camera.
We were not able to make the live stream work in Internet Explorer as it doesn't support Motion JPEG. Kenneth Lavrsen (the maker of motion) has described workaround for live stream in Internet Explorer here.

Step 12: Access live stream from anywhere

Picture of Access live stream from anywhere

To make the live stream accessible from anywhere, you will need to enable some kind of dynamic domain services to your local network. This will enable you to always be able to connect to your local IP address from the outside even if your local IP address changes (over here in Germany, every private DSL ip address changes every 24 hours).
Such a (free) service enables you to access your Raspberry from anywhere even if your ip address changes. A very good service we're using for some years now is They have some free services and are integrated in many routers.
Once you have set up the dynamic ip url, you can access the camera stream from anywhere in your browser (i.e. http://YOURDYNAMICDOMAIN:8080).
And this also works from the browser on your mobile device.

Step 13: Next steps

There are a thousand things you can do with such a surveillance cam basic setup now. How about sending Growl notifications when some motion was detected? This guide explains how to add this functionality easily.

Or you could easily add a temperature-sensor to the cam. It's only a few bucks and can be integrated very easily.
We're currently working on integrating the live stream into MediaPortal server so that we can switch to a TV channel to see the live stream from the cam in our office.

If you want extra security, you could also add a battery pack to the camera. Be sure to buy one that is able to charge simultaneously while powering the Raspberry. This would enable you to detect if some bad guy cuts the power strips of your camera and send some alert messages to you (i.e. SMS or email) including the video of the disturber.

What are you going to add? Let us know!

1-40 of 301Next »

I so wanna make it :D

please work this time with all my expiriments. every time when i wanna do something like this, it always is broken :p

But this time i will fight (or not) for it!

This time i will buy i! (or not)

anjoze6 days ago

Thank you for sharing. Nice instructable.

Now there is a amazing software to do all that and much more:

ArthurK22 months ago

First off: thanks for the great instructable!

I have set up everything as given, there's just one problem: reasonably, the Pi can only save the recorded data onto the shared folder when my Windows PC is running. But I do not want to keep my computer continuously running while the camera is on. First off, I thought of storing the data onto some bigger storage device like an external HDD directly connected to the Pi, but unfortunately I do not have any of these at hand. So what other ways are there to store the cam's recordings (not involving the Pi's SD)?

My initial thought was to incorporate Google Drive or DropBox to it. Being a Pi amateur I don't have an idea on how to script that... but it's something I am also working on in my labs...

That should work fine, I haven't tried on an RPi, but getting Dropbox running is not hard:

I just purchased my RPi and it should be arriving today actually. After reading so many interesting projects, I can't wait to get my hands dirty. Anyways, I have been doing a fair share of research and I've found some interesting information where people have built file servers with their RPi. You could possibly use a large memory thumb drive attached to this server, that way if you choose to add more cameras it would be easy to link with your server and keep everything in one place.

-uGod-9 days ago


Thanks for this guide, it seems like it's exactly what i was looking for :)

My problem is:
I (think i) have done everything as the guide says, the Raspberry streams the video, i can open the stream, i see the video, but it stops after a second or two.
Then sometimes i can reopen the video, but mostly not. But the stream always stops after a second or so. It's the same with VLC and from a web browser.
In my config "stream_localhost" is off. Does that mean that i cannot stream the video in my local network? Or that it's not limited only for LAN?

Thanks :)

gcorwin14 days ago

This is a fantastic instructable I can't wait to try it out. One thing I am not clear on is the motion detection. Is the camera you mention capable of the detection or is there another module required for this? The way it's written it seems as if it is, but the manufacturer/distributor's description doesn't mention this. TIA

phucxun16 days ago

currently, i used board Mini2440 for IP Camera, it works fine. The whole project in my blog

Raspi and Mini2440 are same, i will try with raspi in future.

SurferL21 days ago

Hi, great tutorial - just a quick question with Step 8, I'm a bit confused with where I'm meant to be seeing /mnt/camshare..? Should this be on my windows network and in the folder that I'm sharing ? (and hence when I do "ls -l" on the raspberry pi, I should also be able to see /mnt/camshare somewhere?)


TheDDt SurferL20 days ago

I am a fairly new user of the RPi and Raspbian, but here is what I have found:

The /mnt/camshare will show up on your pi, as defined in the "motion.conf" file as "target_dir /mnt/camshare".

In my fstab file (/etc/fstab), I have the following:

// /mnt/camshare cifs guest,iocharset=utf8,file_mode=0777,dir_mode=0777,_netdev 0 0

The first portion is my ip address and folder on my pc (_My_Pi_videos), followed by /mnt/camshare and the other settings in the fstab.

To show the file system, type "df -h" at the command prompt. You'll see the breakdown of the file system... notice the last line. In my case, when the pi has mounted the pc, I see this:

Filesystem Size Used Avail Use% Mounted on

// 932G 778G 154G 84% /mnt/camshare

The first portion is the location of the shared folder on my pc (_My_Pi_videos) and the mount (/mnt/camshare).

After some trial and error, my RPi camera mounts the pc... most of the time. Sometimes it will not mount, and instead of dumping the pictures and video files on the pc, it will actually save the pictures on the RPi, in the /mnt/camshare folder. And what is strange (to me), sometimes when I check the the camshare folder... it's not a folder anymore but some type of text file instead... I have no idea what that is about. Rebooting usually fixes things, and it will then save pictures to the pc, or the /mnt/camshare folder.

Hope that helps...

claytoncohn25 days ago

Anyone know how to do this part on a mac? I'm stuck. Thanks!

jorgekantu25 days ago

I have done all the steps but, I cannot access to my camera from Firefox, do I need to do something else?

thank you

mr.espenk27 days ago

"sudo touch /tmp/motion.log
sudo chmod 775 /tmp/motion.log"

Why? This makes no sense. Let the daemon create it's own logfile upon boot and thus get the correct file permissions instead, everyone can write into /tmp.


I have tried this step 5 times and i always get the same error:

error opening file /var/run/motion/ with mode w+

I'm a bit desperate because I dont know how to fix it. I tried to give permissions to the /var/rum/motion folder but it doesn't work..

Also, in the /mnt/camshare, it doesnt appear my shared folder. Which username do I have to write on the /etc/fstab file? Is it mandatory to use username/password?

Could anyone help me please?


redbyrd691 month ago

looking at the config file options for motion on the page you linked for the software, the stream authorization options are nowhere to be found. is there a new way to add a username and password to the stream?

SteveD61 month ago

Thanks for the instructable! With the shared windows folder, will this require the Windows computer/server be constantly powered on? Or can the video be saved locally on the RPi's SD card until the Windows machine is powered on and then the file(s) can be auto-transferred?

scavix (author)  SteveD61 month ago
The Windows machine would need to be running all the time then.

Thank you for a great instructable! It is very clear and detailed. I followed it exactly and got it to work after two minor treaks: I changed the "/mnt/camshare/Cam1" into "/mnt/camshare" in /etc/motion.conf and created the "/mnt/camshare" directory myself with "sudo mkdir /mnt/camshare".

I noticed that increasing the framerate or stream_maxrate actually reduced the quality of the video. I had to reduce the width and height in order to use a higher framerate. Is there a way to record/stream HD images at framerate of 24 with raspberry pi B+? Will Raspberry Pi 2 help?

Thanks again for the tutorial and your help.

rasp12342 months ago

I´m receiving a message trying to set up motion in my raspberry pi

it says motion cannot create log file /home/pi/motion.log

I´m really new on this and does not know how to proceed

any way you could help me will be really appreciated


cdnr1 rasp12341 month ago

Did you solve it i have the same problem

I followed the instruction precisely since the motion.log needs to be in the /tmp directory. The motion application is owned and run by the "motion" user and the "motion" user does not have privileges to access the /home/pi directory. That is my understanding.

Pshock131 month ago

My problem in lies with step 8. It could be that I'm putting the path to my folder on my computer wrong. It could be that my computer name has a hyphen in it. (though i've also used my computer's IP address). Basically after editing the /etc/fstab file and rebooting my pi...there still is no /mnt/camshare folder.

When i run motion, the .log file says there's an error due to permission when saving to /mnt/camshare/filename.jpg

1. Why is /mnt/camshare not being created?

2. How to i check/change permissions of that folder?

I created the /mnt/camshare folder with: sudo mkdir /mnt/camshare. Then after reboot, everything worked.

I think that you must create /mnt/camshare .

You can check permissions with ls -al /mnt/camshare

Actually, I got it to the point where /mnt/camshare does create itself. But only when motion is taking/saving pictures. The problem now is that the pics are being saved in /mnt/camshare rather than //MYCOMPUTER/camshare.

I have since purged motion and am going to start over. I'll look into your permissions check when i get back to that point

Delovar6 months ago

Good day! Again, I have a problem. Video stream in my browser runs for a few seconds, and then disappears again. I do not know how can I fix it.

I lowered the resolution of 640 x 480, but it did not help.

Here is my log file:

[-1243011424] [NTC] [ALL] [Sep 03 02:27:56] motion_startup: Using log type (ALL) log level (ALR)

[1] [ALR] [VID] [Sep 03 02:27:56] mmalcam_start: MMAL Camera thread starting... for camera ( of 640 x 480 at 2$

[1] [ALR] [VID] [Sep 03 02:27:56] mmalcam_start: MMAL Camera using video capture

[1] [ALR] [VID] [Sep 03 02:28:04] MMAL Camera cleanup

[1] [ALR] [VID] [Sep 03 02:28:05] mmalcam_start: MMAL Camera thread starting... for camera ( of 640 x 480 at 2$

[1] [ALR] [VID] [Sep 03 02:28:05] mmalcam_start: MMAL Camera using video capture

[1] [ALR] [VID] [Sep 03 02:28:13] MMAL Camera cleanup

[1] [ALR] [VID] [Sep 03 02:28:14] mmalcam_start: MMAL Camera thread starting... for camera ( of 640 x 480 at 2$

[1] [ALR] [VID] [Sep 03 02:28:14] mmalcam_start: MMAL Camera using video capture

[1] [ALR] [VID] [Sep 03 02:28:22] MMAL Camera cleanup

[1] [ALR] [VID] [Sep 03 02:28:23] mmalcam_start: MMAL Camera thread starting... for camera ( of 640 x 480 at 2$

[1] [ALR] [VID] [Sep 03 02:28:23] mmalcam_start: MMAL Camera using video capture

temp08 Delovar1 month ago

So I went into motion.conf and changed the logging to ALL. Then I checked my log and found it wasn't able to write to the folder I had specified /home/pi/Desktop/Motion. So I gave it permission using: sudo chmod 777 //home/pi/Desktop/Motion and it's working now.

eminit Delovar2 months ago

did you figure this problem out? I just ran into the same issue

Flodder1 month ago

First i got a problem with the mounting the network share it did look around and found out that i need to add the workgroup after that it´s working for me


danijelg11 month ago

First thank you for great tutorial. I manage to follow it. But it will be nice to explain some additional things.

1) How to change resolution to 1920x1080? The camera support it but after I set it in /etc/motion.conf file the camera does not produce any files although red led on camera is on.

2) How to set different folder for stills and video? The default setting is %v-%Y%m%d%H%M%S-%g but I want stills in separate folder than video. What should I add before %v to put stills in separate folder from video? I tried everything but nothing seems to work.

There is one thing which I would also like to manage. How to set up the camera to sort images of the same day in folder which name would be the date of that day and to make sub directories which names would be hours of the day and images should be sort in that way?

so what you want is 12 folders 1-12 representing months and in those folders you want more folders 1-31 representing days?

I imagine you would just change your save location to %m/%d/filename.jpg

eburnett172 months ago

I'm getting files not found when trying to run this:

sudo apt-get install -y libjpeg62 libjpeg62-dev libavformat53 libavformat-dev libavcodec53 libavcodec-dev libavutil51 libavutil-dev libc6-dev zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev

The missing files seem to be centered around libavformat53 and libavcodec53. A total of 4 or 5 files can't be found. Of course motion will not run at all.

Is there another set of files that should be installed to make this work?

ArthurK22 months ago
Some days ago, I have found a solution by simply attaching a 16GB thumb drive to my Pi (Originally, I thought I would need some kind of external hard drive, but 16GB are actually fairly enough as for my purposes). Storing the data in the cloud would probably also be great, if you find a way how to script this, that'd be worth trying as you would not need physical access to your cam in order to get the recordings. Although I personally do not plan to add another cam, an NAS-like solution like dnickerson mentioned would be probably the best way to go if you have multiple cams.
AnanthS13 months ago

Sorry, if this is a silly question, but there wouldn't happen to be any changes if I'm using a Rasberry Pi B+ instead of a Rasberry Pi B would there?

scavix (author)  AnanthS13 months ago
Raspberry Pi B+ should work as well.
olulekan17 scavix2 months ago
Can you please explain the process i need to follow in step 7, which states that: just download unzip and copy the motion.conf to the /etc/ motion.conf. am so sorry for the silly questions, its just that my computing knowledge is very low. Thanks for your help
olulekan17 scavix3 months ago

Have downloaded the motion.conf file on my HP laptop and have also unzipped it but i don't understand how to copy it to the /etc/motion.conf. Can anyone please help me with this issue.tnx

kaime.welsh3 months ago

I followed this exactly about three times now, and everytime I have the same problem. Here's the log output:
"create_path: Problem creating directory /var/run/motion:

become daemon: Exit motion, cannot process id file (pid file) /var/run/motion/"

any help would be very much appreciated. Thanks!

olulekan173 months ago
Have downloaded the motion.conf file and have also unzipped it but i dont understand how to copy it to the /etc/motion.conf. Can anyone please help me with this issue
1-40 of 301Next »