You have two or more XBMC-Clients and want to share your movie/music library to all?

INSTALL

#setup a server and configure it with smb (howto coming soon)

#setup static ip to all xbmc-clients because of "server-ping-script"
sudo nano /etc/network/interfaces
---example---
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.70.18
netmask 255.255.255.0
gateway 192.168.70.1
cd /etc/init.d/
sudo ./networking restart
#connect using new ip

WOL-Script to start the Server
sudo apt-get install wakeonlan
sudo nano /etc/init.d/wake_srv
#add the following lines
#!/bin/sh

ping -c 1 srv > /dev/null 2>&1

if [ $? != 0 ]
then
#change mac to your servers mac
wakeonlan -p 7 70:71:bc:62:d6:95
fi
#make it executable
sudo chmod +x /etc/init.d/wake_srv
#install it in runlevel
cd /etc/init.d/
sudo update-rc.d wake_srv defaults

#If your Server is not reachable via hostname put it in the /etc/hosts
sudo nano /etc/hosts
#add the following lines (example)
192.168.70.20 srv

#Shutdown-Script for Server
#!/bin/sh
#Files where your IPs are located you want to check
CLIENTS=`cat /etc/scripts/auto_shutdown-ips.dat`
CLIENTS2=`cat /etc/scripts/auto_shutdown-ips.dat`
a=0
for i in $CLIENTS
do
ping -c 1 $i
if test $? -eq 0
then
a=1
echo ".$i ist erreichbar!."
fi
done
if test $a -ne 1
then
echo "Alle Clients scheinen aus zu sein. Der Server prueft in 180 Sek. erneut und faehrt dann runter..."
sleep 180
b=0
for i in $CLIENTS2
do
ping -c 1 $i
if test $? -eq 0
then
b=1
echo ".$i ist erreichbar!."
fi
done
if test $b -ne 1
then
echo "Alle Clients scheinen aus zu sein. halt in 30..."
sleep 30
sudo halt
exit
fi
exit
fi

#Content of auto_shutdown-ips.dat
192.168.70.18
192.168.70.19