Enable AFP Server

From AwkwardTV
Revision as of 19:10, 29 March 2007 by Chasd (talk | contribs)
Jump to: navigation, search

Editing /etc/hostconfig will start Appleshare service on boot.

Simply change:




If you'd like to start appleshare without rebooting, run:

sudo /usr/sbin/AppleFileServer

Once AFP is running, you can mount the OS and Media partitions from the AppleTV as user 'frontrow', with the password 'frontrow'.

Chasd: If you need access to all platforms, WebDAV is cross platform, unlike AFP or CIFS. Since someone has been able to get Apache to run, I would like to see some try to enable WebDAV. To enable WebDAV, uncommenting the config file line that loads the dav_module, and also the line that adds mod_dav.c. Then set up Directives that create an alias and enable WebDAV, like this :

Inside the

<IfModule mod_alias.c>

block, add this block, generally after the block of lines for CGI-

<IfModule mod_dav.c>
Alias /media "/mediadirectorypath/"

# Create a lock database file for this server at this path
DAVLockDB /Library/Webserver/DAVLock.ical
# Minimum life of a lock
DAVMinTimeout 600
<Directory /mediadirectorypath>
AllowOverride None
Options None
allow from all

Make sure the media directory is writable by the apache process. You may need to touch the lock file and set its permissions.

Restart apache, then use this URL in "Connect To Server"