The protocol we will use is Samba which makes sharing folders inside your network, being Linux or Windows machines, an easy task.

First of all we must download the necessary packages for samba:

sudo apt-get install samba samba-common smbfs

Now we will install the graphical interface we will use in order to make our lives easier:

sudo apt-get install system-config-samba

We finished downloading and installing Samba and we must make some configurations.

  1. Open the Samba config tool
  2. System -> Administration -> Samba
  3. The first thing you must do is to add the folder you want to share:
    • Click the ‘+’ sign and at the Basic tab:
    • Directory = browse and choose your directory or type its location manually
    • Share name = the folders name in the network
    • Writable / Visible = if you want Write Access and the visibility of your folder inside the network check the appropriate box
    • Now go to the Access tab and click the user names you want to be able to access this folder
    • Click OK
  4. Now try visiting your new share folder from another system inside your network (the default behavior though is that you must have the same User Account in both systems)

Add more users into Samba configuration

Preferences -> Samba Users
  1. Click “Add User
  2. Type in the username you want to be able to access your folders
  3. Type in the password for this user
  4. Click OK at both windows

If you created users after you have added your folder make sure that you enable him in the appropriate folders.

Now your shared folders will be accessible from any device that supports Samba protocol (Linux, Windows, Android, iPhone and many more) as long as they use the usernames and passwords you have in your samba configuration.

I hope you don’t find any problems. :P
For any help or feedback don’t hesitate to comment.