DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-10-13 23:19:44

bodbod
Member
Registered: 2007-11-22
Posts: 109

TwonkyServer 6.0.23 - DNS-323 - easy install

Hi,

I have prepared a simple twonkyserver 6.0.23 pack with explanations inside.
This explains you how to change the directory of the twonkyserver installation, by default : /mnt/HD_a2/Nas_Prog/twonky
The License is not included but the simple fact of rebooting the DNS-323 makes the 30 days counter restarting from Day 1.

Enjoy
bodbod


PS: I can't see the file attached so here is the link on megaupload for people interested in :

http://www.megaupload.com/?d=Q780779R

Last edited by bodbod (2010-10-26 02:34:23)

Offline

 

#2 2010-10-14 18:51:25

gasman
Member
From: Swansea,UK
Registered: 2009-06-23
Posts: 94

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

What does that take up in memory per track.?

I'm still using 4.4.18 as that only takes 0.5KB per track, much less than the other later version I tried, version 5 something.
With over 20,000 tracks I'm trying to keep the memory down.


DNS-323 FW 1.08 (05/15/2009) HW:B1
2 * Seagate    ST3500630AS (500GB)  Fun_plug 0.5
DNS-323 FW 1.08  (12/18/2009) HW:B1
2 * Hitachi    HDS5C3020ALA632 (2TB)  Fun_plug 0.5

Offline

 

#3 2010-10-26 00:50:44

Jobine
Member
Registered: 2010-01-27
Posts: 39

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

bodbod can you post a copy of your ... because Twonky wont start !

starttwonky.sh or 2starttwonky.sh

#!/bin/sh
route add -net 224.0.0.0 netmask 240.0.0.0 dev egiga0

cd /mnt/HD_a2/Nas_Prog/twonky
/mnt/HD_a2/Nas_Prog/twonky/twonkymedia -logfile /mnt/HD_a2/Nas_Prog/twonky/TwonkyMediaServer-log.txt -appdata /mnt/HD_a2/Nas_Prog/twonky/appdata &


fun_plug

at the end you're told to delete the last line "/mnt/HD_a2/ffp/start/2starttwonky.sh" when I erase it, the telnet won't work ?


At the end of my ffp.log I see that :

Mon Oct 25 17:59:04 GMT 2010
ln -snf /mnt/HD_a2/ffp /ffp
* Running /ffp/etc/fun_plug.init ...
* Running /ffp/etc/rc ...
* /ffp/start/ushare.sh ...
Starting ushare...
* /ffp/start/ushare-ref-ctrl.sh ...
Starting ushare-refresh...
* /ffp/start/syslogd.sh inactive
* /ffp/start/SERVERS.sh inactive
* /ffp/start/portmap.sh inactive
* /ffp/start/unfsd.sh inactive
* /ffp/start/nfsd.sh inactive
* /ffp/start/ntpd.sh inactive
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh ...
2
Starting /ffp/sbin/telnetd -l /ffp/bin/sh
* /ffp/start/sshd.sh inactive
* /ffp/start/rsyncd.sh inactive
* /ffp/start/kickwebs.sh inactive
* /ffp/start/lighttpd.sh inactive
* /ffp/start/inetd.sh inactive
* /ffp/start/2starttwonky.sh ...
/ffp/etc/rc: line 45: /ffp/start/2starttwonky.sh: not found
*  OK
/mnt/HD_a2/fun_plug: /mnt/HD_a2/ffp/start/2starttwonky.sh: No such file or directory


In my TwonkyMediaServer-log.txt nothing appear... what chmod I need to apply ? and for appdata ?

Can you help me ?

Thank's

Last edited by Jobine (2010-10-26 01:03:19)

Offline

 

#4 2010-10-26 02:20:25

Jobine
Member
Registered: 2010-01-27
Posts: 39

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

I reinstall Twonky, now it's work but I loose my samba (SMB) share.

Any ideas ?

Offline

 

#5 2010-10-26 02:34:04

bodbod
Member
Registered: 2007-11-22
Posts: 109

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

Hi Jobine,

Looks like I have typed an extra letter on my keyboard before I saved the document, my appologies for that.
Just uninstall twonky with nassetup.exe in the orignal package. Then before reinstalling it, edit the file called "install.nas" and take off the "2" typed by error to have following command line :

Code:

RC=/mnt/HD_a2/ffp/start/starttwonky.sh [b]instead of[/b] RC=/mnt/HD_a2/ffp/start/2starttwonky.sh

I am uploading the amended version at the link below :

Code:

http://www.megaupload.com/?d=Q780779R

Offline

 

#6 2010-10-26 02:43:42

bodbod
Member
Registered: 2007-11-22
Posts: 109

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

Jobine,

if you are loosing the SMB share it means you have not followed the steps in the explanations, here is below the reason :

On the DNS-323, /tmp, /var and /mnt are in the root partition (/). The root partition is entirely in RAM and has total size 9.7MB.
By default Twonky 6.0.xx is built to log to /tmp/TwonkyMediaServer-log.txt and other data is stored in /var and /mnt.

Two problems:
# 1/ The available space in / is quickly filled, the DNS-323 stops serving files and the status lights on the front go pink.
# 2/ Any saved twonky configuration is lost after a reboot, including the license key.

So we need to change the Twonky configuration to store this data on the big disks instead. This is easy to do by editing the starttwonky.sh script


Now, for you to avoid the SMB crash, just telnet the DNS and go to /ffp/start and chmod -x starttwonky.sh.
reboot your DNS-323, the SMB share is back as the twonkyserver media will have not started and crashed.
In the installation process, do not forget to untick the box "start server" as you need to edit the file starttwonky.sh before running the application.

does that make sense to you ?

Offline

 

#7 2010-10-26 19:57:02

Jobine
Member
Registered: 2010-01-27
Posts: 39

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

I erase ushare, ushare-refresh and Twonky on my server.

I reinstall Twonky

I go in the fun_plug (in /mtn/HD_a2/) and erase the last line "/mnt/HD_a2/ffp/start/starttwonky.sh"

I go in the starttwonky.sh file : (in /mnt/HD_a2/ffp/start/) I replace the last line by
"/mnt/HD_a2/Nas_Prog/twonky/twonkymedia -logfile /mnt/HD_a2/Nas_Prog/twonky/TwonkyMediaServer-log.txt -appdata /mnt/HD_a2/Nas_Prog/twonky/appdata &"

I restart the DNS-323 server...

WORKS : Smb share, access to DNS-323 via web

DON'T WORKS : Telnet (windows open and automatically close), Twonky web site (but see the favicon in the browser)

I can't chmod -x starttwonky.sh without Telnet !!

Thank's for your help.

Offline

 

#8 2010-10-26 21:53:34

Jobine
Member
Registered: 2010-01-27
Posts: 39

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

For the license, you need to restart the server at each day ?

If I erase or add a new divx, how long before it's appears ?

Last edited by Jobine (2010-10-26 22:07:36)

Offline

 

#9 2010-10-27 04:18:59

Jobine
Member
Registered: 2010-01-27
Posts: 39

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

I LOVE IT !

The best media center I've ever seen, even with the sleeves of my films

and

finished the DLNA protocol error (501) on my PS3

Thank's bodbod

Offline

 

#10 2010-10-28 14:38:36

bodbod
Member
Registered: 2007-11-22
Posts: 109

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

Sorry for delay, are you sorted Jobine ?
regarding telnet, I do not know why it is not working for you; during all my tests, telnet was working for me.
You must have done something extra in the process that i am not aware of.
Concerning the license, a simple reboot of the DNS server is enough, finally the refresh just depends of your settings
hope this helps.

Offline

 

#11 2010-10-28 15:22:59

Jobine
Member
Registered: 2010-01-27
Posts: 39

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

All work's now.

For my Telnet problem, I just reinstall Fun_plug

Simple reboot of the DNS or the Media Server ?

For the refresh, I put the setting to -1, but every day (when it do 24 hours) the media server restarts

Offline

 

#12 2010-10-29 14:02:08

bodbod
Member
Registered: 2007-11-22
Posts: 109

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

I have the same thing in term of settings, I have input -1 as value for the data refresh.
When it is rebooting, is the time counter for the trial period changing ?

Offline

 

#13 2010-10-29 16:29:16

Jobine
Member
Registered: 2010-01-27
Posts: 39

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

The running time of the server reset, but not the number of days.

Do you try the transcoding ? Twonky transcode the MKV files ? When I go to Transcoding, all choices are grayed

Last edited by Jobine (2010-10-29 16:33:50)

Offline

 

#14 2010-10-29 17:09:05

bodbod
Member
Registered: 2007-11-22
Posts: 109

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

Normally, when you reboot the DNS itself, the counter reset, at least it does on mine.
Looks like the software reboot is not doing the same than the hardware reboot.
Regarding the MKV, I havent given a try yet, I will have a look at it this weekend but in the mean time, if you look at the official website of twonky, here are the format supported :

Music: MP3, WMA, WAV, 3GP, M4A, MP4, LPCM, Ogg Vorbis, FLAC, MP2, AC3, MPA, MP1, AIF
Photo: JPEG, PNG, TIF, BMP
Video: MPEG1, MPEG2, MPEG2-TS, MPEG4, AVI, WMV, VOB, DivX, 3GP, VDR, ASF, MPE, DVR-MS, Xvid, M1V, M4V

I don't see the Matroska format listed above but after some quick searches on google, few people are saying it is compatible so I am bit confused. It is maybe depending of the version, I have to check this out.

Stay tuned

Last edited by bodbod (2010-10-29 17:20:13)

Offline

 

#15 2010-10-29 18:34:20

Jobine
Member
Registered: 2010-01-27
Posts: 39

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

the runnig counter reset but not the number of days left

Offline

 

#16 2010-10-29 20:35:41

Biscotte
Member
Registered: 2007-05-21
Posts: 81

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

Sounds good but link
http://www.megaupload.com/?d=Q780779R
returns
The file you are trying to access is temporarily unavailable.

Offline

 

#17 2010-10-29 22:00:30

Jobine
Member
Registered: 2010-01-27
Posts: 39

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

Biscotte, press F5 many times the file becomes available

Offline

 

#18 2010-10-29 22:11:12

Biscotte
Member
Registered: 2007-05-21
Posts: 81

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

OK got it coming down.
Will try this out when i get a chance.
Ta in advance     B

Offline

 

#19 2011-01-04 20:58:12

Jobine
Member
Registered: 2010-01-27
Posts: 39

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

Offline

 

#20 2011-01-05 13:08:21

Jobine
Member
Registered: 2010-01-27
Posts: 39

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

Nobody try it ?

I try it, and my license key always disappears, my samba share won't work and Twonky won't start. ?!?!%?

Last edited by Jobine (2011-01-05 13:22:09)

Offline

 

#21 2011-01-05 16:38:20

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

I have 6.0.30 and it works fine.

Offline

 

#22 2011-01-05 16:53:15

Jobine
Member
Registered: 2010-01-27
Posts: 39

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

Do you use the files in the zip files ?

or a special installation method (modifcation in the starttwonky.sh, uncheck start server and installation directory) as you did for version 6.0.23 ?

My problem is the same as the previous version, I lose my samba shares after a certain time and Twonky will not start.

Can you help me.. can you help me again ?

The problem could come from a wrong chmod on a directory ?

Last edited by Jobine (2011-01-05 16:54:33)

Offline

 

#23 2011-01-05 17:41:40

Jobine
Member
Registered: 2010-01-27
Posts: 39

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

In the nas-installer file,

there is a special section for the dns-323 which refers to "fun_plug" instead of "ffp"

----------------------------------------------------------

# # special for DNS-323, using fun_plug
grep-q-server-DNS323 twonkymedia default.ini
if ["$?" = "0"]; Then
grep-q Twonky / mnt/HD_a2/fun_plug
if ["$?" = "1 "]; Then
echo "">> / mnt/HD_a2/fun_plug
echo $ {RC}>> / mnt/HD_a2/fun_plug
chmod + x / mnt/HD_a2/fun_plug
fi
fi

----------------------------------------------------------

my problem could come from there ?

Offline

 

#24 2011-01-24 16:59:24

jaugust
Member
Registered: 2011-01-24
Posts: 8

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

Jobine wrote:

I go in the starttwonky.sh file : (in /mnt/HD_a2/ffp/start/) I replace the last line by
"/mnt/HD_a2/Nas_Prog/twonky/twonkymedia -logfile /mnt/HD_a2/Nas_Prog/twonky/TwonkyMediaServer-log.txt -appdata /mnt/HD_a2/Nas_Prog/twonky/appdata &"

HELP!  I have tried everything but I can edit the starttwonky.sh file.  It says I don't have permissions, I have tried to change them via chmod but nothing workings.  I cant delete the file, nothing!

Can anyone help!??

Offline

 

#25 2011-01-24 17:18:54

bound4h
Member
Registered: 2010-04-12
Posts: 209

Re: TwonkyServer 6.0.23 - DNS-323 - easy install

Are you using SMB to edit the file or SSH?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB