Notes - I used OpenWrt Barrier Breaker 14.07
see my Flashing firmware post
1: install uvc drivers: kmod-video-uvc (I did this from luci software menu)
2: install motion (I did this from luci software menu)
3: reboot
4: check camera is recognised - should appear in /dev/video0:
If all is good then.......5: edit the config file stored in /etc/motion.conf (I used WinSCP)
change the entries below......
daemon off
this will turn off daemon mode (so that in putty you will get an output to tell you what is going on for testing)
v4l2_palette 8
output_pictures off
to stop you running out of memory after 5 pictures!
note you could add a usb hub and mount a memory stick for extra memory then change
target_dir to your memory stick.
stream_localhost off
this will let you view the stream remotely ie not just from the localhost!
6: Save the config file
7: start motion from putty: motion -c /etc/motion.conf
open firefox on a pc (internet explorer didn't work) and goto http://192.168.1.1:8081/
or whatever the ip address of your router is.
And Voila......
On
No comments:
Post a Comment