AFP file sharing on Lion MacBook Pro

Discussion in 'Apple TV and Home Theater' started by roryhammond, Jan 31, 2012.

  1. roryhammond macrumors newbie

    Joined:
    Apr 4, 2011
    #1
    Hello all,
    I'm trying to set up AFP sharing between my macbook pro and my jailbroken apple tv2. I want to share media that is stored on an external HDD, and have been told to share using AFP because SMB was broken in Lion.

    The path i need to use is supposedly afp://[[user[assword@]]server[/share[/path[/file]]]]

    Can someone tell me what username, password, server etc i need to use for an External HDD ? It is connected via usb 2.0.
    Hope someone can help me ... thanks in advance
    rory
     
  2. maturola macrumors 68040

    maturola

    Joined:
    Oct 29, 2007
    Location:
    Atlanta, GA
    #2
    Server is your computer DNS name or ip
    User - the username you use on that computer
    Password - the password for that user on that computer
    path - the path to the mount of the external Hard drive.

    just as a side note..since you are Jailbroken, you can install XBMC on the ATV2 and search for that harddrive on your network (make sure you share the mount). You can also install Plex server on your MBP and then Plex client on the Apple tv an watch all your media. (just a couple of more optons for you)
     
  3. roryhammond thread starter macrumors newbie

    Joined:
    Apr 4, 2011
    #3
    Thank you so much for that! Just one more thing, what would the path to the external HDD be ?
    I already have XBMC installed on the apple TV so how do I go about searching for the hard drive. I was planning on connecting to the AFP through AFP

    Thanks again for the help and hope that you can help me this last step haha !
    Rory
     
  4. maturola macrumors 68040

    maturola

    Joined:
    Oct 29, 2007
    Location:
    Atlanta, GA
    #4
    path the drive on OSX usually is somethng like ""/Volumes/<Name of the External HDD>" ..you can see the name of the HDD when you connect it and you'll see the icon on your desktop.

    Now, you can just share your drive on the network.. (go to System preference > INternet and Wireless Section > Sharing > Click on "File Sharing" > Add the External HDD to the "Shared Folders" List and click.

    Now your XBMC should be able to search and see that drive on the network and play all your media.
     
  5. roryhammond thread starter macrumors newbie

    Joined:
    Apr 4, 2011
    #5
    Wirelessly posted (Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A406 Safari/7534.48.3)

    So I should share my hard drive and then set up an AFP share on XBMC using the format you described above ? :)
    Rory
     
  6. maturola macrumors 68040

    maturola

    Joined:
    Oct 29, 2007
    Location:
    Atlanta, GA
    #6
    Unless I am mistaken, AFP stand for Apple File sharing which IS what i described above, once the HDD is shared, XBMC should be able to see it. (given than both devices are on the same network)
     
  7. roryhammond thread starter macrumors newbie

    Joined:
    Apr 4, 2011
    #7
    Wirelessly posted (Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A406 Safari/7534.48.3)

    Ok thanks a lot I'll have a lot, thanks for all your help
    Rory
     
  8. roryhammond thread starter macrumors newbie

    Joined:
    Apr 4, 2011
    #8
    Still cannot get this to work, thinking that i nay have to backup all the media and then re format the hard drive and try again, any ideas as to if this is a good route to go down or any other tips ?

    Getting desperate now :confused:
    Rory
     
  9. waw74 macrumors 68030

    Joined:
    May 27, 2008
    #9
    don't reformat the hard drive, that won't do anything to fix the problem, if the mac is reading the hard drive fine, then the format is fine. that's like saying i have a flat tire, let me strip the engine on my car, and reassemble it.

    on your mac, go to sharing,
    add the folder (or drive) you want to share.
    in the right hand column, make sure it says "everyone - read/write" if you're worried about others on your network having access, change it to "read"

    Look at the top of the window you're in now it will say, "Computers on your local network can access your computer at: computer.local" your will be slightly different, but you want the part in bold, you can change the name here if you wanted.

    you don't need a username or password now

    the "\Volumes\external" that was suggested earlier is only on the mac itself, once you share it the "\Volumes" part goes away.

    so to get to the drive you would type
    "afp://computer.local/external"
    then add folders after that if you need it so
    "afp://computer.local/external/movies"
     
  10. maturola macrumors 68040

    maturola

    Joined:
    Oct 29, 2007
    Location:
    Atlanta, GA
    #10
    What exactly is not working? you getting an error?
     
  11. roryhammond thread starter macrumors newbie

    Joined:
    Apr 4, 2011
    #11
    No it connects to the AFP but the MEDIA partition of my hard drive is not showing up where as the backup and public folders are :/
    Rory
     
  12. maturola macrumors 68040

    maturola

    Joined:
    Oct 29, 2007
    Location:
    Atlanta, GA
    #12
    When you shared it, did you allow "everyone" to read/write permissions?
     
  13. sidharth80 macrumors member

    Joined:
    Jan 30, 2008
    Location:
    Chicago,IL
    #13
    i had the same issue wherein my whole external HDD was not showing up on media in apple tv.. even though it was connected to the Macbook(Lion). I formatted the External HDD to Mac OS Journaled(Earlier it was MS DOS - FAT) and then it worked...
     
  14. roryhammond thread starter macrumors newbie

    Joined:
    Apr 4, 2011
    #14
    Thanks for all the help!
    In the end i found a way to re enable SMB on lion using some terminal commands etc.

    Instructions here:
    http://forums.boxee.tv/showthread.php?t=38629

    It works flawlessly, actually quite easy to set up as long as you follow the instructions to the T and works as it should.
     

Share This Page