http://www.averagemanvsraspberrypi.com/ ... urity.html

Kirkbybil wrote:Thanks for the reply- I got the Network share running and it's now sending the videos to my NAS.
Do you have a date estimate for the next version release? I really just need to be able to turn off the camera LED as I am setting up two bird boxes and I think this will be a better and more reliable solution.
I can live without static IP addresses so my only problem is that I want to nail them up on the wall in the next week but the red light might put off nesting birds (it will look too much like a brothel so I will only get birds of ill-repute)
I could always try covering it with a sticker I suppose and then upgrade later but once they are up the wall I can't get to them for several months so it's risky if an upgrade bricks it.
sav25 wrote:Top stuff Crisan, looking forward to it!
Quick question - can you add generic IP cams to MotionPie?
sav25 wrote:Ohhh I see! Dumb moment...Wednesday is a killer.
MotionPie makes my Pi like an IP cam...of course...well I'm earning my 'average' name today!
Cheers
Kirkbybil wrote:Thanks for the reply- I got the Network share running and it's now sending the videos to my NAS.
Do you have a date estimate for the next version release? I really just need to be able to turn off the camera LED as I am setting up two bird boxes and I think this will be a better and more reliable solution.
I can live without static IP addresses so my only problem is that I want to nail them up on the wall in the next week but the red light might put off nesting birds (it will look too much like a brothel so I will only get birds of ill-repute)
I could always try covering it with a sticker I suppose and then upgrade later but once they are up the wall I can't get to them for several months so it's risky if an upgrade bricks it.
Kirkbybil wrote:Wow - Thanks for the fast response. I have no idea what to do with the script but I'll see if I can figure it out from your instructions.
I assume I just run it with the parameters I need, as opposed to changing anything in the actual script?
Thank you!
Kirkbybil wrote:I have tried running the script but I get the following error:
:: writing disk image to sdcard
dd: bs: illegal numeric value
I get this even if I strip the command back to just : ./writeimage.sh -d /dev/rdisk1 -i /Users/A/Desktop/motionPie-20140901.img
If I copy the image 'normally' using: dd if=/Users/A/Desktop/motionPie-20140901.img of=/dev/rdisk1 bs=1m it works fine?
A couple more questions: I have never used cidr before - do I need it? If not do I just remove '/cidr' ?
Is DNS the same as Netmask in this case on my home network?
Does overclocking have any impact on video recording performance ie can framerates/resolutions be higher? If so is there any guidance on this and any downside?
Sorry to have so many questions but I'm learning and hopefully they will help others.
Thanks again.
Kirkbybil wrote:Hi, Thanks for the response, I tried the script with your changes an suggestions but the light remains on and the Static IP does not get assigned. I changed the bs=1m as advised and ran as follows:
./writeimage.sh -d /dev/rdisk1 -i /Users/A/Desktop/motionPie-20140910.img -l -s 192.168.2.99/24:192.168.2.1:8.8.8.8
:: writing disk image to sdcard
140+0 records in
140+0 records out
146800640 bytes transferred in 7.619787 secs (19265714 bytes/sec)
:: mounting sdcard
mount: You must specify a filesystem type with -t.
The image works fine but the parameters didn't change. I can turn off the LED by editing config.txt but not sure how to manually add the IP.
Kirkbybil wrote:I am using terminal on my mac to run the script and write the image. This is how I have written the image in the past. Is this not the way to do it?
Kirkbybil wrote:As everything else seems to work, and I can change the LED in config.txt is it possible to put the IP etc details into the script manually?
ie could I insert my IP in this line for example?:
sed -i "s%static_ip=\"\"%static_ip=\"$IP\"%" $conf
.. and if so where would it go?
bcre3306 wrote:So I am trying to record all the time and not just when motion happens. I tried the suggestion on the previous page to set the frame change threshold to 0 but that forces it to record nothing. If I change it to .01 it records but eventually stops and starts back up when motion reactivates it. Any other suggestions on how to accomplish full time recording? Also if I could have it create a new file everyday that would be awesome!
Thanks!