TPU SOUND PROJECT

Index:

  1. Introduction
  2. HW requirements
  3. SW requirements
  4. UPnP services used
  5. The UPnP control point
  6. The UPnP media renderer (smart speaker)
  7. The user interface

The UPnP Media Renderer (Appendix)

Raspberry Pi configuration (cont'd)

Now save the changes and restart the network with this command: /etc/init.d/networking restart

Give an ifconfig wlan0 up to bring up the wireless interface (don't worry if you don't see it before).

Finally you can use pi as user or add a new one (as root): adduser YOUR_USERNAME

Change the default root password with passwd root and add you user to the main groups in your /etc/group.

How to setup the Java environment to compile/run/test the source code with Apache Ant

I described a full example right here. If you want to use the traditional way instead of using Ant, remember to add all the .jar dependencies to your Java Classpath:

How to enable autorun for the UPnP Media Renderer

In order to run the UPnP Media Renderer automatically at boot you must create a crontab configuration file associated to your preferred user. Give this command (as user): crontab -u $USER -e

Now add this line at the end of the file: @reboot /usr/bin/java -jar /home/rasplayer/rasplayer.jar

This will run the application in background.