Raspbian: Instalasi UPnP mediatomb

From OnnoWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Setup Jaringan

sudo su
route add -net 239.0.0.0 netmask 255.0.0.0 eth0
ifconfig eth0 allmulti

Instalasi

apt-get install sqlite mediatomb


Edit konfigurasi

vi /etc/mediatomb/config.xml

Bisa di edit supaya

<server>
  <ui enabled="yes" show-tooltips="yes">
     <accounts enabled="yes" session-timeout="30">
        <account user="mediatomb" password="mediatomb"/>
     </accounts>
  </ui>
<name>RaspberryPi</name>

Restart

/etc/init.d/mediatomb restart

Untuk mencek URL mediatomb bisa dilihat file

tail /var/log/mediatomb.log

Isinya

2014-08-31 09:39:53    INFO: Configuration check succeeded.
2014-08-31 09:39:53    INFO: Initialized port: 49152
2014-08-31 09:39:53    INFO: Server bound to: 192.168.0.3
2014-08-31 09:39:54    INFO: MediaTomb Web UI can be reached by following this link:
2014-08-31 09:39:54    INFO: http://192.168.0.3:49152/