Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have two laptops running Ubuntu 12.04. Both connect to the same WIFI network to access internet.

How do I connect them to each other so that I can access files on one from another and vice versa?

Also, how do I manage the user permissions, etc. on them?

share|improve this question
    
askubuntu.com/questions/100790/… –  One Zero Jun 26 '12 at 12:26

3 Answers 3

up vote 7 down vote accepted

                           Share files between 2 ubuntu computers

if you have two computers running Ubuntu on the same network, it could be an good idea to use openssh to share files between them.

sudo apt-get install openssh-server openssh-client

Then you need to figure out the ip of each the computer you want to connect to. Most of the time it’s something like 192.168.1.2 or something in that line.

On the computer you want to access the files from, go to “File -> Connect to Server”.

enter image description here

enter image description here

enter image description here

Service type should be “SSH”"

Server should be the “ip” adress of the pc where the info is on.

Port, enter “22″

Pick the folder you wish to share (could take some time to connect depending on the size of the folder).

The user name of the pc you are connected to

The bookmark will be the name of the folder in nautilus

After that you’ll get a windows where you have to enter a password. That would be the password of the pc you are trying to connect to.

You should have read/write permissions.

enter image description here

share|improve this answer

               A Quick Way to Share Folders in Ubuntu

Objectives:

Share a folder between 2 Ubuntu using samba PC's

enter image description here

enter image description here

enter image description here

enter image description here

sudo smbpasswd -a USERNAME
share|improve this answer

go to /etc/samba directory and type:

   sudo gedit smb.conf

Then just add this line after workgroup name:

   usershare owner only = false

and exit with saving.

Now restart the services:

   sudo service smbd restart

   sudo service nmbd restart

Now create a samba user:

   sudo smbpasswd -a RAIHAN

and provide password for that user.

That's it!!!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.