Close

Startup

A project log for Internet of Grabby Things

An internet connected toy arcade grabbing machine. Created at a Raspberry Pi hackday in Leeds 2012.

ChrisChris 11/05/2016 at 10:510 Comments

First create a init script for mjpg-streamer. create a file and use the script attached to the project page

sudo nano /etc/init.d/mjpg-streamer

or copy from a usb stick..

sudo cp -R /mnt/sda1/mjpg-streamer /etc/init.d

change permissions of the script

sudo chmod 0755 /etc/init.d/mjpg-streamer

to control the processes manually:

sudo /etc/init.d/webiopi <start | stop | force-reload | status >

sudo /etc/init.d/mjpg-streamer <start | stop >

or add scripts for start on boot

sudo update-rc.d webiopi defaults

sudo update-rc.d mjpg-streamer defaults

*note: there is currently a bug with webiopi that means you won't see the controls from boot. you need to force a reload.

sudo /etc/init.d/webiopi force-reload

to access the page using the default port go to

<ip address>:8000/index.html

Discussions