I. Preparations
The first step is to have a router with openwrt installed. gubury includes at least two camera-related modules.
Kmod-video-core, kmod-video-Uvc
As well as MJPEG-streamer software, a non-drive camera that supports MJPEG output. I use hd5000. We recommend that you use hd3000, with little difference.
Ii. Test the camera
Insert the camera to the vro, and then SSH to the vro. Execute the logread command to print the terminal log after the vro is started. Search for "usbcore: registered new interface driver uvcvideo" and the words containing "/dev/video0. If yes, the drive-free camera is mounted successfully. If no, the camera is not supported.
3. modify the configuration file
On the terminal "/etc/config/MJPEG-streamer", change option enabled '0' to option enabled '1'. modify other parameters as needed.
Iv. Preview
Enter 192.168.1.1: 8080 in the address bar to see the effect.