The UPnP Media Renderer (Appendix)
Raspberry Pi configuration
The first thing to do is to download the image of Raspbian from here.
Insert your SDHC card on your PC without mounting it.
Open a terminal and run fdisk -l
(as root) to see all devices and find that corresponding to your SDHC.
Then unpack the image and flash it to your SDHC with this command (as root):
dd bs=4M if=YYYY-MM-DD-wheezy-raspbian.img of=/dev/XXX
(in my specific case: dd bs=4M if=/home/cristiano/2014-09-09-wheezy-raspbian.img of=/dev/mmcblk0
)
At the end run sync
and then remove your SDHC.
Insert the SDHC card into the right slot onto the Raspberry Pi and turn it on.
Since the device is configured in DHCP you need to know the IP address. You can do this with a command like this one (as root): nmap -sP 192.168.1.1/24
Connect to the Raspberry Pi via ssh: ssh pi@IP_ADDRESS
(default user: pi, default password: raspberry).
Become root and update the repositories:
sudo su
apt-get update
Launch raspi-config
and:
- select expand filesystem in order to exploit all the available space (be sure you're in console mode [CLI] )
- force audio output on 3.5 mm jack.
Once restarted, reconnect via ssh and install jdk7 and mpg123 packages (as root):
apt-get install mpg123 oracle-java7-jdk
Now you have to install the driver for the TL-WN725N v2 WiFi module. In order to do this you have to upgrade to the latest firmware.
You need to install rpi-update (as root): apt-get install rpi-update
Then give (as root) rpi-update
and, at the end, reboot again.