1. Install RDP so that I can remote control it.
Info on this from http://www.raspberrypiblog.com/2012/10/how-to-setup-remote-desktop-from.html
basically just run
sudo apt-get install xrdp
and then use mstsc to connect.
2. Get SSH running.
2. Get SSH running.
I did try to connect remotely using Putty and an SSH connection but it just didn't work. The command
sudo apt-get install ssh
was used to check that SSH was installed (it was) but it didn't seem to be running.
sudo /etc/init.d/ssh start
caused the service to start and
sudo update-rc.d ssh defaults
will make it start each time. I can now connect to the command line from windows.
3.Thought I'd give an actual application a go.
3.Thought I'd give an actual application a go.
I found this post and this one or this one! about using the Raspberry Pi as an airplay receiver so here goes!
The Raspberry Pi is already working so step one is to install the shairport airplay emulator.
The Raspberry Pi is already working so step one is to install the shairport airplay emulator.
sudo apt-get install git libao-dev libssl-dev libcrypt-openssl-rsa-perl libio-socket-inet6-perl libwww-perl avahi-utils libmodule-build-perl
git clone https://github.com/albertz/shairport.git
cd shairport
make
sudo -s
perl -MCPAN -e 'install Net::SDP'
cp shairport.init.sample /etc/init.d/shairport
This will install the required bits and pieces, next this command will make sure that the system is compatible with ios6 git clone https://github.com/njh/perl-net-sdp.git perl-net-sdp cd perl-net-sdp perl Build.PL sudo ./Build sudo ./Build test sudo ./Build install cd ..then we can install the actual application,
git clone https://github.com/hendrikw82/shairport.git cd shairport make
khbdsvb
This will install the required bits and pieces, next this command will make sure that the system is compatible with ios6 git clone https://github.com/njh/perl-net-sdp.git perl-net-sdp cd perl-net-sdp perl Build.PL sudo ./Build sudo ./Build test sudo ./Build install cd ..then we can install the actual application,
git clone https://github.com/hendrikw82/shairport.git cd shairport make
khbdsvb
# Change to our home directory, install all the packages we need. cd ~ apt-get install build-essential libssl-dev libcrypt-openssl-rsa-perl libao-dev libio-socket-inet6-perl libwww-perl avahi-utils pkg-config git emacs git clone https://github.com/albertz/shairport.git cd shairport make # Install Net::SDP Perl module sudo -s perl -MCPAN -e 'install Net::SDP' # Demote the onboard soundcard and allow USB soundcards to become default # Add 'options snd_bcm2835=-2' # Comment out line 'options snd-usb-audio index=-2' emacs /etc/modprobe.d/alsa-base.conf # Copy the example init script cp shairport.init.sample /etc/init.d/shairport # Edit the init script to point to Shairport # NAME=RecordPlayer # DAEMON="/home/pi/shairport/shairport.pl" emacs /etc/init.d/shairport update-rc.d shairport defaults reboot