Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: jason arends <jason.arends@gmail.com>
To: Cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] DLNA between wired and wireless again
Date: Fri, 28 Jun 2013 15:07:34 -0500	[thread overview]
Message-ID: <CACZSwv+VQDiK369M3bML-3aVBaXDm_bwpxmEJv0T3Lf2oOD52g@mail.gmail.com> (raw)
In-Reply-To: <CAMZR1YCjfH-bqSxLecZNmjikeRb+gLQGxHddEDJenmK3P=J7KA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4889 bytes --]

After realizing you can't put numeric ip's in replies... here's my
reformatted reply.  I removed the middle octets in some places, but I hope
it's still obvious.  Let me know if there's a better place to discuss this.

I've done a few things based on some googling... I'm no expert, just using
this as my home router.  Here's what i can remember changing so far:

To make sure the packets with TTL of 1 don't die going through the router:

iptables -t mangle -A PREROUTING -i se00 -d 224 dot 0 dot 0 dot 0/4 -j
TTL --ttl-inc 1
iptables -t mangle -A PREROUTING -i sw00 -d (224..0/4) -j TTL --ttl-inc 1
iptables -t mangle -A PREROUTING -i sw10 -d (224..0/4) -j TTL --ttl-inc 1

some websites said you need a route for multicast so I did:

ip route add to 224 dot 0 dot 0 dot 0/4 dev se00

I've tried adding the same for sw10 and sw00 but didnt' seem to help, but
I'm not sure about putting just the se00 in there.  The thing about this is
when i do:

ip mroute show

it's blank, but I'm not sure if that should show something.  I also get
this, which I'm not sure is good or bad, but someone may be able to
interpret:

#ip route get 224 dot 0 dot 0 dot 1 from 172 dot 30 dot 42 dot 70 iif sw00
multicast 224..1 from 172..70 dev lo
    cache <local,mc>  iif *

From http://www.policyrouting.org/iproute2.doc.html it has an example where
the output looks like this though with the Oifs showing the other device
and pimreg, so I'm not sure pim is working right:
cache <mc> iif eth0 Oifs eth1 pimreg

I've setup my pimd.conf like this (comments removed and middle octets
removed, hopefully obviously):

default_source_preference       101
default_source_metric           1024

phyint ge00 disable
phyint gw00 disable
phyint gw10 disable

cand_rp 172..1 time 60 priority 20
cand_bootstrap_router 172..1 priority 5
rp_address 172..1 224..0 masklen 4 priority 5
group_prefix 224..0 masklen 4
switch_data_threshold           rate 50000 interval 20  # 50kbps (approx.)
switch_register_threshold       rate 50000 interval 20  # 50kbps (approx.)

I did also install miniDLNA and setup the router to stream media from
a usb drive, both wired and wireless can see and stream from that just
fine, but not sure if that has any impact on the issue.

Right now if I open a dlna application on wireless, it can see my
wired computer.  They appear to exchange SSDP search and notify
packets, but when they try to view contents of the media on the wired
computer or the wired computer tries to discover other devices on
wireless, it fails.  If I turn on the wifi card in the wired computer
as well, all the devices instantly show up and everything works, so
that makes me think the computer itself is fine... unless there's
something that tells it to ignore or refuse devices on other subnets.


~jason


On Fri, Jun 28, 2013 at 1:56 PM, Maciej Soltysiak <maciej@soltysiak.com>wrote:

> On Fri, Jun 28, 2013 at 5:16 PM, jason arends <jason.arends@gmail.com>wrote:
>
>> Saw this post
>> https://lists.bufferbloat.net/pipermail/cerowrt-devel/2013-January/000924.html which
>> said it was working in 3.7.2-4, but I haven't been able to get this working
>> right for me on 3.7.5-2.  Did something change that broke this or have I
>> misconfigured something?  After some fiddling with pimd, route, miniupnpd,
>> minissdpd, etc, I have ended up where the client on wireless (Xbox360
>> console) can see my wired computer (Win 8) but when it tries to open it, it
>> can't browse the contents.  This works when both are on the same wireless,
>> but I get some buffering/lag in video playback
>>
> I had the same problems. I was then able to hint Dave where the issue
> might be and it really was working out of the box for me (Wired Samsung TV,
> win7 laptop on 802.11g and n).
> Unfortunately since then I was never able to figure out what's going on.
> Are you able to share what you did to improve your situation?
>
> In wireshark, I see the SSDP search from the Xbox and then when the Xbox
>> tries to access it, the computer replying to the console with a Server
>> Error 500 containing "Access Denied" and I think it's because the computer
>> can't see the console.  I can ping it though.  When I put the computer on
>> the same wireless as the console, then open the Network folder and hit
>> refresh, the Xbox pops up along with other things on wireless (Roku, etc)
>> but when the computer is wired, it doesn't see any of those, so I think
>> something about the SSDP packets isn't working quite right between subnets
>> or with pimd.  My guess is the SSDP search from the computer isn't getting
>> to the wifi, only vice versa.
>>
> You're in a better situation than I am in. To me, Error 500 suggests the
> issue is located outside minissdpd or the router.
>
>
>
>>
>> Not sure where to go next, any ideas?  (is this the right place to
>> ask/troubleshoot this?)
>>
> I don't know a better one.
>
> Maciej
>

[-- Attachment #2: Type: text/html, Size: 8411 bytes --]

  reply	other threads:[~2013-06-28 20:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-28 15:16 jason arends
2013-06-28 18:56 ` Maciej Soltysiak
2013-06-28 20:07   ` jason arends [this message]
2013-07-01 17:50     ` jason arends

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACZSwv+VQDiK369M3bML-3aVBaXDm_bwpxmEJv0T3Lf2oOD52g@mail.gmail.com \
    --to=jason.arends@gmail.com \
    --cc=Cerowrt-devel@lists.bufferbloat.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox