Saturday, February 16, 2008

AppleTV | AppleTV Enable AFP Server

To follow these steps you will need to have:

- SSH enabled on your Apple TV (I won't get into that just yet but is a good start)

Step One
Make you sure know the ip address of your apple tv. You can find this in your apple tv menus under Settings:Network

Step Two
Open a new Terminal window from your OSX Applications:Utilities folder.

Step Three
Type ssh -1 frontrow@youripaddress into the terminal window substituting 'youripaddress' with your apple tv's ip address. Note: the password is frontrow.

Step Four
Execute the following commands by typing them into the Terminal window and pressing enter after each line:
sudo /usr/sbin/AppleFileServer
sudo mount -uw /
sudo cp /etc/hostconfig ~/hostconfig

Step Five
From a new finder window's menu select Go. Then select Connect to Server from the dropdown menu.

Enter the following for the address: afp://AppleTVsIPAddress. Of course replace 'AppleTVsIpAddress' with the actual ip of your AppleTV.

When prompted enter frontrow for both the username and password.

Step Six
Select frontrow from the list of volumes to mount and then click ok

Step Seven
Your AppleTV's frontrow volume will now appear in Finder for easy access!

Step Eight
In the frontrow volume you have just mounted, locate hostconfig and open it in TextEdit.

Change AFPSERVER=-NO- to AFPSERVER=-YES- and then save it.

Step Nine
Now back in your terminal window execute the following:
sudo chown root:wheel hostconfig
sudo chmod 666 hostconfig
sudo mv hostconfig /etc/hostconfig
sudo reboot

These steps enable the AFP server at boot so you don't have to start it manually every time.


No comments: