Posted: Sat Sep 15, 2012 6:46 Post subject: D-Link DIR-825 Client Bridge media sharing problem
Hi I have been searching for for a couple weeks now for an answer to this problem and have had no luck, If there is another post pointing toward the fix please redirect me because I can not find it my self.
My problem is Media streaming (dlna on Windows media player/xbox 360, etc.) will not work over the client bridge. It used to work on my old linksys broadcom wireless g running ddwrt and setup as a repeater bridge, but the DIR-825 is filtering this SSDP/Multicast traffic.
The xbox in the living room can not see PC's on the other end of the bridge anymore, and like wise on those PC's I can't see the xbox.
Is there commands I can run to enable this traffic or is it a problem on atheros based hardware?
My Current setup is
AP
Motorola NVG510 AT&T uverse modem
Just an update for anyone else looking into this problem.
When creating a client bridge you are not getting a true transparent hardware bridge.
A program called relayd runs to create your virtual bridge. This part works fine for my DIR-825. The problem is relayd to my knowledge does not pass on IGMP multicast traffic. Another program is supposed to run on DD-wrt called igmprt which from what I can tell is just DD-wrt's version of IGMPproxy. This program allows multicast traffic to pass through your bridge.
This program is running on a default config when I do a 30/30/30 reset, how ever after configuring my wireless to be a client bridge, it gets turned off somehow, that is why SSDP/media sharing is not working over my bridge.
I tried manually adding my own config to jffs2 and running igmprt from a command line with:
igmprt -d /jffs2/etc/igmpproxy.conf
but the program fails saying that I must provide an upstream and a downstream interface, Maybe I didn't use the right interface names in the config I'm not sure, I believe i used ath0 for upstream and br0 for downstream.
So for anyone looking to fix media sharing, you must get igmprt process running after getting the bridge all setup and working. If anyone succeeds please post back with your igmpproxy.config, and likewise if I get it figured out I will post back.
Ahhh brandonf you are right, got it working!!!!
I dont know if all steps are really neccessary, I will try tommorrow but for now it is running!!
My dd-wrt has IP 192.168.5.160.
WLAN interface is ath0 (DLNA-Server 192.168.5.10 connected via 2nd WLAN-router)
Ethernet interface is br0 (Blue Ray player 192.168.5.104 connected to this interface)
What I have done:
1) create virtual interface ath0:0 (dont know if neccessary, used random unused IP 192.168.5.199)
ifconfig ath0:0 192.168.5.199 up
Now the BD-player can see the DLNA-Server at the other side of the WLAN-Bridge!!!
Please try if also working for you, if needed I will provide a more comprehensive step-by-step instruction...
Now it works again...detection seems to be random event. Once the DLNA-Server is detected by the BR-plyer, igmprt can be turned of again anyway...
I think the problem is, that both interfaces of the dd-wrt are on the same subnet, so igmprt does not know where to send the packets to?
Current routing table (Activate Route):
-----------------------------------------------------
#0: Src: 192.168.5.104, Dst: 239.255.255.250, Age:1, St: A, OutVifs: 0x00000000
-----------------------------------------------------
Route activate request from 192.168.5.10 to 239.255.255.250
The origin for route 239.255.255.250 changed from 192.168.5.104 to 192.168.5.10
Current routing table (Activate Route):
-----------------------------------------------------
#0: Src: 192.168.5.10, Dst: 239.255.255.250, Age:1, St: A, OutVifs: 0x00000000
-----------------------------------------------------
Route activate request from 192.168.5.104 to 239.255.255.250
The origin for route 239.255.255.250 changed from 192.168.5.10 to 192.168.5.104
OK, I think now I got it. Not the nicest solution but it works - configurable with web-interface and autostart
I rebooted all devices several times and DLNA is detected all times without any delay
I think the trick is to send the packets received from the upsteam-interface back to the same interface again...for this purpose I added additional virtual interfaces....
Just go to administration-->Commands.
I misuse the "Custom Script" which can be found under /tmp/custom.sh as configuration file for the igmprt
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
hmmm...at the first sight, the output looks exactly like mine.
Are you sure the DLNA-server is OK? Does everything work when using a wired connection?
How long did you wait for a detection? Tried to keep it running for 30 minutes or so?
Thanks for the prompt reply...
WR740NV4 with stock firmware works with DLNA but when not with dd-wrt. The reason why I changed to dd-wrt was because I had to follow a cretain sequence of changing the IP address of my Samsung TV to get the TV recognise my router(740N is connected to TV using LAN cable) and then after sometime the tv againg gets disconnected.
But there is no such problem with dd-wrt (the connection stays) but then DLNA does not work
So basically its a catch 22 situation and my preference is to be with DD-WRT.
predator666 thank you for the replys!! So Glad to see I wasn't alone on this lol. I ended up giving up on my dir-825 and got a Buffalo Wireless AC router and the matching bridge, This ended up working better for me in the end (500+mbps between 2 houses ) but now I am going to break out the dir-825 to get it setup as a bridge for the living room PC @ 300mbps (hopefully). I'll post back with my results again thank you!!
predator666, I have to thank you very much for the solution you submitted, it worked perfectly for me, although my configuration is different: PC with PS3 Media Server connected to main router(D-link DIR-655), Sony BDP-S370 connected to AP(TP-Link TP-WA801NDv1) with DD-WRT v24-sp2 (07/20/12) std - build 19519, client bridge mode. Bluray couldn´t see PMS, but after applying startup and custom script instructions it worked like a charm.