RPi running Raspbian with an RPi camera, video works fine, motion works fine, records video to the RPi fine. I mounted a share to a network folder on a Win7 machine no problem using the following:
Code: Select all
sudo mkdir /mnt/Captures
sudo chmod 777 /mnt/Captures
sudo chgrp motion /mnt/Captures && sudo chmod g+rwx /mnt/Captures && sudo chmod -R g+w /mnt/Captures
sudo mount -t cifs -o username=admin,password=password,uid="motion" //192.168.1.166/Captures/RasPi001 /mnt/CapturesI then edited fstab as follows:
Code: Select all
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
//DESKTOPPC/Captures /mnt/Captures cifs username=admin,password=password,file_mode=0777 0 0
Code: Select all
Filesystem Size Used Avail Use% Mounted on
rootfs 7.2G 1.9G 5.1G 27% /
/dev/root 7.2G 1.9G 5.1G 27% /
devtmpfs 183M 0 183M 0% /dev
tmpfs 38M 240K 38M 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 75M 0 75M 0% /run/shm
/dev/mmcblk0p1 56M 19M 38M 34% /boot
//DESKTOPPC/Captures 54G 156M 54G 1% /mnt/Captures