1. raspberryPIの対象フォルダのパーミッションを変更
    chmod 777 /var/lib/motion/
  2. sambaをインストール
    sudo apt-get install samba
  3. sambaの設定ファイルを変更する
    vi /etc/samba/smb.conf
    例:最終行に下記を追加  ※前回motionの課題で外部PCから動画ファイルを削除したいので下記の設定にした

    [RasPi_motion]
    comment = RasPi_motion
    path = /var/lib/motion
    guest ok = yes
    read only = no

  4. sambaの再起動
    sudo service smbd restart
  5. Windows側からアクセス
    エクスプローラーでIPアドレスを入力
    \\192.168.3.10