How to network 2 Ubuntu PCs

I'm in the last stages of moving both my desktop and laptop from Windows to Linux. My main remaining problem is that I don't know where to start with network setup. Most of the info I've found is about connecting Linux to Windows.

Some threads I've looked at say use Samba, others say that's only needed for linking to Windows and that SSH is the answer. Some say no, use NFS.

It's all a mystery to me. When I tried Samba some time ago, I came up against a brick wall because it seemed to assume that I wanted to link to a Windows machine.

If it's relevant, my main need is just file sharing/synchronisation. I'm not concerned about security or encrypting.

A good tutorial or idiot's guide would be a help.
LVL 24
Alan HendersonRetired marine engineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mrmad1966Commented:
So what EXACTLY do you want ? Is it a simple folder shared on EACH machine ?
0
Alan HendersonRetired marine engineerAuthor Commented:
Sorry, I thought I made that clear in the question and the title. I want to network two Ubuntu machines. I don't know where to start. Hopefully the links provided by houssam_ballout will get me going.

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

sleepless6Commented:
you could give this link a try as well if you want to:
http://linuxowns.wordpress.com/2008/06/08/share-files-between-2-ubuntu-computers/

This is just me assuming that this is what you want to do.
0
Alan HendersonRetired marine engineerAuthor Commented:
Thanks for the input everyone. I've never had much trouble networking Windows machines so I haven't had to learn anything about DHCP TCP/IP etc. I can see that I need to do a bit of study so that I can at least know what questions to ask.

I now have intermittent connection between my machines. Sometimes I can see one from the other, sometimes I can't. I'm wondering whether having an ethernet connection and a wireless connection at the same time is causing confusion.

As far as I can tell I have permissions set up correctly, but when copying files from one shared directory to another, more often than not I get a message saying that permission is denied.

What has me even more mystified is that I can copy a TXT file from one directory to another, but not a PDF file.  !!!!

I'll close this soon, do some homework and ask some more specific questions.
0
Alan HendersonRetired marine engineerAuthor Commented:
I wasn't as lost as I thought. My problems turned out to be caused by intermittent loss of wireless connection.
Using Ethernet I now have a working network.
I'm allotting points because my question was answered anyway.
Thanks.
:o)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.