Recently some friends and me were talking about streaming music from iTunes to my dockstar with an usb sound device connected. I knew there is a solution, so I started some research an found shairport at The project looks quite interesting and I tried to set everything up that I am able to play my music remotely.

First there are some dependencies you need to install:

apt-get install build-essential libssl-dev libcrypt-openssl-rsa-perl libao-dev libio-socket-inet6-perl libwww-perl avahi-utils pkg-config

Now all you need to do is download the sources, make and install them: Get the sources at

Untar them and navigate into the extracted directory. Now start make:


If this is done, test it:


You should be able to select the shairport server in iTunes. If you now play music it should stream to your dockstar.

If you want to install shairport as a service type:

make install
cp shairport.init.sample /etc/init.d/shairport
insserv shairport
/etc/init.d/shairport start