Then mjpeg-streamer is not running on the Zyxel.
Which could mean that you enabled the mjpeg-streamer service, but did not start it yet (after it has been installed and "enabled", it goes into autostart at boot, but if you didn't reboot the device yet, there was no occasion for autostart, which means directly after installing you have to start it. once. Or reboot.)
Failing that, you need to check the logfiles on the Zyxel. It may very well be that mjpeg-streamer fails to start, and the logfile would tell you why.
Zrox
September 8, 2021, 9:33am
23
Ok. Please everyone wait for 10 min. I will reset the router and set up again than I'll upload all the logs here. We'll see what's going on.
1 Like
Zrox
September 8, 2021, 9:47am
24
So, this is the first issue!
I just reset the router settings, installed mjpg-streamer, rebooted the router. Nothing else I did! I can't even enable it. Why?
Zrox
September 8, 2021, 9:58am
28
/ worked. Enabled. Reboteed. But no connection to the webcam. 192.192.1.2:8080 doesn't work. Logs here.
frollic
September 8, 2021, 9:59am
30
Tue Aug 31 22:22:25 2021 user.info MJPG-streamer [1667]: MJPG Streamer Version.: 2.0
Tue Aug 31 22:22:25 2021 user.info MJPG-streamer [1667]: ERROR: could not find input plugin
Tue Aug 31 22:22:25 2021 user.info MJPG-streamer [1667]: Perhaps you want to adjust the search path with:
Tue Aug 31 22:22:25 2021 user.info MJPG-streamer [1667]: # export LD_LIBRARY_PATH=/path/to/plugin/folder
Tue Aug 31 22:22:25 2021 user.info MJPG-streamer [1667]: dlopen: Error loading shared library input_uvc.so: No such file or directory
frollic
September 8, 2021, 10:02am
32
you said you had installed kmod-video-uvc, did you reinstall it after reset ?
frollic
September 8, 2021, 10:12am
34
You'll ned to see if (and where) the input_uvc.so is actually located on the router ....
that's only way of doing that, is by using SSH to access it.
Zrox
September 8, 2021, 10:24am
35
I don't know the commands. Access accomplished to router via SSH but which commands do I need to check it? Could you write down that?
tmomas
September 8, 2021, 10:30am
36
This is looking strange to me:
Apart from that: Have you installed all other dependencies of kmod-video-uvc?
micmac1
September 8, 2021, 10:31am
37
Just install mjpg-streamer-input-uvc for starters.
1 Like
Zrox
September 8, 2021, 10:36am
38
Which dependencies? kmod-video-core is also installed.
micmac1
September 8, 2021, 10:57am
40
Now just restart the service.
micmac1
September 8, 2021, 11:09am
41
I dumped the contents of the 19.07 and 21.02 ipks.
19.07/etc/init.d/mjpg-streamer
19.07/etc/hotplug.d/usb/20-mjpg-streamer
19.07/etc/config/mjpg-streamer
19.07/control.tar.gz
19.07/data.tar.gz
19.07/usr/lib/output_http.so
19.07/usr/lib/input_uvc.so
19.07/usr/bin/mjpg_streamer
19.07/www/webcam/index.html
19.07/debian-binary
21.02/etc/init.d/mjpg-streamer
21.02/etc/hotplug.d/usb/20-mjpg-streamer
21.02/etc/config/mjpg-streamer
21.02/control.tar.gz
21.02/data.tar.gz
21.02/usr/bin/mjpg_streamer
21.02/debian-binary
mjpg-streamer 19.07 installs some plugins and extra files, output_http.so, input_uvc.so and /www/webcam/index.html. In 21.02 they're moved into their own packages.
mjpg-streamer-input-file
mjpg-streamer-input-http
mjpg-streamer-input-uvc
mjpg-streamer-output-file
mjpg-streamer-output-http
mjpg-streamer-output-rtsp
mjpg-streamer-output-zmq
mjpg-streamer-www
mjpg-streamer-www-simple
3 Likes
Zrox
September 8, 2021, 11:15am
42
Well. Do I need to install all of those single packages?
frollic
September 8, 2021, 11:21am
43
probably not *file, and perhaps not mjpg-streamer-input-http, the other one i'd keep.