Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Alternative Operating Systems > Connecting Linux and OS X?

Connecting Linux and OS X?
Thread Tools
lookmark
Mac Elite
Join Date: May 2001
Location: NYC
Status: Offline
Reply With Quote
Jan 22, 2002, 02:24 PM
 
Can anyone provide help in connecting a Linux and OS X machine? Both machines are ethernet-ready,

Thanks...
     
bluedog
Mac Elite
Join Date: Aug 2000
Location: Minneapolis, MN
Status: Offline
Reply With Quote
Jan 22, 2002, 03:55 PM
 
http://sourceforge.net/projects/netatalk/

The latest netatalk can communicate with OSX, and so on.

Should provide you with a no-fuss networking the two with a crossover cable (which is only if you dial-in and don't need your ethernet) or more likely with your hub/router.
     
lookmark  (op)
Mac Elite
Join Date: May 2001
Location: NYC
Status: Offline
Reply With Quote
Jan 22, 2002, 07:26 PM
 
Originally posted by bluedog:
<STRONG>http://sourceforge.net/projects/netatalk/

The latest netatalk can communicate with OSX, and so on.

Should provide you with a no-fuss networking the two with a crossover cable (which is only if you dial-in and don't need your ethernet) or more likely with your hub/router.</STRONG>

Thanks a bunch.
     
sebhoff
Fresh-Faced Recruit
Join Date: Apr 2001
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Jan 29, 2002, 10:44 AM
 
Originally posted by bluedog:
<STRONG>http://sourceforge.net/projects/netatalk/

The latest netatalk can communicate with OSX, and so on.

Should provide you with a no-fuss networking the two with a crossover cable (which is only if you dial-in and don't need your ethernet) or more likely with your hub/router.</STRONG>[/QUOTE]

I've just installed Linux (Redhat 7.2) under VPC 5.01 and am now trying to find a way to share files between my OS X partition and Linux. Will netatalk be the solution here, too?
I'm not a Linux geek and trying this out will cost me some time - I just want to avoid unnecessary frustration by asking first...

Thanx,
Sebastian

PS: if netatalk is NOT the solution - what is? ;-)

[ 01-29-2002: Message edited by: sebhoff ]
     
bluedog
Mac Elite
Join Date: Aug 2000
Location: Minneapolis, MN
Status: Offline
Reply With Quote
Jan 30, 2002, 04:26 PM
 
Well, with netatalk you can access the mac via the network in the same way you would if it were on a seperate machine elsewhere on the internet. You can use FTP if you want, but I suggest you limit the ports at your router from outside traffic (for security reasons)

I'd set up an ftp server in linux and access it that way if all you need is filesharing. Or install and setup netatalk and you'll see the linux server in the chooser under os9 and from the appletalk section of "connect to server" in OSX.

Ah, there is a thing called NFS, or network file storage (I believe, could be Network file system).

If you want to set it up requires configuring BOTH machines (one to serve the drives as network storage and the other to mount them). This is the most elegant solution, as the drive shows up like any other partition or mount point in OSX or linux. Its just not a straightforward setup by any means.

I've tried to do this, but gave up as its not imperitive other that when you want to have network stores, and shared files available from every machine, all the time. It was set up that way on the unix systems when I was in school 10 years ago and I'm sure its not too hard to do. You just have to know how to do it.

[ 01-30-2002: Message edited by: bluedog ]
     
bluedog
Mac Elite
Join Date: Aug 2000
Location: Minneapolis, MN
Status: Offline
Reply With Quote
Jan 30, 2002, 04:37 PM
 
If you're on the same machine and using OSX and VPC, you're in the same situation as the original poster. I think an FTP server would be the easiest because it is already included in the linux machine and you probably already have an ftp client on the macosx side.

I don't think Connectix did any extra drag-n-drop from desktop-to-desktop for the linux release as they have in the windows release because of the inherent differences in their environments.

The NFS option should be available to you in this option, too.

Originally posted by sebhoff:
<STRONG>Originally posted by bluedog:
[qb]http://sourceforge.net/projects/netatalk/

The latest netatalk can communicate with OSX, and so on.

Should provide you with a no-fuss networking the two with a crossover cable (which is only if you dial-in and don't need your ethernet) or more likely with your hub/router.
------------------

I've just installed Linux (Redhat 7.2) under VPC 5.01 and am now trying to find a way to share files between my OS X partition and Linux. Will netatalk be the solution here, too?
I'm not a Linux geek and trying this out will cost me some time - I just want to avoid unnecessary frustration by asking first...

Thanx,
Sebastian

PS: if netatalk is NOT the solution - what is? ;-)

[ 01-29-2002: Message edited by: sebhoff ]</STRONG>
[ 01-30-2002: Message edited by: bluedog ]
     
davechen
Dedicated MacNNer
Join Date: Apr 2001
Location: Bethesda, MD
Status: Offline
Reply With Quote
Jan 30, 2002, 05:59 PM
 
Originally posted by lookmark:
<STRONG>Can anyone provide help in connecting a Linux and OS X machine? Both machines are ethernet-ready,

Thanks...</STRONG>

You should be able to use NFS to mount each computer's disk on the other.
I've only mounted a Linux disk on my Mac, not the other way around.

To do this take a look at the man page for exports:

man 5 exports

You basically edit/create the file /etc/exports

Here's what mine looks like:

/home fluorite(rw,insecure) tidave(rw,insecure)


This one line just says two machines, fluorite and tidave, are allowed
to access /home. In the parentheses are the options. rw is read-write.
insecure allows requests on ports above 1023 (which is what the Mac uses).

Once you've created the /etc/exports you should be able to just restart
NFS.

As root do the following:

/etc/init.d/nfs restart

On the Mac end you can just use the finder to mount the Linux box by
hitting command-K. For the address I use the following

nfs://thermite/home

thermite is the name of my Linux machine, and /home is the file system.

Like I said, I haven't tried mounting the other direction, but it would
be something similar. Configure nfs on the Mac to export the files
system. Then mount the disk on the Linux machine. For Linux you create
a mount point directory and then use the "mount" command.

dave
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 07:43 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,