« lsusb on OS X | Main | FPGA DSP »
Wednesday
Oct032012

Raspberry Pi Use Case: Subversion & Airplay

I bought a Raspberry Pi this past weekend at Maker Faire NYC. I didn’t really know what to do with it, but at $40 I figured I wouldn’t have much to lose.

The next day I received an email from my Subversion service that my payment didn’t go through. So first use, I set up a subversion server on the Pi. In time I will transfer my repositories from the web to the Pi and cancel my commercial Subversion account.

Next, I had run out of ethernet ports on my router. So, in order to use the Pi I had to disconnect something. Well, my AirPort Express was using a port. Since I already have an AirPort Extreme, the Express is only being used for Airplay, a service that lets you select where to play your music from your Mac or iDevice. I discovered that there’s an opensource project called Shairtunes (Airplay used to be named AirTunes) which mimics an Airplay device. So I followed these steps and had a replacement for my AirPort express. I did run into one problem, Shairtunes wouln’t run and gave this error: Can't locate Net/SDP.pm in @inc. You need to install the missing code. I don’t even know what it’s for, but the solution is:

# for some reason the fix doesn't work 
# unless you run as the superuser, plain sudo din't work
sudo su               
cpan install Net::SDP # just say yes to everything

I won’t repeat all the install steps since there are so many Raspberry Pi tutorials out there. But, if run into a snag leave a comment.

Overall, I’m very happy I picked up the Raspberry Pi, even if one of my use cases for the Pi is a solution to a problem it created.

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (1)

I am a software developer and I noticed your site via gizmodo. anyway, I wanted to point you to bitbucket and git. git is a much better scm than svn and bitbucket hosts your repos. it is free too.

just thought you'd be interested :)

November 6, 2012 | Unregistered Commenterjuan

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>