Samba on raspberry pi

Install samba and share a drive on your network

first enter in a terminal:

sudo apt-get install samba samba-common-bin

sudo nano /etc/samba/smb.conf

look for 

workgroup = workgroup

wins support = yes

look for share definitions

and enter:

[pihome]

comment= Disk2-6
path=/home/user/share
browseable=Yes
writeable=Yes
only guest=no
create mask=0777
directory mask=0777
public=no

save the file (CTRL X)

now enter:

sudo smbpasswd -a user

and enter the password twice. Now enter this:

sudo service samba restart

and you should be able to find the share on your network