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
add comment

3 Answers

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
add comment

               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
add comment

I have tried this but I get the following error: 'net usershare' returned error 255: net usershare add: cannot share path /home as we are restricted to only sharing directories we own. Ask the administrator to add the line "usershare owner only = false" to the [global] section of the smb.conf to allow this. Share Error

I am on 12.04 as are all of the computers in my home. I get the same result with all 5 machines.

share|improve this answer
    
hi, it looks like you've entered this as an answer when it should be a comment or perhaps another question. –  isomorphismes Jul 25 '13 at 4:28
add comment

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.