silvanmelchior / RPi_Cam_Web_Interface

A web interface for the RPi Cam
MIT License
1.54k stars 493 forks source link

automatic motion start after reboot #233

Open degufo opened 8 years ago

degufo commented 8 years ago

Hi guys!

How can i automatically start the motion after a cronjob reboot at midnight?

The scheduler faq is not really a help for me.

Thank you so much in advance!

best, peter

roberttidey commented 8 years ago

You can have motion detect come on automatically after a reboot by setting motion_detection true in the /etc/raspimjpeg file

degufo commented 8 years ago

WOW! Thanks man! i can´t find this info in the readme @elinux wiki...

MANY MANY THANKS!!!

Could you help me with another problem?

I very very much excuse because i know that this is not the plattform to post such thing, but as i see someone with very much knowledge, i have to try it, knowing the risks:

I am trying to make a copy of the SD-Card with DD (diskdump). for backup reasons i use a 8GB card and therefore write a 8GB image with DD. (for convenience i automatically zip it during the dd progress).

After renaming the unzipped file to .img i write it to another (not the same, or the same sd card, makes no difference at all) sd card, the raspberry boots up and comes to a halt with the following error code:

EXT4-fs error (device mmcblk0p2): ext4_iget :4077: inode #261635: comm lightdm: bad extra_isize (65663 !=256)

I have absolutely no idea what that means, except it is very much clear that this is a filesystem ext 4 error...