Sunday, December 14, 2008

Sharing Files with the Local Network

Well, it is often that each one of us has 2 or more computers at home connected with a local network.
I, for example, have a laptop which is my primary machine for working + enjoying audio and video content. In addition, I use a 5-year old desktop for purposes of downloading, increasing productivity, testing and more.
The most boring and counter-productive thing for me to do was transferring movies, documents and music using external media (usb flash, hdds). I've lived with that long enough before deciding that things need to change.

A 5-minutes how-to


  1. Make sure you have manually entered local IPs on your router (that means turn DHCP off) and write them down. Let's say that "server" has an ip of 192.168.1.3 and "client" 192.168.1.2

  2. Server:
    Install samba and samba authentication by typing in a terminal

    sudo apt-get install samba libpam-smbpasp


  3. Right click the folder you wish to share and choose the "Share" tab.

    Check "Share this Folder" and give it a name. You may also want to check "Allow other people to write in this folder". DO NOT check "Guest Access".

    Click "Create Share".

  4. Client:

    open nautilus and type smb://192.168.1.3
You now have access to the shared folder

No comments: