Mount Windows and Samba Shares - Raspberry Pi

From ETCwiki
Revision as of 18:11, 25 September 2013 by Ddxfish (talk | contribs) (Ddxfish moved page Raspberry Pi - Mount Windows Share to Mount Windows and Samba Shares - Raspberry Pi)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This guide lets you mount your Windows shares as a folder on your Raspberry Pi. You can then play music from it, watch videos, and use backups like they are a local folder.

create a mount folder (do all of this as root)

mkdir /myserver
chown -R pi:pi /myserver
chmod 777 /myserver

add share to auto-mount

vi /etc/fstab

add this line

//192.168.1.69/sharename /myserver auto,owner,rw,username=user1,password=hackme 0 0

test to make sure it works

mount -a

or

init 6

now check the folder after mount

cd /myserver
ls