D-Link DIR-825 Client Bridge media sharing problem

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3, 4, 5  Next
Author Message
predator666
DD-WRT Novice


Joined: 28 Jul 2012
Posts: 14

PostPosted: Sun Dec 09, 2012 10:26    Post subject: Reply with quote
Fine, thanks for feedback!
Sponsor
brandonf360
DD-WRT Novice


Joined: 15 Sep 2012
Posts: 14

PostPosted: Tue Dec 11, 2012 9:40    Post subject: Reply with quote
hi predator I ended up trying this and it's still not working for me. ps shows that igmprt is running now and the custom.sh config looks to be fine however devices still don't see each other across the bridge Sad I'm stumped now lol. May try this again later, I was able to get this working on OpenWRT but for some reason I feel like sticking it out with DDwrt and getting this working! I'll post back when I find out more.
satz
DD-WRT Novice


Joined: 28 Dec 2012
Posts: 2

PostPosted: Fri Dec 28, 2012 16:08    Post subject: Many thanks Reply with quote
Many thanks to predator666 for posting his config, my client-bridge wndr3700 is now forwarding multicast traffic to my AP (another wndr3700). I was able to get it to work across reboots via a single startup script in the web interface. Here it is:

Code:

ifconfig ath1:0 192.168.1.199 up

echo -e "quickleave\n\
phyint ath1:0 upstream ratelimit 0 threshold 1\n\
altnet 10.0.0.0/8\n\
altnet 192.168.1.0/24
altnet 239.255.255.250/24
phyint br0:0 downstream ratelimit 0 threshold 1\n\
phyint br0 downstream ratelimit 0 threshold 1\n\
phyint eth0 downstream ratelimit 0 threshold 1" > /tmp/igmprt.conf

$(which igmprt) /tmp/igmprt.conf


I'm using build 19342 on the client bridge, and build 20119 on the app. Hope it helps.

-satz
predator666
DD-WRT Novice


Joined: 28 Jul 2012
Posts: 14

PostPosted: Fri Dec 28, 2012 17:09    Post subject: Reply with quote
Ha, thats good teamwork!! Without brandconfs hint about igmprt I would not have managed getting this running...never heard about that program before...

Your script look more professional than mine Wink I will not test it however, never change a running system Wink

For me its still running without major flaws - sometimes the DLNA-server (QNAP) is not detected, but after power cycling the client bridge it works at once. Even streaming of a Blue-Ray rip with about 25GB works in real-time!
satz
DD-WRT Novice


Joined: 28 Dec 2012
Posts: 2

PostPosted: Fri Dec 28, 2012 17:33    Post subject: Reply with quote
Indeed, many thanks to brandonconf as well. You guys did all the hard work Very Happy

Interestingly (or not) I tried to get this to run with a separate igmpr.conf and shell script via CIFs automount/start script and couldn't get it working. This script was a workaround for that, just figured I'd post it.

Thanks again!

-satz
gecon27
DD-WRT Novice


Joined: 04 Jan 2013
Posts: 1
Location: Athens, Greece

PostPosted: Fri Jan 04, 2013 20:21    Post subject: Reply with quote
Hello,

I confirm that the following block worked for me on a T-LINK TL-WR941ND v2/v3 using the latest DD-WRT firmware from http://www.dd-wrt.com/site/support/other-downloads, path: others > eko > BrainSlayer-V24-preSP2 > 2013 > 01-01-2013-r20453 > tplink_tl-wr941ndv3:

ifconfig ath0:0 192.168.1.199 up

echo -e "quickleave\n\
phyint ath0:0 upstream ratelimit 0 threshold 1\n\
altnet 10.0.0.0/8\n\
altnet 192.168.1.0/24\n\
altnet 239.255.255.250/24\n\
phyint br0:0 downstream ratelimit 0 threshold 1\n\
phyint br0 downstream ratelimit 0 threshold 1\n\
phyint eth0 downstream ratelimit 0 threshold 1" > /tmp/igmprt.conf

$(which igmprt) /tmp/igmprt.conf

Compared to satz's script, I only changed "ath1" to "ath0" because the interface in my case was named "ath0", and I also added a couple of "\n\" that were missing from some lines.

Notes:
1) My configuration is the following:
Thomson TG585 Wireless ADSL Router <-- client bridged with --> T-LINK WR941ND (using latest DD-WRT firmware) <-- connected via cable to --> Sony Bravia KDL40-HX800
2) UPnP has to be enabled both on TG585 and T-LINK. In my case it was already enabled on TG585 ("Use UPnP" = "Yes"), so I only had to enable it on T-LINK. An additional setting "Use Extended Security" on TG585 can be left on "Yes" as it does not cause any problems.
3) On T-LINK, according to DD-WRT Client Bridge configuration guide (see http://www.dd-wrt.com/wiki/index.php/Client_Bridge; step 24), under Security -> Firewall -> Block Wan Requests, all options need to be unchecked except for "Filter Multicast" and then SFI Firewall needs to be disabled. I don't know why "Filter Multicast" needs to remain checked since SPI Firewall will be disabled anyway afterwards, but anyway I decided to keep the settings exactly as mentioned in the guide.

Thank you for your help,
Ioannis
Ant_Z
DD-WRT Novice


Joined: 27 Jan 2013
Posts: 5

PostPosted: Sun Jan 27, 2013 20:27    Post subject: Reply with quote
Hello
Im a bit new to dd wrt and have nearly the same problem. I cant send video and photo to my tv from my phone. But it have to work.

i have such config of my lan:
Internet -> DIR-615 (B2 without dd-wrt) -> bridged -> DIR 615 (E4 with DD-WRT) - wired connection to TV Sony Bravia.

Phone connected to wi fi. Every device has internet (tv and pc have wired connection to DIR 615 (E4 with DD-WRT). Every other device connects via Wifi.

Configuration:
1) DIR-615 (B2 without dd-wrt) - has 192.168.1.1 (255.255.255.0) DHCP works auto in this way: 192.168.1.100 - 192.168.1.199
2) DIR 615 (E4 with DD-WRT Firmware Version DD-WRT v24-sp2 (12/31/12) std - build 20453) - has 192.168.1.2 (255.255.255.0) and gateway 192.168.1.1

TVs IP: 192.168.1.193 - 255.255.255.0-gateway 192.168.1.1

I can't guess how to change this command to may it work:
Quote:
ifconfig ath0:0 192.168.1.199 up

echo -e "quickleave\n\
phyint ath0:0 upstream ratelimit 0 threshold 1\n\
altnet 10.0.0.0/8\n\
altnet 192.168.1.0/24\n\
altnet 239.255.255.250/24\n\
phyint br0:0 downstream ratelimit 0 threshold 1\n\
phyint br0 downstream ratelimit 0 threshold 1\n\
phyint eth0 downstream ratelimit 0 threshold 1" > /tmp/igmprt.conf

$(which igmprt) /tmp/igmprt.conf



Sorry for dummy questions and my english. Please can you help to configure the script in proper way?
Ant_Z
DD-WRT Novice


Joined: 27 Jan 2013
Posts: 5

PostPosted: Mon Jan 28, 2013 15:45    Post subject: Reply with quote
anyone? pls Embarassed
Ant_Z
DD-WRT Novice


Joined: 27 Jan 2013
Posts: 5

PostPosted: Mon Jan 28, 2013 17:30    Post subject: Reply with quote
predator666 wrote:

Just go to administration-->Commands.

I misuse the "Custom Script" which can be found under /tmp/custom.sh as configuration file for the igmprt Wink

Just add:
Startup:
ifconfig ath0:0 192.168.5.154 up
ifconfig ath0:1 192.168.5.155 up
ifconfig br0:1 192.168.5.156 up
/usr/sbin/igmprt /tmp/custom.sh

Custom Script
phyint ath0:0 upstream
phyint ath0:1 downstream
phyint br0:1 downstream
phyint br0:0 downstream
phyint br0 downstream

Dont forget that your Network-Number maybe other than 192.168.5.XXX. The IPs I assigned in "Startup" are randomly selected and unused.

If not working try to launch command "ps" and look if igmprt is really running. If not try to launch
/usr/sbin/igmprt /tmp/custom.sh
manually

Please try and give feedback...


Ok i get it work) it was so easy and it works like a charm)))))))))))) THANX

My Startup script:
ifconfig ath0:0 192.168.1.154 up
ifconfig ath0:1 192.168.1.155 up
ifconfig br0:1 192.168.1.156 up
/usr/sbin/igmprt /tmp/custom.sh

and else is the same
brighamm
DD-WRT Novice


Joined: 02 Mar 2013
Posts: 5

PostPosted: Sun Mar 03, 2013 8:54    Post subject: Thank You! Reply with quote
brandonf360, predator666, & satz thank you for your ideas.
I have lost track of how many hours i had into this before finding this thread.

Running DIR-825 in CB build 20453
UPnP (HDHomeRun) seen over Client Bridge now
Vaako
DD-WRT User


Joined: 10 Jun 2009
Posts: 364

PostPosted: Sat Mar 16, 2013 2:58    Post subject: Reply with quote
Is this problem already reported to the DD-WRT engineers?
If nobody does the problem wil exist in the future releases!

The thing is what being doing here is just a workaround and not everybody has the expirience in adding these commands as startup script.

Btw, can someone explain each command rule what it is doing, so we can understand it and would make sense why we use it???

_________________
Regards,
Vaako

1x Netgear R7800 Nighthawk - firmware not decided yet !!!!
1x Netgear R7000 Nighthawk r36410
1x Ubiquiti RouterStation Pro DD-WRT r23204 std (12/24/13)
1x Asus RT-N16 SVN revision 20675 NEWD-2 K2.6
1x Linksys E4200 v3.0 r34777 mega (01/31/18 )
1x Buffalo WZR-HP-G300NH B0 B0 Gargoyle FW
1x Linksys WRT600N v1.1 (Bricked)
1x Linksys WRT54GL v1.1 (DD-WRT 26446)
1x Linksys WRT54GS v2.2 (DD-WRT 26446)
1x Linksys RVS4000 (stock fw)
3x D-Link DWL-7100AP (openWRT)
2x TP-Link TL-WA801ND (Bridge mode) 100mW TX-Power
Asus WL-520GU SVN 16403M NEWD-2 Eko std-nokaid
4x Fonera with Gargoyle FW
wire2111
DD-WRT Novice


Joined: 03 Apr 2013
Posts: 21

PostPosted: Wed Apr 03, 2013 3:47    Post subject: Reply with quote
Hi Guys,

Made to post to hopefully help someone else like you guys helped me. I tried to use satz script however it wouldn't work for me. I worked on it a bit and have what works for me if anyone has issues with the others.

ifconfig ath1:0 192.168.1.252 up

echo -e "phyint ath1:0 upstream ratelimit 0 threshold 1\n
altnet 239.255.255.250/24\n
phyint br0:0 downstream ratelimit 0 threshold 1\n
phyint br0 downstream ratelimit 0 threshold 1\n
phyint eth0 downstream ratelimit 0 threshold 1" > /tmp/igmprt.conf

/usr/sbin/igmprt /tmp/igmprt.conf

I got rid of quickleave because according to documentation it should be left disabled unless we really need to emulate only one client.... unless im really thick and missing something. I got rid of the \ at the end of each line in the echo > .conf as it resulted in a "\" on each new line of the .conf file which caused igmprt to not run for me (found this out by running igmprt in debug mode).

Seems to run properly on each boot for me and I am running 2 client bridges with it connected to the main router, ps3 on each client bridge. DD-WRT v24-sp2 (03/25/13) std - build 21061 on all 3 wzr-600dhp routers.

I did have both routers sitting at 100% usage for the igmprt process but I believe thats because I accidently left the script running igmprt in debug mode... have it running normally now and everything seems low usage again, 1-2%.

Thanks to everyone involved with this.
wire2111
DD-WRT Novice


Joined: 03 Apr 2013
Posts: 21

PostPosted: Wed Apr 03, 2013 15:06    Post subject: Reply with quote
It would appear I'm wrong, I ran the igmprt command through telnet all night and cpu usage will still very low, when I try and have startup script launch it i am getting 100% cpu usage on the client bridges for igmprt. Anyone have any ideas how I can troubleshoot this?

edit:
Upon further testing, if I run igmprt over telnet it seems that cpu load for that process always stays under 0.01-0.05 or so. If I let startup script run it, or if i save the igmprt launch command as a custom script and run that cpu usage very quickly gets to 0.95-1.00 for the igmprt process. What am I missing here?

Thanks
Scrat
DD-WRT Novice


Joined: 27 Mar 2013
Posts: 1

PostPosted: Sun Apr 07, 2013 5:38    Post subject: Router is not ready Reply with quote
If the igmprt command is run at startup, the router has not initialized all other processes. The igmprt starts to send queries like the example bellow:

01:48:59.347587 IP 192.168.1.2 > all-systems.mcast.net: igmp query v2

This is done in a frenetic way and takes the whole CPU. I avoided that by waiting 60 seconds before running igmprt. The startup script used is:

(sleep 60 && ifconfig ath0:0 192.168.1.3 up && igmprt -d /tmp/custom.sh)&

It is run in background, so that the router can finish its initialization before the 60 seconds.

Hope to have helped.
gambitmac
DD-WRT User


Joined: 25 Mar 2012
Posts: 104
Location: In a van down by the river.

PostPosted: Thu Apr 18, 2013 5:19    Post subject: Reply with quote
Anyone have workaround for Broadcom based routers?
_________________
-I Am The Uberhuman Mutant
Goto page Previous  1, 2, 3, 4, 5  Next Display posts from previous:    Page 2 of 5
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum