Sharing between Ubuntu and OS X

Discussion in 'Parallels Desktop for Mac' started by zedwards, Aug 13, 2006.

  1. zedwards

    zedwards Bit poster

    Messages:
    3
    I know this is possible in WinXP because if the Parallels 'extras' virtual disk, but is it possible to share files from my mac to Ubuntu installation? Maybe there is a way to mount a network drive? Anyone have a good trick for doing this?
     
  2. protyne

    protyne Bit poster

    Messages:
    2
    I share files between Ubuntu and Mac OSx via SSH. Setup ubuntu network so that it can ping the mac os (same ip range, subnet mask, gateway) then I connect in mac os via Cyberduck - SFTP option.

    Hope this helps
     
  3. YenZi

    YenZi Bit poster

    Messages:
    2
    Use samba of NFS

    Why don't you just set up a samba share on your Mac OS X system and then mount it in your ubuntu installation ? Or you could use an NFS export. That's the way I share folders, since NFS is way faster than samba.
     
  4. rinconj

    rinconj Member

    Messages:
    37
    any good tips on how to make 10.4 work as an NFS server?

    I folllowed the procedures on
    http://mactechnotes.blogspot.com/2005/09/mac-os-x-as-nfs-server.html

    and had to kill "nfsd-server" and "mount_nfs" to restart.
    If I just do

    to restart a change it doesn't show up the new mounts.

    Even new mounts do show up, there are errors on both the OS X and Ubuntu sides:


    On the OS X side:

    on the Ubuntu side:

     
  5. rinconj

    rinconj Member

    Messages:
    37
    Finally NFS server on OS X and NFS client on Ubuntu work after I did a few things:

    1. changed both UIDs and GIDs of my acounts on both OS X and Ubuntu so they all match.
    A good reference is
    http://inthezone.wordpress.com/2006/06/18/parallels-with-shared-home-directory-to-debian-linux/

    2. added a couple of ipfw rules so ipfw doesn't block packets from and to the Ubuntu VM any more:

    Now I still have a puzzle to solve- Internet sharing is not working with the host-only networking.
    Even though I did enable "share your connection from Built-in Ethernet" to en2

    Wheneven I try to reach a website or other machines on the same LAN, there is no packets going out through the built-in ethernet.

    The ipfw tules I added should allow the packets to go through, but OS X is not forwarding them or Parallels is not doing the NAT thing?
     
  6. rinconj

    rinconj Member

    Messages:
    37
    Finally problem solved. I had to get the gateway on ubuntu right. I had no idea what it is, but an
    ifconfig on my macbook shows it's 10.37.129.2 and I just need to put it in

    system menu-> Administration -> networking -> Ethernet connection's property -> gateway address and now everything works great!

     

Share This Page