MacOS X Filesharing

We suggest Mac users use Samba in conjunction with the Duke CS VPN outside CS, or install MacFuse and MacFusion to access the CS file systems with SSH.

Accessing share via samba

  1. One change must be made to allow your Mac to connect with the department's SAMBA server. You must have a /etc/nsmb.conf file which contains these lines:
    	[default]
    	minauth=none
    	streams=no
     
  2. Once this is done, you can connect by pressing Apple-K from within the Finder. Enter the address of the SAMBA server, share.cs.duke.edu or use the numeric IP, 152.3.140.20. You can add this to the list of servers by clicking the plus sign.
  3. establish SAMBA connection
  4. Next enter your CS username and password, and make sure you are logging in as a Registered User.
  5. login window
  6. Finally select the filesytem you wish to mount.
  7. available mounts

If this works, you can drag the mounted filesystem icon (the starry globe in the cube) onto your dock. In the future, whenever you click on this, it will mount automatically if it hasn't already been mounted, and then open a finder window for browsing.

Accessing via AFP

  1. You can connect by pressing Apple-K from within the Finder. Enter the name of the AFP server, afp.cs.duke.edu You can add this to the list of servers by clicking the plus sign.
  2. establish AFP connection
  3. Next enter your CS username and password, and make sure you are logging in as a Registered User.
  4. login window
  5. Finally select the filesytem you wish to mount.
  6. available mounts

If this works, you can drag the mounted filesystem icon (the starry globe in the cube) onto your dock. In the future, whenever you click on this, it will mount automatically if it hasn't already been mounted, and then open a finder window for browsing.

Accessing via OSXFuse

In order to access the CS file systems via SSH, you will need to install three applications found here:

OSXFuse
SSHFS
MacFusion2

After these are installed, launch MacFusion and add a mount point. You can choose any CS host to login in via ssh but the login hosts (login.cs.duke.edu) are a good choice since the lab staff monitors them closely.

There are a couple of options that may help with MacFusion. In Macfusion, edit the mount point, and under the "SSH advanced" tab put the following in the options "-o defer_permissions,follow_symlinks,reconnect". These options get around some common problems with MacFusion.

If you have any further questions, please contact the Lab Staff.