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
rdzviper
DD-WRT Novice


Joined: 20 Apr 2013
Posts: 2

PostPosted: Tue Apr 23, 2013 7:47    Post subject: Reply with quote
Hello!

I have primary router. uPnP on it works fine on stock firmware. Also i bought TP-LINK router to connect my new LG TV to mediaserver on primaty router. On it, i installed dd-wrt firmware and it is in client bridged mode. TV couldn`t see mediaserver.
After 3hours of trying config, i reached that reason in dlna broadcast and i found this theme.
For test, i connect notebook with WMP as mediaserver to tp-link lan and make this config into the router:
predator666 wrote:


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


After that, TV and other devices from network can see notebook mediaserver. But TV still can`t see mediasever on primary router, or notebook via wi-fi.

As i can understand, there is no dlna broadcast from wlan to lan on tp-link.

How do i need change script for router?
Thank you!
Sponsor
gambitmac
DD-WRT User


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

PostPosted: Thu May 09, 2013 2:05    Post subject: Reply with quote
rdzviper wrote:
Hello!

I have primary router. uPnP on it works fine on stock firmware. Also i bought TP-LINK router to connect my new LG TV to mediaserver on primaty router. On it, i installed dd-wrt firmware and it is in client bridged mode. TV couldn`t see mediaserver.
After 3hours of trying config, i reached that reason in dlna broadcast and i found this theme.
For test, i connect notebook with WMP as mediaserver to tp-link lan and make this config into the router:
predator666 wrote:


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


After that, TV and other devices from network can see notebook mediaserver. But TV still can`t see mediasever on primary router, or notebook via wi-fi.

As i can understand, there is no dlna broadcast from wlan to lan on tp-link.

How do i need change script for router?
Thank you!


have you had any luck getting this to work?

_________________
-I Am The Uberhuman Mutant
rdzviper
DD-WRT Novice


Joined: 20 Apr 2013
Posts: 2

PostPosted: Mon May 13, 2013 7:20    Post subject: Reply with quote
yes, i returned both routers to defaul settings and reconfigured them. TV see DLNA server on router after some time from switching on. And tv don`t see other DLNA servers in net, though other DLNA clients, such as my smartphone, can see all:router, WMP on notebook, WMP on laptop.
Chrysop
DD-WRT Novice


Joined: 01 Jun 2013
Posts: 1

PostPosted: Sat Jun 01, 2013 12:23    Post subject: Thank you Reply with quote
predator666 wrote:

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


This with 192.168.1.154 helped me much.

Just want to say thanks for this great solution.
ahmadsf
DD-WRT Novice


Joined: 06 Jun 2013
Posts: 1

PostPosted: Thu Jun 06, 2013 20:10    Post subject: Re: Thank you Reply with quote
Hey everyone,

My setup is that I have a trendnet tew-632brp router in client bridge mode talking to my wireless router. This all works fine except for upnp and dlna.

I've been following this thread and tried the trick of adding the startup and custom scripts just as below.

I am running the latest release for this router. I also have upnp turned on, the multicast checkbox checked, and the firewall set to off.

After I reboot with the settings mentioned in this thread, the lights on the router flash constantly which seems to imply that something is being multicast..yet it still doesn't work. I telnet'd in to the router and see that icmpd is running, and the ifconfig settings look good. Yet still can't see my upnp devices that are behind the client bridged router with anything on the gateway wifi router.

I then noticed the comment about having this in the startup which pegs the CPU. Sure enough, the CPU of the router shot up to 100%.

I then decided to run it all from command line via telnet. igmp started fine and I actually saw my upnp devices(!!), but then after about 30 secs the lights on the router lit up again like mad and then CPU was pegged at 100% again.

Looks to me like the idea works although I need to know how to keep the process well behaved so it doesn't peg the CPU.

Any ideas?



Chrysop wrote:
predator666 wrote:

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


This with 192.168.1.154 helped me much.

Just want to say thanks for this great solution.
loverz
DD-WRT Novice


Joined: 25 Jan 2013
Posts: 5

PostPosted: Fri Jun 07, 2013 16:19    Post subject: Reply with quote
hey guys,

I have the same problem, that my TV can not see my DLNA server.

I have the following topology:

DLNA Server <-LAN-> WDR4300 (DD-WRT) <-WIFI-> WR1043ND (DD-WRT) <-LAN-> TV

I have no experience in using the command prompt so I just tried your code by copy and paste.

Nothing at all worked for me...

My Mainrouter (WDR4300) has the IP 192.168.1.1
My Client Bridge (Routed) Router has the IP 192.168.1.10

Can anyone give me a code specific for my problem?

-Internet works fine on TV
-UPNP is active on both routers
-Firewall is inactive on the client bridge


Do I have to give the TV a static IP?

Sorry for my english Wink
DJ Palmis
DD-WRT Novice


Joined: 03 Nov 2012
Posts: 7

PostPosted: Sat Jun 08, 2013 20:29    Post subject: Same problem Reply with quote
I have the following topology:

Thomson TG784n (ADSL) <-WIFI-> MR3220 (DD-WRT) <-WIFI-> Notebook

Notebook don't see UPnP server!
If i connect to ADSL router direcly I see UPnP server.
I need UPnP for Emule port opening.. Sad
mohsennayyeri
DD-WRT Novice


Joined: 15 Jun 2013
Posts: 1

PostPosted: Sat Jun 15, 2013 21:25    Post subject: Reply with quote
hi
I have the same problem too
My TV don't see DLNA server but DLNA server see the TV

I have the following topology:

DLNA Server <-LAN-> WDR4300 (DD-WRT) <-WIFI-> Liksys <-LAN-> TV
whome
DD-WRT Novice


Joined: 27 Jun 2013
Posts: 7

PostPosted: Fri Jun 28, 2013 22:15    Post subject: same problem Reply with quote
I have the same problem.

any help will be appreaciated
whome
DD-WRT Novice


Joined: 27 Jun 2013
Posts: 7

PostPosted: Tue Jul 09, 2013 18:53    Post subject: Reply with quote
i applied the suggested settings however had to remove them due to CPU usage and router becoming unstable.
wire2111
DD-WRT Novice


Joined: 03 Apr 2013
Posts: 21

PostPosted: Wed Jul 17, 2013 16:06    Post subject: Re: Router is not ready Reply with quote
Scrat wrote:
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.


WINNER! Scrat is the man. This has been working great for me for 24 hours now, no cpu load!

Here is my current script:

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

sleep 120

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


I have sleep 120 on this router because at sleep 60 it would still start too early and peg the cpu. I have 3 routers, 2 connecting in client bridge to the main router. Both client bridge routers are running this script with just their ip's for ath1:0 changed. I can see all dlna/upnp stuff from the main router shared out the client bridges, and anything from the client bridges on the main router. I cannot see a upnp/dlna server from one client bridge on another client bridge, it appears to be stopped at the main router. Does anyone have any idea how to get the main router to forward the igmp traffic correctly? I tried a few variations of this script for the main router to listen on say ath1:0 and broadcast on ath1:1 but this still wasn't allowing devices to be seen.

Thanks for everyones help! hopefully this gets people up and running like me without the cpu pegging.
foxhound
DD-WRT Novice


Joined: 06 Oct 2012
Posts: 2

PostPosted: Wed Sep 18, 2013 2:27    Post subject: Reply with quote
Hi sorry for reviving this thread but I've attempted the steps listed throughout this forum and do not seem to get the results posted.

My current layout is as follows:

- : Wired
= : Wireless

Linksys Router (Stock firmware) ==== TP-Link TL-WR740N (wired bridge DD-WRT firmware) ---- Desktop PC

I am trying to stream the media from my PC to my PS3. My PS3 is connected wirelessly to my Linksys router and it does not detect my PC. I have enabled UPnP and I have tried the steps above. When I run IFConfig I get the following results

Quote:
ath0 Link encap:Ethernet HWaddr 64:70:02:BC:14:F0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10657 errors:0 dropped:27 overruns:0 frame:0
TX packets:5692 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:8028460 (7.6 MiB) TX bytes:997547 (974.1 KiB)
br0 Link encap:Ethernet HWaddr 64:70:02:BC:14:EF
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4907 errors:0 dropped:14 overruns:0 frame:0
TX packets:13856 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:858518 (838.3 KiB) TX bytes:8324357 (7.9 MiB)
br0:0 Link encap:Ethernet HWaddr 64:70:02:BC:14:EF
inet addr:169.254.255.1 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr 64:70:02:BC:14:EF
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:4
eth1 Link encap:Ethernet HWaddr 64:70:02:BC:14:F1
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4907 errors:0 dropped:0 overruns:0 frame:0
TX packets:13856 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:927216 (905.4 KiB) TX bytes:8324357 (7.9 MiB)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1
RX packets:3537 errors:0 dropped:0 overruns:0 frame:0
TX packets:3537 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:259380 (253.3 KiB) TX bytes:259380 (253.3 KiB)


I have tried running the following command:



Quote:
phyint ath0:0 upstream
phyint ath0:1 downstream
phyint br0:1 downstream
phyint br0:0 downstream
phyint br0 downstream


I also tried to create a custom.sh file in my /tmp/ folder and running it through igmprt

/usr/sbin/igmprt -d -vv /tmp/custom.sh

However I did not run:

Quote:
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


As I am worried that that will change my router IP and I don't know exactly how to run this. Is there anyone that can help provide a more detailed method.

Thank you guys for your time.
longjohn1987
DD-WRT Novice


Joined: 29 Sep 2013
Posts: 1

PostPosted: Sun Sep 29, 2013 16:07    Post subject: Reply with quote
I have tried all these various scripts and the like to get the DLNA media streaming to work across my wireless bridge... My setup is Billion 7800N -> Wireless Bridge (Client Mode) -> D-Link DIR-632A (running DD-WRT v24-sp2 (07/24/13) std) but I cannot get it to work! I can connect just fine to my media streaming on PS3 when both are connected to the D-Link, but there is no cross bridge DLNA communication happening Sad Any further suggestions??
lirathal
DD-WRT Novice


Joined: 27 Nov 2011
Posts: 15

PostPosted: Tue Oct 29, 2013 23:24    Post subject: Reply with quote
longjohn1987 wrote:
I have tried all these various scripts and the like to get the DLNA media streaming to work across my wireless bridge... My setup is Billion 7800N -> Wireless Bridge (Client Mode) -> D-Link DIR-632A (running DD-WRT v24-sp2 (07/24/13) std) but I cannot get it to work! I can connect just fine to my media streaming on PS3 when both are connected to the D-Link, but there is no cross bridge DLNA communication happening Sad Any further suggestions??


I started another post because I couldn't find this one but luckily another member directed me here. I'm trying variations on these scripts to try and get multicast to cross the bridge. Is there anyone that knows why relayd is programmed this way? Is this something that's going to be fixed in a later release?
lirathal
DD-WRT Novice


Joined: 27 Nov 2011
Posts: 15

PostPosted: Wed Oct 30, 2013 2:49    Post subject: This is just getting silly... Reply with quote
So I've been trying to work with this all day and still can't figure it out. I'm working with a WZR-HP-G300NH2 in Client Bridge mode. I've used the following as my script setup.

Quote:


ifconfig ath0 192.168.10.2 up

echo -e "phyint ath0 upstream ratelimit 0 threshold 1\n
altnet 224.0.0.0/4\n
phyint br0 downstream ratelimit 0 threshold 1\n" > /tmp/igmprt.conf

sleep 120

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



Here is my setup. I have a Cradlepoint MBR1400 then the Buffalo is setup as a wireless bridge and hardwired to the bridge is my server. As with everyone I can't get DLNA to work over the bridge. My script isn't working for me and so I'm wondering is there anyone that can help me fix it up?
Goto page Previous  1, 2, 3, 4, 5  Next Display posts from previous:    Page 3 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