how to share files from linux to mac on a network

Discussion in 'Mac OS X Server, Xserve, and Networking' started by mantle536, Sep 15, 2009.

  1. mantle536 macrumors newbie

    Sep 13, 2009
    so i replaced xp on my desktop pc with ubuntu 9.04, and i want to share the files from that computer with my macbook over my network. how do i get the mac to find the pc?(and i am still very new to linux, so go easy on me) thanks
  2. weckart macrumors 601

    Nov 7, 2004
    Here is a guide to show you how to get AFP shares up and running. I had problems getting the Time Machine volume to work, so gave up in favour of a Hackintosh Server, but for simple file serving, this does the trick.

    Ubuntu As Mac File Server
  3. foidulus macrumors 6502a

    Jan 15, 2007
    The best way to do things is through NFS(network file systems), unlike Microsoft, both Linux and OS X support it out of the box. There are a lot of tutorials online for how to set up NFS, I've never used Ubuntu so I cannot comment on the specifics for that, but I hope that will point you in the right direction.
  4. mantle536 thread starter macrumors newbie

    Sep 13, 2009
    great! thanks for the help guys. i'll give them both a try and see which works out better.
  5. foshizzle macrumors regular

    Oct 17, 2007
    Here's a general NFS how-to for ubuntu. In the options for the mount, make sure you use 'insecure' as well for your options.

    Example from the forum modified with this option:

    Don't worry about the client section of the writeup, you only want a server.

    Then on your mac (if you have snow leopard), open Disk utility, go to file->NFS mounts, click the plus, add the server as "nfs://server.local/path/to/files"
    The next blank is where you want it mounted on your Mac, I usually put "/network/_whatever_you_want_here_" because it will show up in the 'shared' section of the finder when you click all under network. (for the paths, don't use the quotation marks when typing them in, or anything else I say to type in - just type what is inside the quotes).
    For advanced options, I use "soft" and check the "ignore set userid privileges" box as well. Click okay and apply (type in password for your mac) and as long as you set up the server correctly it should map fine.

    Good luck - Ubuntu is really fun. It took me a while to figure out the NFS thing but once I did it's a nice thing to have, so I don't have to authenticate and it automaps for me.
  6. mantle536 thread starter macrumors newbie

    Sep 13, 2009
    @foshizzle i wished i would have checked back here sooner. thanks so much for the how-to, got it all set up and running. i really appreciate it.

Share This Page