Page 1 of 1

Save settings / registration permanently on MSS II ?

Posted: Sat Jul 10, 2010 12:57 pm
by Brinki
After restarting my MSS II, Twonky lost all settings. How should I save them permanently?
I´m using twonky 6.0.1 but with 5.1.3-dev it was the same

Re: Save settings / registration permanently on MSS II ?

Posted: Sun Jul 11, 2010 8:21 pm
by PeeBee
The folder that the ini file is in must be writable, and it must not be in an area that gets deleted on a restart of the MSS II. Sometimes this is set to a folder under /var and this may be getting deleted on each restart.

PB

Re: Save settings / registration permanently on MSS II ?

Posted: Sun Jul 11, 2010 9:26 pm
by Brinki
PeeBee wrote:Sometimes this is set to a folder under /var and this may be getting deleted on each restart.
And how should I change that? I´m not a Linux user, I´ve instaled twonky with the NAS installer

Re: Save settings / registration permanently on MSS II ?

Posted: Sun Jul 11, 2010 11:20 pm
by PeeBee
You have to modify the script that starts twonky so that it uses the -appdata parameter and set it to a folder that is persistent on your NAS, preferably somewhere in your data partition (ie where all your shares are). For my LS Pro the script is called twonky and is in /etc/init.d but it may be different on the MSS II.

I set -appdata to /mnt/disk1/twonky6 which is where my twonky files are installed to.

PB

Re: Save settings / registration permanently on MSS II ?

Posted: Mon Jul 12, 2010 10:56 pm
by Brinki
I´ve now changed the recan time in the twonkymedia-server-default.ini and it seems to work
But how should save the Regstration Key? That is the biggest problem

Re: Save settings / registration permanently on MSS II ?

Posted: Tue Jul 13, 2010 9:07 pm
by PeeBee
The license key should be put into the ini file like this:

Code: Select all

# license key
cdkey=AAAA-BBBB-CCCC-DDDD-EEEE-FFFF-GGGG-HHHH
But once you've got your ini file in an area that doesn't get deleted then you can enter it via the web interface.

You can also do it from the web interface by typing the following into your browser:

http:\\<<your-ip:your-port>>\rpc\set_option?cdkey=AAAA-BBBB-CCCC-DDDD-EEEE-FFFF-GGGG-HHHH

and this will set your key into the ini file. Obviously use your key and not AAAA etc.

PB