SharingToMacOSX

From Amahi Wiki
Revision as of 02:31, 12 August 2009 by Robbiet480 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

For accessing Amahi shared folders/files on a Mac OS X computer, you use the Finder.

There are several ways to connect to your Amahi HDA. Using the Finder directly and Connecting to the server share from the Finder.

Using the Finder Directly

The Finder should show an entry for hda under SHARED on the left pane.

  • Click on the hda share. A Finder window should come up with Connected as: Guest at the top. The visible shares should be listed. However, as guest they are not writeable.
  • There should be a button to the right saying Connect As ... which when clicked, opens a window and the option to connect as guest or registered user.
  • Click on registered user and in the name put the username you want to access the share as, then the password.
  • Click on the Remember this password in my keychain if you want to autoconnect in the future.

Connecting to a Server from the Finder

Select the Go menu, then:

  • Connect to Server (Apple-K shortcut).
    • Enter the Server Address: smb://<user>@hda/Movies with your samba username instead of <user>
    • Press the "+" sign beside the Server Address line, so the connection is saved as a favorite.
    • Click Connect.
  • Complete the SMB/CIFS File System Authentication form:
    • Domain: HDA
    • Name: <your HDA username>
    • Password: <your HDA user password>
    • You may want to check the Remember this password in my keychain so you can auto-connect in the future.
  • Enjoy, the mounted drive should appear now in the Finder and be available at /Volumes/Movies on your local system.

You can connect to all the HDA shares, like //hda/Docs or //hda/Music, or as many as you have shares.

If your Mac OS X user matches the Samba user, you can eliminate <user>@ above

To set your system to auto-connect at login or startup, see this great intro article.

Connecting with the command line

For the power users out there, there are commands to mount the Amahi HDA server on demand. This is an example:

mkdir -p ~/Desktop/hda/movies
mkdir -p ~/Desktop/hda/music
mount_smbfs '//hda/movies' ~/Desktop/hda/movies
mount_smbfs  '//hda/music' ~/Desktop/hda/music

The mount commands will ask for password appropriately.

A more general form of this mount command for a given user and a domain is like this:

mount_smbfs  '//home.com;user@hda/share' ~/Desktop/hda/share

You have to replace home.com for your own domain in your network and user for the user you want to access the share as.