{"id":390,"date":"2009-05-02T05:40:34","date_gmt":"2009-05-01T20:40:34","guid":{"rendered":"https:\/\/fugutabetai.com\/blog\/2009\/05\/02\/setting-up-an-afp-apple-filesharing-protocol-on-ubuntu-and-a-firefly-itunes-media-server\/"},"modified":"2009-05-02T05:40:34","modified_gmt":"2009-05-01T20:40:34","slug":"setting-up-an-afp-apple-filesharing-protocol-on-ubuntu-and-a-firefly-itunes-media-server","status":"publish","type":"post","link":"https:\/\/fugutabetai.com\/blog\/2009\/05\/02\/setting-up-an-afp-apple-filesharing-protocol-on-ubuntu-and-a-firefly-itunes-media-server\/","title":{"rendered":"Setting up an AFP (Apple Filesharing Protocol) on Ubuntu and a Firefly iTunes Media Server"},"content":{"rendered":"<p>One of the things I&#8217;ve been meaning to do for a while is set up my Ubuntu machine to share out the music I have on it.  I run <a href=\"http:\/\/amarok.kde.org\/\">Amarok<\/a> on the machine and love it, but that doesn&#8217;t help when I&#8217;m super lazy and don&#8217;t want to reach over for the linux machine keyboard when I have a perfectly good laptop in my lap*.  (* Of course, I do have a VNC server set up on the machine so I could VNC in and start up Amarok that way, but it somehow feels like cheating.) <\/p>\n<p><P\/><\/p>\n<p>First step in getting the machine to share out music: set up an AFP server do the other machines in the house (mostly Macs) can see it.  That was a lot easier than I expected: just <a href=\"http:\/\/blog.damontimm.com\/how-to-install-netatalk-afp-on-ubuntu-with-encrypted-authentication\/\">follow the instructions on this post<\/a>.  Great!  That seemed to work well.  I think.  I already had samba up and running on the machine and I am guessing that is what is currently showing up in the Finder.  I&#8217;ll check it out on R.&#8217;s machine when I can pry her away from it.  The one thing that I did do was to change ATALK_MAC_CHARSET to &#8216;MAC_JAPANESE&#8217; and ATALK_UNIX_CHARSET to &#8216;UTF8&#8217;.  It was pointed out <a href=\"http:\/\/safe-linux.homeip.net\/local\/linux-netatalk-02.html\">over on this Japanese blog entry that that would be a good idea<\/a>.  I also set up a share for my data folder.  I was impressed that this went so smoothly because you need to compile the service from source in order to enable encrypted passwords on the server.  It went really smoothly though.<\/p>\n<p><P\/><\/p>\n<p>Once you have AFP set up, you need to set up Avahi to broadcast the server.  <a href=\"http:\/\/www.zaphu.com\/2008\/04\/29\/ubuntu-guide-configure-avahi-to-broadcast-services-via-bonjour-to-mac-os-x\/\">This guide is a really nice explanation of how to set up Avahi.<\/a>  So once that is done, you can move on to the next step in the process: <a href=\"http:\/\/www.zaphu.com\/2008\/04\/29\/ubuntu-guide-configure-a-firefly-mt-daapd-streaming-media-server-for-itunes-and-front-row\/\">and set up Firefly on the system.<\/a>  That setup was also really smooth, with the exception that for some reason, if you change the default password the service does not seem to work.  I have no idea why that would be the case, but do have a vague memory of the same thing happening a few months ago when I set it up.  Annoying, but not such a big deal.  Once I hit up the webpage for the service, set up the proper directory for the music, and did the scan, the share showed up in iTunes just fine.  Nice.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the things I&#8217;ve been meaning to do for a while is set up my Ubuntu machine to share out the music I have on it. I run Amarok on the machine and love it, but that doesn&#8217;t help when I&#8217;m super lazy and don&#8217;t want to reach over for the linux machine keyboard [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,5],"tags":[],"_links":{"self":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/posts\/390"}],"collection":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/comments?post=390"}],"version-history":[{"count":0,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/posts\/390\/revisions"}],"wp:attachment":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/media?parent=390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/categories?post=390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/tags?post=390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}