Zyxel NSA320s and Sony Blu Ray s790

Other OS or NAS discussions
Post Reply
Tooms
Posts:13
Joined:Fri Jul 18, 2014 4:07 pm
AV Hardware:Denon X2000
Sony BDP S790
Zyxel NSA320s
LG Smart TV
Zyxel NSA320s and Sony Blu Ray s790

Post by Tooms » Fri Jul 18, 2014 4:12 pm

Hello all

I apologise for being a total NooB but I hope someone can help.

I have just purchased a Zyxel NSA 320. I have put some movies on there to stream to my Sony Blu Ray s790.

The NSA has Tonky installed. The NSA firmware says it is the current firmware.

However for some reason the media server (twonky) doesnt seem to be streaming properly to the Blu Ray. It identifies the Blu Ray player as a Blu Ray player and not as something that can stream DLNA and therefore the files show as corrupted.

It is possible to go into the Twonky streaming settings and change the format, and it works particularly well if you choose generic DLNA or LG DLNA player and then it all streams without a problem.

However if the NSA 320 is switched off it loses these settings and so when it turns back on it is not as simple as simply asking it to stream again.

Please can you help ? Is there a way to make the settings stay or to make the default setting of Sony Blu Ray include DLNA streaming ??

Thanks

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by phibertron » Fri Jul 25, 2014 1:11 am

There are some things that can be done, but...
To do them one has to be able to SSH into the NAS
so that some twonky config changes could be made

Zyxel, does not make being able to SSH into the nas easy

This is what I googled on gaining SSH access to the nas

http://zyxel.nas-central.org/wiki/SSH_server
http://zyxel.nas-central.org/wiki/Telnet_backdoor
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Tooms
Posts:13
Joined:Fri Jul 18, 2014 4:07 pm
AV Hardware:Denon X2000
Sony BDP S790
Zyxel NSA320s
LG Smart TV

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by Tooms » Sun Jul 27, 2014 8:43 pm

Ahh that doesn't sound easy. Rats

First of all, I will need to look up what SSH is ..... :shock:

Tooms
Posts:13
Joined:Fri Jul 18, 2014 4:07 pm
AV Hardware:Denon X2000
Sony BDP S790
Zyxel NSA320s
LG Smart TV

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by Tooms » Sun Jul 27, 2014 8:47 pm

OK having a read, I am on the newest firmware so the SSH has been disabled.

But I think I am probably able to do the Telnet back door. Is it still possible to do something from there ?

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by phibertron » Mon Jul 28, 2014 6:28 pm

if you are able to get in
on the nas go to the twonky devicedb sony folder where the client profiles are located
and then rename the extension from .xml to .old or dot whatever you want, just not .xml
restart the server for changes to take effect
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Tooms
Posts:13
Joined:Fri Jul 18, 2014 4:07 pm
AV Hardware:Denon X2000
Sony BDP S790
Zyxel NSA320s
LG Smart TV

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by Tooms » Mon Jul 28, 2014 9:45 pm

That sounds very easy. However I am clearly doing something wrong.

How do I do the Telnet login ? Am I missing something ?

Because otherwise I am really struggling.

Thanks

Tooms
Posts:13
Joined:Fri Jul 18, 2014 4:07 pm
AV Hardware:Denon X2000
Sony BDP S790
Zyxel NSA320s
LG Smart TV

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by Tooms » Tue Jul 29, 2014 10:44 pm

Hi

Sorry for bothering you, I understand if you get fed up and hit your head on a desk, I expect it is a bit like when I tried to fix my mother in law's laptop over the phone, and it took 5 minutes before I realised that when I was telling her to "right click" she wasn't actually clicking on anything.

Anyway.

This is what I have managed to do. I have opened a telnet window (seems you have to activate it on Windows 7) and i have logged on to the NSA box using the admin password and also the root password.

When I log on with admin it tells me (using pwd) I am in the directory /home/shares

When I log on with the root password, it tells me I am /root

I can see loads of other directories, and they have hundreds more inside them.

Any idea where the sony devicedb is - ie the path ?

Thanks

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by phibertron » Wed Jul 30, 2014 2:34 pm

being logged in as root

I might be in "/usr/local/twonky/resources/devicedb/Sony" or "/usr/local/twonkyserver/resources/devicedb/Sony"

The file you are looking to rename is probably one of these
If your device is detected as "Sony Blu-Ray Player" then its "Sony_Blu-Ray_Home_Theater.xml"
If your device is detected as "Sony Blu-Ray Home Theater" then its "Sony_Blu-Ray_Player.xml"

you might be able to find its path with the find command
note: there is a period in the below example, it means to start from the root path

Code: Select all

find . -name *twonky
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Tooms
Posts:13
Joined:Fri Jul 18, 2014 4:07 pm
AV Hardware:Denon X2000
Sony BDP S790
Zyxel NSA320s
LG Smart TV

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by Tooms » Wed Jul 30, 2014 10:08 pm

You are a star. Thank you.

Right I have found it. I seem to have 2 of them.

usr/local/dmsf/binary/resources/devicedb/Sony

and

ram_bin/usr/local/dmsf/binary/resources/devicedb/Sony

I found them by using the find command and searching for the Sony Blu Ray player .xml.

However they are read only so it won't let me rename them.

Is this a problem ?

And which one do you think it will be ?

Tooms
Posts:13
Joined:Fri Jul 18, 2014 4:07 pm
AV Hardware:Denon X2000
Sony BDP S790
Zyxel NSA320s
LG Smart TV

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by Tooms » Wed Jul 30, 2014 10:30 pm

Sorry, should have said, there is a path:

usr/local/dmsf/binary/twonkyserver

and ram_bin/usr/local/dmsf/binary/twonkyserver

But it wont let me change directory to twonky server

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by phibertron » Wed Jul 30, 2014 10:57 pm

someone else has the same issue
http://forum.nas-central.org/viewtopic.php?f=249&t=9843

The nas is using a read only image for those folders
As an Example of what going look at this thread

http://forum.nas-central.org/viewtopic.php?f=228&t=2907
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Tooms
Posts:13
Joined:Fri Jul 18, 2014 4:07 pm
AV Hardware:Denon X2000
Sony BDP S790
Zyxel NSA320s
LG Smart TV

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by Tooms » Thu Jul 31, 2014 4:57 pm

Ah

I had a look at the read only issue. Yes that is a problem because it looks very complicated and I did not follow all of it.

If I understand, I can try to make the file writeable by doing the command

chmod 775 /(the path to the file I want to change the permissions)

so presumably

chmod 775 /usr/local/dmsf/binary/resources/devicedb/Sony

However if there is some sneaky code that makes it not that easy or makes it change it back afterwards then I have no idea how to fix it, like I said I tried to keep up with the conversation but definitely got lost along the way (ie what the heck is a bindsum ??)

I fully expect it to say that it cannot change the file to writable like what happened in that other thread.

If, in some minor miracle, it is able to change it and amend it, would it work to rename the Sony_Blu-Ray_Player file to something else, then copy the Sony Media Receiver profile and rename that to Sony_Blu-Ray_Player so that it chooses a profile that works?

Anyway thanks again for the help. I will try the chmod command but won't hold my breath as it looks like pesky Zyxel will have it locked down a bit.

Tooms
Posts:13
Joined:Fri Jul 18, 2014 4:07 pm
AV Hardware:Denon X2000
Sony BDP S790
Zyxel NSA320s
LG Smart TV

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by Tooms » Thu Jul 31, 2014 7:55 pm

Rats

It says it is a Read only file system :(

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by phibertron » Thu Jul 31, 2014 8:55 pm

chmod isn't going to cut it, as the file system is mounted as read only from sysdisk.img

In that post I referenced they are able to mount it as RW like this
look at the last 5 posts

mkdir /tmp/loop0
mount /dev/loop0 /tmp/loop0 -o rw

But.....

There is most likely as script like the referenced in that post, /etc/init.d/rcS.210
that does and MD5 checksum of the img file, its different, game over
which begs the question, can one edit that file to get around the issue?
.
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Tooms
Posts:13
Joined:Fri Jul 18, 2014 4:07 pm
AV Hardware:Denon X2000
Sony BDP S790
Zyxel NSA320s
LG Smart TV

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by Tooms » Thu Jul 31, 2014 10:55 pm

OK

I did that command, and it said that it was read only

I did it again and got this:

# mount /dev/loop0 /tmp/loop0 -o rw

mount: block device /dev/loop0 is write-protected, mounting read-only
mount: /dev/loop0 already mounted or /tmp/loop0 busy
mount: according to mtab, /dev/loop0 is already mounted on /tmp/loop0

Both the directory /usr/local/dmsf/binary/resources/devicedb/Sony

And the .xml files are still only read only.

And as for your question about editing that file to get over the issue if it does check and see if anything is different ? No I honestly don't think I can. I am just about managing this on telnet just by copying what you and others have written, but we are very near the end of my knowledge and ability I reckon.

If we can get it to amend the file to at least see if it will leave it then YAY

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by phibertron » Fri Aug 01, 2014 12:58 am

bummer, I'll peek around the web and see what others have been able to accomplish
I would see if contacting zyxel might help, probably not

But here is something to ponder,
disable the built in twonky,
install Fun Plug,
install and run your own version of twonky via fun plug abilities

But it wouldn't be licensed unless you have a key already that you bought
http://nas-tweaks.net/384/installation- ... s-devices/

the only way I could see getting around the license issue,
would be to copy out the contents of "/usr/local/dmsf/binary/"
instead of doing the wget from that guide
this way you would be using the one already from your nas,
just running in a different folder ;)
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Tooms
Posts:13
Joined:Fri Jul 18, 2014 4:07 pm
AV Hardware:Denon X2000
Sony BDP S790
Zyxel NSA320s
LG Smart TV

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by Tooms » Fri Aug 01, 2014 4:27 pm

Thanks again for your help.

I have contacted Zyxel. They have sent me a new firmware. That doesnt help. And now they have asked for screenshots and whether removing it from the list and adding it again works (they must think this is my first Rodeo !!)

So I am not holding out much hope for them unless they send me a firmware with writable files :roll: :evil:

I have no idea how to run a fun plug. I have seen someone somewhere mention there is a step by step guide to running serviio but even the comments for that were that it was quite tricky.

I will have a look and see 8)

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by phibertron » Sat Aug 02, 2014 9:53 pm

Good Luck
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Tooms
Posts:13
Joined:Fri Jul 18, 2014 4:07 pm
AV Hardware:Denon X2000
Sony BDP S790
Zyxel NSA320s
LG Smart TV

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by Tooms » Tue Aug 05, 2014 5:22 pm

Zyxel have told me that the next firmware update will include an update to fix this, and it will be released this year or early next year.

No help on where to go in the mean time.

User avatar
phibertron
Posts:1566
Joined:Sun Jan 30, 2011 5:52 pm
AV Hardware:Hardware
========
WHS - HP Ex495
PS3
XBOX 360
iTouch - Gen 2 and Gen 3
PSP - 3000

Encoders
========
Handbrake
x264
ffmpeg
mencoder

Tagging
======
mp3tag

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by phibertron » Thu Aug 07, 2014 5:21 am

wow that's a long wait
viewtopic.php?f=2&t=10627
viewtopic.php?f=2&t=9353
viewtopic.php?f=2&t=9408
viewtopic.php?f=2&t=9416
viewtopic.php?f=2&t=9424
viewtopic.php?f=2&t=9364
viewtopic.php?f=2&t=9497

Tooms
Posts:13
Joined:Fri Jul 18, 2014 4:07 pm
AV Hardware:Denon X2000
Sony BDP S790
Zyxel NSA320s
LG Smart TV

Re: Zyxel NSA320s and Sony Blu Ray s790

Post by Tooms » Sun Jan 31, 2016 12:39 am

They still haven't fixed this ...

Post Reply