Turning your Raspberry Pi into an AirPi with iOS6 support

There are several posts on the internet describing how to turn your Raspberry Pi into an Airpi. The install assumes working from a clean Raspbian Wheezy setup as decribed here.

This is how I did it:

 

Become root

sudo su
cd

 

Update & upgrade Raspbian Wheezy

aptitude update

aptitude upgrade

 

Divert sound from HDMI to 3,5mm onboard sound jack

amixer cset numid=3 1

 

Get required libraries
aptitude install git libao-dev libssl-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl avahi-utils

 

Install Perl
aptitude install libmodule-build-perl
git clone https://github.com/njh/perl-net-sdp.git perl-net-sdp
cd perl-net-sdp
perl Build.PL
./Build
./Build test
./Build install
cd

 

Install Shairport iOS6 version
git clone https://github.com/hendrikw82/shairport.git shairport
cd shairport
make

 

Load shairport automatically at boot

make install

cp shairport.init.sample /etc/init.d/shairport

cd /etc/init.d

chmod a+x shairport

update-rc.d shairport defaults

 

Set the name of AirPi :

nano shairport

 

look for the DAEMON_ARGS line and amend accordingly:

DAEMON_ARGS=”-w $PIDFILE -a AirPi

 

ctrl-x and Y to save and close

To start the AirPi immediately 
./shairport start

or

reboot

You can also add Wlan support and USB Sound support.

Advertisements

4 thoughts on “Turning your Raspberry Pi into an AirPi with iOS6 support

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s