boxee :: forums  

Go Back   boxee :: forums > boxee community > boxee for appletv help

Reply
 
Thread Tools Display Modes
  #1  
Old March 9th, 2009, 10:02 AM
silsurf silsurf is offline
Member
 
Join Date: Feb 2009
Posts: 38
Default Complete Noob guide to getting afp on your atv

I hope this will be helpful to those, like me, struggled with getting afp file sharing up and running between my desktop adn my atv. The good news is that with the fantastic guidance of folks here at boxee forums, I was able to achieve my goals and can now drag and drop file from my desktop to my atv on an external hard drive connected via usb. please email me and suggestions or changes I should make to this document. It is truly the knuckleheads like myself so I tried to keep as much unnecessary and undecipherable lingo, jargon, etc to a minimum.


Totally virtually noob-proof instructions for getting a USB EXT HDD connected to your ATV and installing and initiating file sharing to and from your AppleTV via AFP of a shared volume on your Mac desktop.

This tutorial assumes you have already patched your ATV using a patchstick, which in my case installed the NitoTV software and created a "documents" folder on my ATV as needed for the following installations. You can find info and the latest patchstick information here:
http://blog.boxee.tv/2008/11/23/boxee-on-apple-tv-23/#

This also assumes you have done the required setup of adding a EXT USB HDD to your ATV. I used this guide and it worked perfectly.
http://forum.boxee.tv/showpost.php?p=28251&postcount=59

The one caveat I will put here is that you have to have the Mac OS 10.4.9 combo updater in the root directory (your "home" folder) on your Mac . Otherwise, the SCR instructions you are issuing in termainal to move the file to your ATV won't work. (unless you know enough about Terminal to find the file yourself).

In order to add a USB EXT HDD to your ATV setup you will need two items. The first is the Mac OSX 10.4.9 Combo Updater (Intel)

The Combo Updater is available here:
http://support.apple.com/downloads/M...Update__Intel_

There are two options on moving a Mac OSX Combo Updater to your ATV.

This can be done either via terminal by opening terminal and writing the following command: $ scp MacOSXUpdCombo10.4.9Intel.dmg frontrow@appletv.local:

The password for your ATV will always be "frontrow"

The other option is to use an ftp client that supports sftp, such as CyberDuck. You can log into your ATV by making a new connection to
server: appletv.local
user: frontrow
password: frontrow

Once logged in you can drag and drop your 10.4.9 Combo updater to the /frontrow/Documents folder

The other item you need to have on hand is a bit more mercurial. It is part of the operating system that shipped with the original ATV, but is no longer included. As of 3/2009 I noticed there was a torrent available entitled. "AppleTV v1.0 Recvory Partition" this torrent includes the os.dmg which is what you will need to create the proper recovery.dmg file and install AFP file sharing to and from your AppleTV.

This next is the part I needed a lot of hand holding on. The creation of the recovery.dmg that is referenced so many times when posts are talking about this process.

Inside this "AppleTV v1.0 Recvoery Partition" is a file entitled os.dmg. This is what you need in order to create your recovery.dmg.

You see, there is no file called recovery.dmg on your ATV, you actually create it using terminal and ssh yourself.

Open terminal

Connect to your ATV by issuing the command: ssh frontrow@appletv.local using the passowrd frontrow.

once connected you can issue this command: sudo dd if=/dev/disk0s2 of=recovery.dmg bs=1m

When it is done (takes a few minutes), there will now be a recovery.dmg file located in root level of your ATV. Inside the directory /Users/frontrow/

Use an ftp client such as the free CyberDuck and initiate a sftp connection using server name: frontrow@appletv.local and user and password frontrow

In the connection window, you should now see a recovery.dmg file on your ATV. Copy that file to your desktop. Now this recovery.dmg is NOT the one you actually need, it is just the framework for what you need. So after you copy it to your desktop mount (double click) the recovery.dmg file on your computer. Inside there is the os.dmg you have been waiting to find. Delete that file. You are going to place the one you extracted from the AppleTV v1.0 Recovery Partition.

Empty trash otherwise you will get an error message that there is not enough room when you try to copy the new os.dmg to your recovery.dmg

Now copy the os.dmg that you extracted from your ATV in step to the mounted recovery.dmg folder

close and unmount the recovery.dmg

Copy this newly reconditioned recovery.dmg back to your ATV using Cyberduck again to the folder

Upon running the NitoTV Smart Installer, do not be dismayed when it states "Install Partial or Failed"

Scroll down that list and you will notice that everything is successful until the last two items, which in my case needed to be done by in through terminal and SSH the first was

sudo /System/Library/Coreservices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -clientopts -setvnclegacy -vnclegacy yes

The second was

sudo /System/Library/Coreservices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users frontrow -privs -all -restart -agent -menu

Restart your ATV by powering down and then up again.

After it has fully rebooted, go to your "Go" menu in the Finder of your home computer, the one you want to transfer files from.

Select "Connect To Server"

Enter "frontrow" as both the user and password

You should now be connected too your ATV via AFP.

You might need to turn on AFP file sharing in the Sharing control panel in your system preferecnes panes. Yo also will need to set access privilages on the newly connected ATV volume.

After it was all aid and done, I was still unable to drag and drop to my new volume, even though it appeared in the Shared Menu of my main computer, the reason was insufficient privilages. The easiest fix to that issue is to power down the ATV, remove the EXT HDD, plug it into any other computer you have full admin access on, mount the volume, highlight and "get info" on that volume and then art the bottom of the "Get info" window click on the padlock icon, input your admin password if asked adn then check the "ignore ownership on this volume" checkbox. Close the "Get Info" window, unmount the HDD and move it back to your ATV. Reboot and you should be all set.

-Henry
Reply With Quote
  #2  
Old March 9th, 2009, 04:27 PM
clairehuxtable clairehuxtable is offline
Member
 
Join Date: Jan 2009
Posts: 58
Default I must be super noob

Ok, I'm running 2.3.1. I've followed all the instructions. When I ran the smart installer, it said that the install was successful. I ssh'd those commands anyway, but I can't connect to my ATV through AFP. All I have is screen sharing capabilities. Does anyone know where I may have gone wrong?
Reply With Quote
  #3  
Old March 9th, 2009, 04:50 PM
eshapin eshapin is offline
Senior Member
 
Join Date: Jan 2009
Posts: 116
Default

@clairehuxtable - See the last few posts on the below link. Those folks had to downgrade from ATV 2.3.1 to 2.3 in order to reinstall AFP. You may have to do the same.
Reply With Quote
  #4  
Old March 9th, 2009, 05:08 PM
clairehuxtable clairehuxtable is offline
Member
 
Join Date: Jan 2009
Posts: 58
Default

that blows
Reply With Quote
  #5  
Old March 9th, 2009, 05:36 PM
davilla davilla is offline
Team-XBMC member
 
Join Date: Jul 2008
Posts: 572
Default

AFP needs OS.dmg from a r1.0 version appletv. It's sometimes called a recovery.dmg because it's located on the second partition which is called "Recovery". Doing a disk image of the second partition will not work as you are creating a disk image of a partition that contains OS.dmg and you want OS.dmg.

If your AppleTV is not a factory 1.0, it will NOT have the 1.0 OS.dmg in recovery. You need the 1.0 OS.dmg for AFP. Nothing else will work.

You might find an 1.0 OS.dmg though a google search.
Reply With Quote
  #6  
Old March 9th, 2009, 05:37 PM
clairehuxtable clairehuxtable is offline
Member
 
Join Date: Jan 2009
Posts: 58
Default

Yeah, I've got it. I guess its just not working because I've got 2.3.1
Reply With Quote
  #7  
Old March 10th, 2009, 03:57 AM
normmck normmck is offline
Junior Member
 
Join Date: Jan 2009
Posts: 1
Default

Mine works fine on 2.3.1.

I did a complete factory reset first, which I didn't do on a previous attempt which seemed to make the difference.
Also I had to run /usr/sbin/AppleFileServer - not sure that's the exact filename but I'm not near my ATv at the minute.
Reply With Quote
  #8  
Old March 10th, 2009, 10:10 AM
jcampbell jcampbell is offline
Junior Member
 
Join Date: Jan 2009
Posts: 21
Default this sounds awesome

Eventually, this is something I want to do with my AppleTV as it moves it closer to an NAS type system.

Is this functionality dependant upon Boxee being run, or will this function no matter what GUI (AppleTV/Boxee/XBMC/NitoTV) is loaded? Also, if I do add a USB HDD to the back of the ATV, can I add it to a USB hub so I can add wireless USB controllers for the emulators (suggestions welcome on controllers as well)?

Also, I'm really lost on how to get nitoTV to read my network shares (from my iMac), even though they are shared in both afp and smb. I really think it would make for a great temporary alternative as boxee doesn't always perform to par. I'm not abandoning boxee, but I've got a high refresh rate on my TV and a lack of 3:2 pulldown is giving me a headache watching scenes with panning involved. I've been unable to find guides on locating shares through nitoTV that are straightforward, and my unfamiliarity with the Mac filesystem surely doesn't help.

Right now I'm having a lot of fun with boxee, and will continue to do so whenever new releases come out. Until the ultimate Boxee for ATV version emerges, I'd like to try out all my options. Can anyone help or add to this?

(Sorry, I know there are a lot of non-boxee items on here, and an ass-ton of non sequitirs)
Reply With Quote
  #9  
Old March 10th, 2009, 11:28 AM
Tallowby Tallowby is offline
Senior Member
 
Join Date: Feb 2009
Location: Wilmington, NC
Posts: 204
Default

Quote:
Originally Posted by jcampbell View Post
Also, I'm really lost on how to get nitoTV to read my network shares (from my iMac), even though they are shared in both afp and smb.
The nitoTV mount is not necessary from the iMac. Just mount the drive from the mac os. Once this is done the mount will be a local source within boxee.
__________________
Running latest Boxee Beta version on:
ATV v3.0.2 (via atvusb-creator) http://code.google.com/p/atvusb-creator/
Macbook Pro2.1 (10.5.8)
Mac Mini (10.6.2)
iMac (Core i7) (10.6.2)
- Windows 7
Reply With Quote
  #10  
Old March 10th, 2009, 12:58 PM
jcampbell jcampbell is offline
Junior Member
 
Join Date: Jan 2009
Posts: 21
Default

Quote:
Originally Posted by Tallowby View Post
The nitoTV mount is not necessary from the iMac. Just mount the drive from the mac os. Once this is done the mount will be a local source within boxee.
Boxee sees my shares just fine, it's just a matter of viewing them without stutter (due to the current version's lack of 3:2 pull-down). It's nitoTV that doesn't seem to automatically detect them, and I'm attempting to use the program as an alternative in the interim while boxee's bugs are worked out.
Reply With Quote
Reply

Bookmarks

Tags
afp, external drive, hdd, usb

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:01 PM.


skin based on greenzero from vBSkins.com

 
Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.