Linux-Twonky UPnP HowTo
Linux-Twonky UPnP HowTo
machine architectures:
- Standard PC (x86)
- ARM (Advanced Risc Machine) big and little endian
- MIPS (Microprocessor without interlocked pipeline stages)
big and little endian
- PowerPC (Performance optimization with enhanced RISC Performance Chip)
- SH3 (Hitachi SH)
- SH4 (Hitachi SH)
- SPARC (Scalable Processor ARChitecture)
Copy all files (keeping the directory structure) into your most
favourite installation directory, e.g. /usr/local/twonky.
Make sure that the server file, plugins and the cgi scripts have the exe bit set.
If not, try:
"chmod 700 twonkys* twonkyproxy cgi-bin/* plugins/*"
Eventually it is necessary to have a multicast route set for the
server by issuinge, e.g.:
"route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0"
Twonky needs an "appdata" folder to store its database and other runtime generated
files. The default location for this depends on the user running the server. For
the user root (id = 0) this is
/var/twonky
$HOME/.twonky
We recommend to remove all files from appdata folder after updating Twonky server
to a newer version.
To specify an alternate location for the "appdata" use the command line swtich
In any case make sure that this folder exists and is writable before starting the
server.
Now start the server with a full qualified path (never just "./twonkystarter"),
but "/usr/local/twonky/twonkystarter" . The server will display a startup
message. The server is running now and you can find and use it with
your UPnP client device. Before you continue, you should point the
server to one or more content directories via the configuration
web-page, unless the content is available from subdirectories of the
server' working directory.
To open the server's configuration web-page, open the following url in a web
browser:
http://127.0.0.1:9000/webconfig
If the server can not be found by the client device check your
firewall settings.
Please note:
twonkyproxy is no longer automatically started by twonkystarter.
This is now started directly by the init script twonky.sh. If you are using an
alternate
method of starting twonkyserver, you also need to use that to start twonkyproxy.
Known issue:
The installer script (twonky*.sh) is not working for modern ubuntu linux
systems due to incompatibitlities with some system config tools (chkconfig
vs. update-rc.d). The manual installation however is unaffected.
Contact
-------
Website: http://www.twonkymedia.com
mailto: [email protected]