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-12-26 04:06:28

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

twonky install with OSX

Directions on the wiki page say:

Other Operating Systems

If you need to install via some other operating system, you will need to FTP the files, and modify the autostart file, fun_plug to start twonkymedia.

Create the directory /mnt/HD_a2/twonky. Copy the following files and directories to /mnt/HD_a2/twonky: twonkymedia twonkymedia-default.ini cgi-bin plugins resources twonkymediaserver

Start server by running twonkymedia.

Well, when I unzip it does not create a startwonky.sh script as it would when you install it with Windows.  My question is, does the autostart script do anything special other than just start twonky?  What flags, params do I use if I have to create my own (see above)?  Can anyone post theirs?

Offline

 

#2 2010-12-28 23:35:05

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

Re: twonky install with OSX

surely someone can help?

Offline

 

#3 2011-01-02 00:54:27

ipdaley
Member
Registered: 2008-05-19
Posts: 10

Re: twonky install with OSX

Not sure if this helps but I installed Twonky version 4.4.18 last night (101231 - yes I am an old fart with nothing to do on New Year's eve:)!  )  using a Macbook unibody.  This is what I did:

1.  you MUST have the fun_plug installed. I recommend following the steps at this site:  http://www.horto.ca/?p=10
2.  If you already have the fun_plug installed, you need to turn Telnet back on. 
    a)  open Terminal and log onto your NAS using SSH
    b)  copy and paste this command into your SSH session ---   chmod +x /ffp/start/telnetd.sh  --- and hit enter.  This makes the file telnetd.sh executable when you reboot.
    c)  exit the SSH session
    d)  open Safari and log into your DNS-323
    e)  go to TOOLS and choose SYSTEM.  Now click the REBOOT button
    f)  Wait a few minutes for the NAS to reboot. 
    g) try to log into the NAS using Telnet.  again reference the details at http://www.horto.ca/?p=10 for telnet instructions.  BTW, you can use Terminal to telnet to the NAS just like SSH.
3.  Telnet MUST be on before continuing!!!  I have Windoz XP Pro installed on my macbook.  Vista or Windoz 7 should be similar.  Using Boot Camp, startup Windoz.
4.  Go to Control Panel and TURN OFF the Windoz Firewall. 
5.  Now follow the instructions on the wiki at http://dns323.kood.org/howto:twonkyupnpserver

I did the above and it worked for me.  on the first try, I forgot to turn off the Windoz firewall.  Assuming this worked for you don't forget to:

1.  turn the windoz firewall back on.
2.  log into your NAS using SSH and execute this command:  chmod -x /ffp/start/telnetd.sh to disable telnet.  (reboot the NAS after executing the command).

I am NOT a Mac, Windoz, Unix, DOS, or Linux expert but I've been around long enough to have used them all.  Hope this helps.  --- Hodge

Offline

 

#4 2011-01-02 03:30:08

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

Re: twonky install with OSX

It keeps erroring out, saying the 'network interface could not be found'.  Would you post the contents of your starttwonky.sh?  That's all I need, I can install the rest manually.  I just can't find a fresh copy of this file anywhere and since I'm not doing the typical install, it doesn't create it for me.

Offline

 

#5 2011-01-02 04:05:44

ipdaley
Member
Registered: 2008-05-19
Posts: 10

Re: twonky install with OSX

here you go...  straight from my NAS:



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

cd /mnt/HD_a2/twonky
/mnt/HD_a2/twonky/twonkymedia &


that help?

Offline

 

#6 2011-01-02 07:14:07

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

Re: twonky install with OSX

Yes it does ipdaley, thank you.  One question though:

When twonky starts as it does in your script, it is using the root fs to store its appdata and log files (unless you've created simlinks to your HDD).  The concern is that since root fs is only 2MB, it will fill up and you may have issues (pink lights, shutdown, etc).  Has this not been a problem for you?

Source: http://dns323.kood.org/howto:twonkyupnpserver

Thanks again for posting

Offline

 

#7 2011-01-02 16:01:00

ipdaley
Member
Registered: 2008-05-19
Posts: 10

Re: twonky install with OSX

bound4h wrote:

Yes it does ipdaley, thank you.  One question though:

When twonky starts as it does in your script, it is using the root fs to store its appdata and log files (unless you've created simlinks to your HDD).  The concern is that since root fs is only 2MB, it will fill up and you may have issues (pink lights, shutdown, etc).  Has this not been a problem for you?

Source: http://dns323.kood.org/howto:twonkyupnpserver

Thanks again for posting

so far, I have not had any issues (only been up and running for two days).  I am using Transmission and Twonky on the NAS.  all i did was allow the windoz executable file set it up for me.  as of today, I have only used Twonky to stream music and videos to one (1) iPhone.  Might add my Wife's iPhone and iPad later.  Will probably leave the setup as-is for now.  By no means do I consider myself a computer expert.  I know just enough to be dangerous.   If I run into issues, I will post them.

Offline

 

#8 2011-01-02 16:30:56

ipdaley
Member
Registered: 2008-05-19
Posts: 10

Re: twonky install with OSX

Straight from the TwonkyVision Configuration GUI:

Server type:    TwonkyMedia
Used memory:    505 KB
Maximum memory available for the server:    15000

Configuration file at:    /mnt/HD_a2/twonky/twonkyvision-mediaserver.ini
Last database change:    07:39:01

Content
Music tracks:    1321
Photos:    0
Videos:    13
Radio stations:    0

Trial period
Days left:    30

Server
Server uptime:    0 days, 13:59:05 hours
Server built date:    2009-07-20
Server restart pending:    no

Network Interfaces:    192.168.0.197
127.0.0.1

Offline

 

#9 2011-01-02 18:48:25

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

Re: twonky install with OSX

WORD OF CAUTION, dont turn on the "Logging feature" in the Twonky interface!  Mine jumped to 144MB!.  I have about 13000 songs and 12000 pictures, so I bet when the database rebuilds it lists each and every file in the log which is why it's so big.

So if you have it on your rootfs, be careful with logging (or just change the location of the logfile using the -logfile option in the starttwonky.sh).

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB