per non stare con le mani in mano
su un'altra guida (
https://github.com/meinside/rpi-mjpg-streamer) ho trovato questo:
(for
Raspberry Pi Camera boards) setup video4linux
$ sudo modprobe bcm2835-v4l2
$ sudo vi /etc/modules
# add following line
bcm2835-v4l2
e, entrando come sudo su, ho aggiunto a mano bcm2835-v4l2 e salvato. poi, seguendo la guida
Running motionEye
motionEye does not need root privileges to run; it can be started directly from the directory where it was extracted:
1 ./motioneye.py
If everything was properly installed and configured, motionEye should emit an info message saying that the server started. Now point your browser to (replacing
raspberrypi with the IP adress of your device). The motionEye web interface should show up. Use admin with no password, when prompted for authentication. Start by adding a new camera and feel free to experiment with the various available settings.
ho dato il comando
pi@
raspberrypi ~ $ ./motioneye.py
bash: ./motioneye.py: File o directory non esistente
ma ... in /home/pi/motioneye esiste un file chiamato "motioneye.py" ... allora perche' non lo trova?
mmmmm... in realta' guardando bene il file c'e' ma e' vuoto ..... perche' quando ho dato il comando (vedi guida)
Configuring motionEye
Create a settings.py file from the existing template:
1 cp settings_default.py settings.py
pi@
raspberrypi ~/motioneye $ cp settings_default.py settings.py
cp: impossibile eseguire stat di "settings_default.py": File o directory non esistente
quindi sembra che il file "settings_default.py" in effetti non ci sia !!!!!
perdonate il casino!