Page 1 of 1

Terastation Pro 2 - Twonky Install

Posted: Sun May 04, 2008 5:27 pm
by n0s
Help needed!

I'm really struggling to get Twonky to work on my Terastation Pro 2. Below is what I have done so far, I don't have much experience with linux so this is a bit of a learning experience.

I've enabled telnet and ssh access successfully and this is working when the box is restarted. I'm currently running firmware 1.22, but have tried other firmware too. I've downloaded twonkymedia-terastation-pro-v2-arm.zip which I believe is the correct version for my box, I've gone through the installation using the install files on my pc (windows) and also by copying to a share on the TS box as well but although the install says the server is installed at /mnt/array1/twonky and that I should be able to open the web interface at http://192.168.150.20:9000, it doesn't work. I've checked to see if any twonky files exist ie. /etc/init.d/twonky and /mnt/array1/twonky but they don't and there is no twonky entries in /etc/init.d/rcS.

I was frustrated, so I had a nights sleep and then did the following...

I did a manual install using the instructions on the Twonkyvision site which are basically: -
unzip files to /usr/local/twonky
set the exe bit by the following commands: -
chmod 700 twonkym*
chmod 700 cgi-bin/*
chmod 700 plugins/*
set multicast route by the following command: -
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
Then start the server by typing /usr/local/twonky/twonkymedia to which I get a reply of root@STORAGE:/etc# TwonkyMedia Version 4.4.4i

If I do a PS it shows the following
1768 root 368 S /usr/local/twonky/twonkymedia
1769 root 1184 S /usr/local/twonky/twonkymediaserver

If I now search for a media server using my PS3, it finds the Twonky Terastation Pro 2 device! however, I receive a DLNA protocol error (7531) message! and no files are shown!

Also, I can't browse to http://192.168.150.20:9000 to have a look at the config , it just says page cannot be displayed. I've tried changing the port to 9090 by changing the httpport=9090 line in the twonkymedia-default.ini file and then restarting the TS. But it still doesn't work.

I've put some print outs below of my config etc, Any help much appreciated!

n0s



root@STORAGE:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:01:A5:92:BA
inet addr:192.168.150.20 Bcast:192.168.150.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4258 errors:0 dropped:0 overruns:0 frame:0
TX packets:5662 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:512
RX bytes:452165 (441.5 KiB) TX bytes:5455053 (5.2 MiB)
Interrupt:21

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@STORAGE:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.150.0 * 255.255.255.0 U 0 0 0 eth0
BASE-ADDRESS.MC * 240.0.0.0 U 0 0 0 eth0
default 192.168.150.1 0.0.0.0 UG 0 0 0 eth0


root@STORAGE:/usr/local/twonky# more twonkymedia-default.ini
contentbase=/mnt/array1
contentdir=+A|/
friendlyname=Twonky
httpport=9090
enableweb=1
scantime=60
maxmem=40000
startupmb=0
platform=TERASTATIONPRO2

Re: Terastation Pro 2 - Twonky Install

Posted: Thu May 22, 2008 11:41 pm
by Watchmaker
Go here: http://buffalo.nas-central.org/forums/ and on one of the furums ( I think it was the ARM-9 based ones) is a sticky that spells out in great detail how to install Twonky on your Buffalo NAS. I had not a clue but after about 3 hours I had it up and running. From what I remember, your install procedure is leaving out a bunch of steps (you have to install a tar package, telnet, edit some some .rcS files, and such; but it is all spelled out.)

REgards,
Dewey

Re: Terastation Pro 2 - Twonky Install

Posted: Thu Jul 24, 2008 2:17 pm
by joergl2007
Why so complex? Windows-based Twonky install routines for NAS can be found here :D

After installing the Twonky onto the box - depending on the box - you only need to add the twonky startup to the startup of the OS:

Code: Select all

cp  /etc/init.d/rcS  /etc/init.d/rcS_old
echo "exec_sh twonky" >> /etc/init.d/rcS
Complete description, Jimbos HowTo:
http://buffalo.nas-central.org/forums/v ... =39&t=2999