Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* [Cerowrt-devel] netflix through a sony BDP-S185 blue-ray player
@ 2014-03-17 14:42 Dave Taht
  2014-03-20  1:29 ` Jim Reisert AD1C
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Taht @ 2014-03-17 14:42 UTC (permalink / raw)
  To: cerowrt-devel

I tested netflix through a  sony BDP-S185 blue-ray player this morning.

It doesn't appear to be using  upnp,  and aside  from  one  glitch on
startup, streamed  a dr  who episode fine through  a 7mbit
down,768Mbit up SQM'd DSL system during a set of rrul tests, falling
back to 900kbit/sec.

ECN was enabled in both directions. I did something a little unusual
(by accident) on the test, running qfq+codel on the rrul client. I later
repeated the test with sch_fq to no ill effect.

(Linux puck 3.13.1-pie-4 #1 SMP PREEMPT Fri Jan 31 17:44:17 PST 2014
x86_64 x86_64 x86_64 GNU/Linux)

It is unclear to me how much buffering netflix clients have.

Later on I restarted sqm (with ecn disabled), which interrupted
playback briefly during the restart,
but was otherwise fine.

Plots & screenshots

http://snapon.lab.bufferbloat.net/~d/netflix/


config queue 'ge00'
    option interface 'ge00'
    option script 'simple.qos'
    option qdisc_advanced '1'
    option ingress_ecn 'ECN'
    option qdisc_really_really_advanced '1'
    option etarget 'auto'
    option linklayer 'atm'
    option overhead '40'
    option enabled '1'
    option download '6400'
    option upload '684'
    option qdisc 'fq_codel'
    option egress_ecn 'ECN'

root@lorna-gw:/etc/config# tc -s qdisc show dev ifb0
qdisc htb 1: root refcnt 2 r2q 10 default 12 direct_packets_stat 0
 Sent 2167186854 bytes 1564144 pkt (dropped 0, overlimits 1574115 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 110: parent 1:11 limit 1001p flows 1024 quantum 500
target 5.0ms interval 100.0ms ecn
 Sent 636 bytes 4 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 256 drop_overlimit 0 new_flow_count 1 ecn_mark 0
  new_flows_len 1 old_flows_len 0
qdisc fq_codel 120: parent 1:12 limit 1001p flows 1024 quantum 1500
target 5.0ms interval 100.0ms ecn
 Sent 2167186218 bytes 1564140 pkt (dropped 1858, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 1749 drop_overlimit 0 new_flow_count 211883 ecn_mark 1443
  new_flows_len 1 old_flows_len 9
qdisc fq_codel 130: parent 1:13 limit 1001p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 256 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0

root@lorna-gw:/etc/config# tc -s qdisc show dev ge00
qdisc htb 1: root refcnt 2 r2q 10 default 12 direct_packets_stat 0
 Sent 195266734 bytes 760801 pkt (dropped 0, overlimits 431552 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 110: parent 1:11 limit 1001p flows 1024 quantum 300
target 18.0ms interval 113.0ms ecn
 Sent 19141745 bytes 91385 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 742 drop_overlimit 0 new_flow_count 35799 ecn_mark 0
  new_flows_len 1 old_flows_len 2
qdisc fq_codel 120: parent 1:12 limit 1001p flows 1024 quantum 300
target 18.0ms interval 113.0ms ecn
 Sent 176124989 bytes 669416 pkt (dropped 4835, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 1749 drop_overlimit 0 new_flow_count 84298 ecn_mark 9065
  new_flows_len 1 old_flows_len 5
qdisc fq_codel 130: parent 1:13 limit 1001p flows 1024 quantum 300
target 18.0ms interval 113.0ms ecn
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 256 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc ingress ffff: parent ffff:fff1 ----------------
 Sent 1867078978 bytes 1591897 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0


-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Cerowrt-devel] netflix through a sony BDP-S185 blue-ray player
  2014-03-17 14:42 [Cerowrt-devel] netflix through a sony BDP-S185 blue-ray player Dave Taht
@ 2014-03-20  1:29 ` Jim Reisert AD1C
  2014-03-20  1:32   ` Jim Reisert AD1C
  0 siblings, 1 reply; 6+ messages in thread
From: Jim Reisert AD1C @ 2014-03-20  1:29 UTC (permalink / raw)
  To: Dave Taht; +Cc: cerowrt-devel

I am about to tear my hair out!

My WNDR3800 is running:

     CeroWrt Toronto 3.10.32-9 / LuCI Trunk (git-c9c65b3)

Thinking my existing Sony Blu-ray player (or USB wireless adapter) was
at fault, I picked up a Sony BDP-S5100 player on the way home tonight.
 I can get through the network setup, network status looks good and it
even claims the Internet is working now (whereas my other player would
say Failed).  But I can't download the network update or any
download/update content.  I went into the Network Diagnostics.  IPV6
test passes with flying colors.  IPV4 test fails with:

    Cannot communicate with DHCP Server

The advanced network settings say that IPV4 has priority.

I am at a loss as to what to try next.

- Jim

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Cerowrt-devel] netflix through a sony BDP-S185 blue-ray player
  2014-03-20  1:29 ` Jim Reisert AD1C
@ 2014-03-20  1:32   ` Jim Reisert AD1C
  2014-03-20  2:17     ` Dave Taht
  0 siblings, 1 reply; 6+ messages in thread
From: Jim Reisert AD1C @ 2014-03-20  1:32 UTC (permalink / raw)
  To: Dave Taht; +Cc: cerowrt-devel

I meant to add:

I tried a WiFi connection to my wife's Apple AirPort Time Capsule.
This device is connected via an Ethernet cable to my WNDR3800 router.
I get the same error message.

> I am about to tear my hair out!
>
> My WNDR3800 is running:
>
>      CeroWrt Toronto 3.10.32-9 / LuCI Trunk (git-c9c65b3)
>
> Thinking my existing Sony Blu-ray player (or USB wireless adapter) was
> at fault, I picked up a Sony BDP-S5100 player on the way home tonight.
>  I can get through the network setup, network status looks good and it
> even claims the Internet is working now (whereas my other player would
> say Failed).  But I can't download the network update or any
> download/update content.  I went into the Network Diagnostics.  IPV6
> test passes with flying colors.  IPV4 test fails with:
>
>     Cannot communicate with DHCP Server
>
> The advanced network settings say that IPV4 has priority.
>
> I am at a loss as to what to try next.

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Cerowrt-devel] netflix through a sony BDP-S185 blue-ray player
  2014-03-20  1:32   ` Jim Reisert AD1C
@ 2014-03-20  2:17     ` Dave Taht
  2014-03-20  2:26       ` Jim Reisert AD1C
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Taht @ 2014-03-20  2:17 UTC (permalink / raw)
  To: Jim Reisert AD1C; +Cc: cerowrt-devel

On Wed, Mar 19, 2014 at 6:32 PM, Jim Reisert AD1C
<jjreisert@alum.mit.edu> wrote:
> I meant to add:
>
> I tried a WiFi connection to my wife's Apple AirPort Time Capsule.
> This device is connected via an Ethernet cable to my WNDR3800 router.
> I get the same error message.

Please enable upnp in the router. It really wouldn't surprise me if it
was required for some operations.

>> I am about to tear my hair out!
>>
>> My WNDR3800 is running:
>>
>>      CeroWrt Toronto 3.10.32-9 / LuCI Trunk (git-c9c65b3)
>>
>> Thinking my existing Sony Blu-ray player (or USB wireless adapter) was
>> at fault, I picked up a Sony BDP-S5100 player on the way home tonight.
>>  I can get through the network setup, network status looks good and it
>> even claims the Internet is working now (whereas my other player would
>> say Failed).  But I can't download the network update or any
>> download/update content.  I went into the Network Diagnostics.  IPV6
>> test passes with flying colors.

Sony does ipv6 now? Cool.

>IPV4 test fails with:

The only thing I'd tried was a blueray player to netflix.

>>
>>     Cannot communicate with DHCP Server

on the router (do this on a fairly idle network so the capture isn't too big)

cd /tmp
tcpdump -w sony.cap -s 1514 -i se00
reboot the blueray player, have it fail
control-c to abort the dump
scp the sony.cap somewhere I can look at it
>>
>> The advanced network settings say that IPV4 has priority.
>>
>> I am at a loss as to what to try next.
>
> --
> Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us



-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Cerowrt-devel] netflix through a sony BDP-S185 blue-ray player
  2014-03-20  2:17     ` Dave Taht
@ 2014-03-20  2:26       ` Jim Reisert AD1C
  0 siblings, 0 replies; 6+ messages in thread
From: Jim Reisert AD1C @ 2014-03-20  2:26 UTC (permalink / raw)
  To: Dave Taht; +Cc: cerowrt-devel

> on the router (do this on a fairly idle network so the capture isn't too big)
>
> cd /tmp
> tcpdump -w sony.cap -s 1514 -i se00
> reboot the blueray player, have it fail
> control-c to abort the dump
> scp the sony.cap somewhere I can look at it


    http://www.ad1c.us/sony.cap

I powered on the router, then went into network diagnostics and tested
IPV4, which failed with the DHCP problem.

The player has a static address on my SSID-guest network.  On that
network, I turned off this setting:

  "Dynamically allocate DHCP addresses for clients. If disabled, only
clients having static leases will be served."

I was able to watch a video I owned at amazon.com, but I could not do
anything after that, and after re-booting the player, could not get
back to Amazon.  I checked the network settings and the IP address was
the static one, other data looked good.

Thanks for looking at this!

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Cerowrt-devel] netflix through a sony BDP-S185 blue-ray player
@ 2014-03-20 16:30 Jim Reisert AD1C
  0 siblings, 0 replies; 6+ messages in thread
From: Jim Reisert AD1C @ 2014-03-20 16:30 UTC (permalink / raw)
  To: cerowrt-devel

Dave spent a lot of time on E-mail with me last night (I can't think
him enough).  We finally got the Sony Blu-ray player to connect to the
'net.  Here's his theory (explanation) and the cure.  I can't imagine
the average consumer trying to deal with this, but I guess anyone
running CeroWRT on their router is probably not the average consumer.

I still have the old player, will try to get it going sometime over
the weekend, to see if was the same problem/cure.

Dave Taht:

"What I think was happening was that it was getting a DHCP response
with the 224 netmask, and ignoring it, setting it to 255.255.255.0
internally, which meant that TCP requests outside your network would
not [come] back in. The [Sony] GUI rejected your attempt to set it."

> OK, I'm going to buy into the idea it doesn't like the default netmask.
>
> I don't see any traffic making it back to .85 from the outside world,
> notably the attempt to get the firmware in the screenshot below.
>
> Since upnp isn't a problem, try changing the guest wireless
>
> /etc/config/network entry here to:
>
> config 'interface' 'gw00'
>         option 'type' 'none'
>         option 'proto' 'static'
>         option 'ipaddr' '172.30.43.1'
>         option 'netmask' '255.255.255.0'
>         option 'ip6assign' '64'
>
> reboot the router, go back to dhcp for sony.


-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-20 16:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-17 14:42 [Cerowrt-devel] netflix through a sony BDP-S185 blue-ray player Dave Taht
2014-03-20  1:29 ` Jim Reisert AD1C
2014-03-20  1:32   ` Jim Reisert AD1C
2014-03-20  2:17     ` Dave Taht
2014-03-20  2:26       ` Jim Reisert AD1C
2014-03-20 16:30 Jim Reisert AD1C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox