Webcam Video Surveillance via Mjpg-Streamer Debian Arm

If you own a webcam from this list than you can attach it to the AsusWRT routers usb port and see in real time images from it, like babyroom, garage, courtyard...

This version is for arm devices like RT-AC56U, RT-AC68U, RT-AC87U...

1- Install Debian from here

2- Download videomod script

wget -c -O /opt/etc/
chmod a+rx /opt/etc/

2b - Download and load UVC Modules

wget -c -O /opt/tmp/uvc_modules_2.6.36brcmarm-380.58-arm.tgz
cd /
tar -zxvf /opt/tmp/uvc_modules_2.6.36brcmarm-380.58-arm.tgz
/opt/etc/ load

3 - Enter Debian

debian enter

4 - Update Debian

apt-get update
apt-get upgrade

5 - Install necessary packages

apt-get install wget procps libjpeg-dev libv4l-dev

6 - Download and install mjpg-streamer

wget -c -O /var/tmp/mjpg-streamer_182-1_armel.deb
dpkg -i /var/tmp/mjpg-streamer_182-1_armel.deb

7 - Download startup script

wget -c -O /etc/init.d/S99mjpg-streamer-debian
chmod 755 /etc/init.d/S99mjpg-streamer-debian

8 - Exit Debian


9 - Add script to chrooted services list

echo "" >>/opt/etc/chroot-services.list
echo "S99mjpg-streamer-debian" >>/opt/etc/chroot-services.list
chmod 755 /opt/etc/chroot-services.list

10 - Create script to load UVC Modules and mjpg-streamer at startup

nano /jffs/scripts/post-mount

Add this lines


/opt/etc/ load
sleep 5
/opt/etc/init.d/S99debian start

Save with CTRL-O / Enter / and exit with CTRL-X

chmod a+rx /jffs/scripts/post-mount

11 - Start mjpg-streamer

debian restart

12 - Go to and should see images from your webcam

If you want to change username, password, portresolution and fps, edit /opt/debian/etc/init.d/S99mjpg-streamer-debian script


Tested successfully with Logitech C270 webcam