What's new

[Tutorial] Webcam video surveillance via mjpg-streamer

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Ok got it formatted to ext3 on the device.
Now I'm starting from scratch.

Hope I help someone.
Unmount by clicking on the usb icon up top, then type
Not sure how they do it since unmount doesn't work nor does rm ing the mount
mkfs.ext3 /dev/sda1
 
Last edited:
Ok finally working great
Except LED will not turn off, anyone got it to turn off?
I uncommented the led off line
 
Ok final issue other than led off not working.

Upon reboot, the scripts aren't running.

Does /opt/etc/webcam/videomod.sh load need to be in post-mount?

I had jffs, is there another setting in merlin to actually run scripts?
 
When trying post-mount manually I get this

admin@(none):/tmp/home/root# sh /jffs/scripts/post-mount

Usage: /opt/etc/init.d/S99webcam { start | stop | restart }

this is inside

#!/bin/sh
/opt/etc/init.d/S99webcam start

EDIT: This is probably not a proper way to execute this file manually but just using the file gets this

admin@(none):/tmp/home/root# /jffs/scripts/post-mount
-sh: /jffs/scripts/post-mount: not found

admin@(none):/jffs/scripts# ./post-mount
-sh: ./post-mount: not found

admin@(none):/jffs/scripts# ls
firewall-start post-mount
 
Last edited:
Update, firewall-start is also not auto running so its not an issue with using a microsd.

My script files are written and x modded. Whats wrong? :/

Thank you so much for this btw, very cool.
 
I reformatted jffs and recreated the scripts, still no go. I'm using the latest merlin build.
 
Done, several formats later, jffs works. Only took 6 hours to do this ;)

Thank you again! Final requests, SSL and LED off.
 
Only took 6 hours to do this ;)
Final requests, SSL and LED off.

Only six hours :)
The led off issue is related to drivers because are not really for RT-N66U, but for RT-N56U and for another kernel, if something shows up, I will let you know.
What about SSL?
 
I got another error, any idea?

admin@RT-N66U:/# wget -c -O /opt/etc/init.d/S99webcam http://tinyurl.com/S98webc
am
Connecting to tinyurl.com (64.62.243.92:80)
Connecting to dl.dropbox.com (107.20.162.145:80)
wget: server returned error: HTTP/1.1 502 Bad Gateway
admin@RT-N66U:/#
 
Hello!

I have the same problem. After finishing this procedure, I start the mjpg_streamer. It shows OK message that server is started, but when connecting on particular IP adress of my router I get the same message. I have also tried to stop the server, but it shows message, that mjpg_streamer is not running. I have used this procedure on Asus RT-N16 router (Firmware Version:3.0.0.4.354.29 (Merlin build)). Have anybody succesfully connected web cam (I use 1.3 Mega PC Webcam) over Asus RT-N16 router? I thanke you in advance for any usefull tips.
 
Hi, I've install software yesterday and I'm using it with Microsoft NX 6000 and it works just fine. At the first I try to start the program without the camera and it says cannot start, but when I connect it everything works just fine. I'm using and hdd formatted to ext3. Also I'm using it with Download master at the same time, just I've disabled when install mjpeg.

Sent from my Galaxy Nexus using Tapatalk 2
 
Similar threads
Thread starter Title Forum Replies Date
I [RT-AX86U Pro] Constant blips during video calls Asuswrt-Merlin 8

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top