Re: Simple Network Setup for YDL (ver 2.0)


Subject: Re: Simple Network Setup for YDL (ver 2.0)
From: John Schmidt (jas@netbrick.com)
Date: Thu Mar 28 2002 - 10:16:27 MST


On Wednesday 27 March 2002 08:33 pm, you wrote:
> Hi there!
>
> I have two Macs at home in the same room. Both have ethernet
> capability and I can use shared directories to move from one to the
> other quite easily ... for printing, etc.
>
> Now when I try the same thing in linux ... I really get to have some fun.
>
> I have given each a unique address in the 192.168.1.x range ... and a name
> etc.
>
> As a result I can successfully 'ping' each machine from the other.
>
> All attempts at something useful come to zero. FTP and telnet
> connections are refused (thanks for the security) ... and i have not
> yet mastered shared directories!
>
> Is there a useful HOWTO that someone could direct me to please ... PLEASE!
>
> Richard

Instead of turning on ftp or telnet, how about installing ssh on both
machines (actually you would need the server rpm as well. I have the
following on my box:

openssh-server-3.1p1-2
openssh-clients-3.1p1-2
openssh-3.1p1-2

It may already be there. In order for other machines to access things, you
would need to edit /etc/hosts.allow and put in the syntax:

ALL: 192.168.1.

Then you can use:

ssh 192.168.1.X and scp (which has the same characteristics as rcp). In
addition, if you are moving big amounts of data around, you can use rsync for
that which is often a better rcp but can use ssh for security. You may want
to consider looking into using nfs to share directories between the two
machines. I have never used nfs on my linux boxes, but I am sure there is a
how to on setting this up. www.linux.org has a documentation link that would
have all the howtos that you can look at. I bet there is a nfs how to (or
even better a mini how to). To the best of my knowledge there isn't anything
on the linux side that can set up file sharing as simple as using appleshare.
 However, once you go thru the initial hoops of setting up nfs, then it
should be better than appleshare on the macos side. When I have used
appleshare between an old LCIII running 7.5.5 and G3 running 9.1, appleshare
has been less than reliable and down right flaky (timeouts, slow transfers,
corrupted files). I would expect that nfs would be much better.

John



This archive was generated by hypermail 2a24 : Thu Mar 28 2002 - 10:34:57 MST