The Mac to Linux Networking Walkthrough

eps22 yellowdog-newbie@lists.terrasoftsolutions.com
Sun, 14 Sep 2003 20:39:31 -0400


It was a little more interesting than a mistyped address, but just a 
bit.

The hangup was what the right sequence to enter the information in, and 
which connectors to use.  I only used Fugu, so I'm not sure if this 
would work in commandline:

First, before getting to Fugu, some prep work on the Linux box, which 
is the target computer that Fugu will be aiming at (and, eventually, 
pulling files from).   I went to my Linux box, and followed Clint's 
suggestion to change the name on this (to make it easier).  On the 
target box, using KDE, I went to Yellowdog -->System Settings --> 
Network.  Under the DNS tab, I changed BOTH the "Hostname" field and 
the "DNS Search Path" field to "2" (without quotations).  (I used "2" 
since I call my Mac box "1"). This might be overkill.  Maybe you only 
have to change one of the fields.  But I wouldn't know which one to 
use, so I changed both.

One other thing on the Linux box.  Again, in KDE, Yellowdog --> System 
Settings -->Security Level.  At the "Security Level" pulldown, I 
clicked to "No Firewall." (Then "OK" at the bottom, and "Yes" at the 
prompt.)  Quick note here.  This is a fairly stupid thing to do, since 
it leaves the Linux box vulnerable to attacks.  But it worked, so what 
can I say?  Just a warning for those more consciousness than myself; 
maybe someone knows a safer way to make the connection.  Then I 
rebooted both the Mac and the Linux box, to make sure that all of the 
settings were integrated into the system.  (Again, don't know if this 
was necessary).

Then, on the Mac running OSX, back to Fugu. The first option is to fill 
in the "Connect to:" line.  The instructions included with the program 
said to use "[hostname.domainname]" (without the quotations, using your 
own hostname.domainname) of the target computer.  This didn't work for 
me.  What I did next that worked was to type into the "Connect to" 
space not the alphabetical name of the target computer, but rather, the 
IP number that my wireless network had assigned to the target computer. 
  In my case, this was "192.168.1.101" (again, without quotes).

The next field is username. Here's the trick.  My usual user name, on 
my Linux box, is "eps."  And, from above, like I said, the name of the 
Linux computer is now "2".  So, in Fugu, at Username, here's what I 
typed in "2@eps" (minus quotes). In generic language, that would be 
[computername@username].  Then I hit connect, got my prompt for my 
password (that is, the password for the account "eps" on the linux 
box), typed it in, and BINGO.  Fugu's GUI makes it very easy to move 
files around between the computers.

By the way, I just tried the command line version of this.  What you 
want to do, if you want to avoid Fugu (though I can't imagine why you 
would want to) is this:

On OSX, I went to the terminal, got my prompt (you DON'T need to be 
superuser), and typed:

"sftp 2@eps@192.168.1.101" (again, no quotes)

In generic language, that would be:

sftp [name of target linux computer]@[name of linux account]@[IP 
address of linux account]

Then, the computer prompts you for the password for the linux account, 
type it in, hit enter, and you're in!

Thanks so much to Clint and Michael for all of their help on this.

Happy networking!

Evan


On Sunday, September 14, 2003, at 05:27 PM, Clinton C.MacDonald wrote:

> Evan:
>
> On Sunday, September 14, 2003, at 04:15 PM, Michael Molino wrote:
>> What was the problem and solution? Might help some other people down 
>> the line...
>>
>> On Sunday 14 September 2003 04:14 pm, eps22 wrote:
>>> I got it all to work! Thanks so much again to all,
>
> Yeah! Was it just a mistyped address issue, or something more 
> interesting?
>
> Best wishes,
> Clint
>
> -- 
> Dr. Clinton C. MacDonald | <mailto:clint dot macdonald AT sbcglobal 
> dot net>
>
> _______________________________________________
> yellowdog-newbie mailing list
> yellowdog-newbie@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie
>