Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon Dec 18, 2017 2:23 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 13 posts ] 
Author Message
 Post subject: LS-XLFA9 & Samsung TV
PostPosted: Wed Sep 14, 2016 6:26 pm 
Offline
Newbie

Joined: Wed Sep 14, 2016 1:26 pm
Posts: 8
Hi,

Apologies for the newb question!

Name:
LS-XLFA9
Firmware version:
1.71

My link station is as above with the latest firmware that I am aware of.
I'm having problems with the media server / DLNA server. Now that I have enabled it, my Samsung TVs can see it again!
I'm assuming the firmware update means I can now fast forward, etc a video - I couldn't do that before.
However I am finding that when watching a video (so far MKV format) the TV will suddenly lose the connection with the LS-XLFA9.

Is it as simple as the refresh rate, knocking the system offline?

Current settings:
DLNA Server: Enabled
Public Folder: share
Automatic Update: Enabled
Synchronize I/O: Disabled
Refresh interval (Minute): 240

Any ideas on how to keep the connection between XLFA9/TV(s) when watching a video?

Thanks in advance.


Top
   
PostPosted: Thu Sep 15, 2016 1:47 pm 
Offline
Newbie

Joined: Wed Sep 14, 2016 1:26 pm
Posts: 8
Hi,

Doesn't seem to be the refresh setting.
I increased it to 900 mins, and did a "refresh now", then waited a few mins for the refresh to complete, then less than 20mins into watching a video the connection was lost again.

Any ideas?

Thanks in advance.


Top
   
PostPosted: Thu Sep 15, 2016 4:27 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2693
open ssh
http://forum.nas-hilfe.de/buffalo-technology-nas-anleitungen/fw-1-56-offen-ssh-auf-eine-ls-chlv2-fw-1-56-t1220.html

test the connection with
Code:
ping IP_SAMSUNG

replace IP_SAMSUNG with the real ip

open a second ssh an look at the cpu usage while streaming
Code:
htop


Top
   
PostPosted: Fri Sep 16, 2016 11:59 am 
Offline
Newbie

Joined: Wed Sep 14, 2016 1:26 pm
Posts: 8
Thanks.

Trying to SSH in using a Mac, so using the Terminal.

Using SSH admin@IP of NAS or SSH IP of NAS
In both instances I get port 22 connection refused.


Top
   
PostPosted: Fri Sep 16, 2016 12:07 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2693
you have to hack the box first

use this tool
https://www.gry.ch/Java/styled/

send the commands from my german howto


Code:
(echo newrootpass;echo newrootpass)|passwd

sed -i 's/UsePAM yes/UsePAM no/g' /etc/sshd_config

sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/sshd_config

sed -i '15,19d' /etc/init.d/sshd.sh

/etc/init.d/sshd.sh restart


Top
   
PostPosted: Fri Sep 16, 2016 12:54 pm 
Offline
Newbie

Joined: Wed Sep 14, 2016 1:26 pm
Posts: 8
Thanks.

Not sure if this helps

In the process of hacking the box and entering the commands via the ACP tool.
The TV stopped stopped being able to stream from it.
And then when entering commands or refreshing ACP (sending the discovery request) would get a "communication timeout, please try again message".

Will wait and try to complete the hacking and then get Ping & CPU readings.

Was a few months since I last used it as a media server and was working with the TV then. Although now link station has new firmware and TV's software has possibly been upgraded as well. Otherwise setup is the same in the house. Only myself as user of the box.


Top
   
PostPosted: Fri Sep 16, 2016 2:53 pm 
Offline
Newbie

Joined: Wed Sep 14, 2016 1:26 pm
Posts: 8
Thanks.

Able to SSH in now.
Without streaming.
CPU is 12.8% and ping is ~5-143ms typically <30ms

When streaming
CPU 2.6% to ~13% (When quit streaming -almost immediately this time was 2.6%)
Mem 31/50Mb
Swp 20/967Mb
Tasks 60, 1 running
Load Average 0.69 0.22 01.11
Uptime 2 days, 13:06:47
As at Broken Pipe

Pings prior to broken pipe were (approx):
12ms, 9ms, 9ms, 44ms, 5ms, 9ms

A different (slightly newer) Samsung TV has the same issue.


Top
   
PostPosted: Fri Sep 16, 2016 5:05 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2693
Your linkstation seams to be ok.

maybe your networkcable is demaged
this is my ping
Quote:
304 packets transmitted, 304 packets received, 0% packet loss
round-trip min/avg/max = 0.191/1.000/29.664 ms


Top
   
PostPosted: Fri Sep 16, 2016 5:28 pm 
Offline
Newbie

Joined: Wed Sep 14, 2016 1:26 pm
Posts: 8
Hi,

Any idea how to do the ping to get the min/avg/max ?

It is LAN to Hub the LAN to Home Plug LAN to LAN/Hub then Wifi to either TV.
Didn't have an issue with thats set-up before, will try new LAN cabe for Linkstation to Hub.


Top
   
PostPosted: Fri Sep 16, 2016 5:31 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2693
use ssh and
Code:
ping IP


then stop pinging with CTRL+C


Top
   
PostPosted: Sun Sep 18, 2016 2:53 pm 
Offline
Newbie

Joined: Wed Sep 14, 2016 1:26 pm
Posts: 8
Thanks!
Looks as if there was something wrong with the connection.
Hadn't made any changes but perhaps something had happened to the cable.

I removed the power line aspect, and all LAN cabled up.

Streaming to TV and transferring some files to it, now showing as:

1045 packets transmitted, 1045 packets received, 0% packet loss
round-trip min/avg/max = 0.457/3.249/82.066 ms

CPU upto 55.8%
Mem 30/50Mb
SWP 17/967
Load avg: 1.03,1.12,1.13


Top
   
PostPosted: Sun Sep 18, 2016 4:00 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2693
steaming is ok now?


Top
   
PostPosted: Sun Sep 18, 2016 4:37 pm 
Offline
Newbie

Joined: Wed Sep 14, 2016 1:26 pm
Posts: 8
Yes managed 3 (~20 min) episodes so far, which is more than I had been managing.
Transferring files to it also faster than before, whilst streaming.

So fingers crossed!

As I hadn't knowingly made any changes to the connections, etc I wouldn't have thought it would be the connection, thanks for the diagnosis.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 13 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited