-
Download the quick start guide
-
Download NOOBS v1.3.2 and unzip it onto the empty FAT formatted SD card.
-
Install SD card, connect keyboard, mouse, monitor and network cable,and USB webcam. For you own sake use the HDMI output, and things don't get to crammed on the monitor screen.
-
Power up, and select "Raspbian", and install (i), and answer "yes" to the questions. This takes quite a bit of time ( 0.5 - 0.9 Mb/sec) When the install is ready, the card reboots.
-
In setup: Expand filesystem
-
In setup: Enable camera if you use a Raspberry Cam.
-
Reboot your Raspberry card
-
Look at the boot screen to see your IP address
-
Login at pi@xx.xx.xx.xx using password raspberry
-
Connect your USB camera, and use "lsusb" to see that it is connected, and "lsusb -v" for details.
-
Or use "raspistill -v -o test.jpg" to capture a image from the internal cam.
-
"su passwd root" to get access rights.
-
"sudo apt-get install streamer" to get recording/capture SW for USB Web Cam
-
"wget https://raw2.github.com/sunejak/Webcam/master/webcam_capture.sh" to get the USB camera capture file
-
Run the webcam_capture.sh file, and look at the result in the webrowser ( startx to get GUI running )
-
"wget https://raw2.github.com/sunejak/Webcam/master/crontab.file" to get the crontab entry for capture every minute
-
"chmod +rx capture.sh" to set the execute mode on the capture file.
-
Generate keypair with the command "ssh-keygen -t rsa"
Generating public/private rsa key pair.
Enter file in which to save the key (/home/pi/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/pi/.ssh/id_rsa.
Your public key has been saved in /home/pi/.ssh/id_rsa.pub.
The key fingerprint is:
f1:7d:46:a5:96:66:90:7c:7f:9c:a1:48:a4:a3:14:cf pi@raspberry
The key's randomart image is:
+--[ RSA 2048]----+
| .o...oo|
| . ..+ o.o|
| . E o o .|
| . S o . o |
| . o | : +-----------------+
-
Add the certificate to your server "cat .ssh/id_rsa.pub | ssh user@your.server.org 'cat >> .ssh/authorized_keys'" to put RSA key on your server
-
Tweek with camera and script parameters, edit to suit your needs.
-
Add "crontab crontab.file" to take pictures every minute.
-
Enjoy :)