Setting up an AFP (Apple Filesharing Protocol) on Ubuntu and a Firefly iTunes Media Server

One of the things I’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’t help when I’m super lazy and don’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.)

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 follow the instructions on this post. 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’ll check it out on R.’s machine when I can pry her away from it. The one thing that I did do was to change ATALK_MAC_CHARSET to ‘MAC_JAPANESE’ and ATALK_UNIX_CHARSET to ‘UTF8’. It was pointed out over on this Japanese blog entry that that would be a good idea. 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.

Once you have AFP set up, you need to set up Avahi to broadcast the server. This guide is a really nice explanation of how to set up Avahi. So once that is done, you can move on to the next step in the process: and set up Firefly on the system. 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.


Posted

in

,

by

Tags:

Comments

3 responses to “Setting up an AFP (Apple Filesharing Protocol) on Ubuntu and a Firefly iTunes Media Server”

  1. Matt K Avatar

    Hey thanks for this! I remember being frustrated that these tools didn’t exist a few years ago. Now when (if?) I get a linux machine running I can use this post as a reference!

    Again, thanks!

  2. marta Avatar

    I am a beginner Linex users, and thsu also refer to your article quite often for help. Thank you!

  3. Mangg Avatar

    These topics are so confusing but this hpeled me get the job done.

Leave a Reply

Your email address will not be published. Required fields are marked *