Now, do you want me to do this on the tp-link where kmod-usb2 is lost on each reboot or are you wanting me to do this on the gl.inet which kills the streaming program?
I'll start with the gl.inet first since that's the one I'd like to get running.
The following is with the streaming program running, before I go to the browser url;
# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 11.6M 1.1M 10.5M 10% /
/dev/root 2.8M 2.8M 0 100% /rom
tmpfs 30.0M 112.0K 29.9M 0% /tmp
/dev/mtdblock6 11.6M 1.1M 10.5M 10% /overlay
overlayfs:/overlay 11.6M 1.1M 10.5M 10% /
tmpfs 512.0K 0 512.0K 0% /dev
# free
total used free shared buffers cached
Mem: 61360 32884 28476 112 2652 9052
-/+ buffers/cache: 21180 40180
Swap: 0 0 0
Head for the browser, click on http://192.168.1.72:8080/?action=stream
The blue light on the camera flashes for a second then mjpeg-streamer dies.
# df -h
Shows identical to the first run.
# free
total used free shared buffers cached
Mem: 61360 24908 36452 112 2652 9052
-/+ buffers/cache: 13204 48156
Swap: 0 0 0
Now, I see this which thanks to you is something valuable I didn't know about, logread
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: starting application
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: MJPG Streamer Version: svn rev: Unversioned directory
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: Using V4L2 device.: /dev/video0
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: Desired Resolution: 1280 x 720
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: Frames Per Second.: 5
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: Format............: JPEG
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: TV-Norm...........: DEFAULT
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: FPS coerced ......: from 5 to 15
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: Frame period time ......: 200 ms
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: www-folder-path...: /www/webcam/
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: HTTP TCP port.....: 8080
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: username:password.: openwrt:openwrt
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: commands..........: enabled
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: starting input plugin input_uvc.so
Sun Jan 28 16:33:54 2018 user.info MJPG-streamer [25009]: starting output plugin: output_http.so (ID: 00)
Sun Jan 28 16:33:55 2018 user.emerg syslog: 2018-01-28 16:33:55
Sun Jan 28 16:33:56 2018 user.emerg syslog: 2018-01-28 16:33:56
Sun Jan 28 16:33:56 2018 user.info MJPG-streamer [25009]: serving client: 192.168.1.205
There is nothing, at least to me, showing why the streaming program died however.
another oddity is that running logread -f doesn't show all of the above and only shows the serving status, as seen as the last line in the above log.
(Last edited by projects on 28 Jan 2018, 17:59)