INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: davisford on May 28, 2006, 09:02:25 pm

Title: Roku & UPnP Server
Post by: davisford on May 28, 2006, 09:02:25 pm
Hi, MC used to work with my Roku.  Recently I changed Access Points, I also upgraded MC to 11.1.178, and upgraded the Roku firmware to 2.5.something.  I know I shouldn't have changed everything at once, but this is the case.  Now, Roku cannot discover MC UPnP server.

I spent many hours today in frustration trying to figure out why.  Roku shows the "No music libraries found (why?)" message.

First, I suspected the new AP, firewall, security device was not propagating broadcast packets from the wired to wireless LAN.  MC 11 is on wired lan, Roku is on wireless LAN -- both use same AP.   Unfortunately, I can't get a good sniffer (e.g. Ethereal) to capture Wi-Fi packets, and the wired machine is 64-bit AMD, so I can't get Ethereal to work with that either.

I tried plugging Roku into wired lan, but still no love.  The machine that hosts MC11 can ping the Roku IP address, so I know I have a route to the device.

I also have an old version of MC11 running on a laptop, so I fired that laptop up -- connected to the AP via Wi-Fi, and Roku discovered the UPnP server on the laptop. 

So, a couple things might be wrong:

a) the latest version of MC11 has some problem with the latest version of Roku firmware -- problem is I don't have good network tools at my disposal to diagnose if this is the case

b) my AP, which is a VPN appliance is not properly fowarding the SSDP discovery packets.  can someone post the multicast IP addresses used, and UDP port numbers -- so I can create some explicit firewall rules to try to match on? 

Any other help / ideas would really be appreciated.  This sux.

Regards,
Davis
Title: Re: Roku & UPnP Server
Post by: JimH on May 28, 2006, 09:54:41 pm
There is a more recent version of MC on this board, near the top.  It would be nice if you could try that one.  There have been a few UPnP changes.
Title: Re: Roku & UPnP Server
Post by: davisford on May 28, 2006, 10:16:48 pm
Hi Jim -- downloaded, upgraded.  Still no love.  It is now UPnP Server Version 1.0.37.  I'm trying to diagnose if it is the route.  The appliance is the DLink DFL-CPG310.  It assigns a different network to the lan and wlan:

lan: 192.168.10.2-255, mask 255.255.255.0 (gateway 192.168.10.1)

media center pc is at 192.168.10.129 with gateway 192.168.10.1

wlan: 192.168.252.2-255, mask 255.255.255.0 (gateway 192.168.252.1)

roku is at 192.168.252.111 with gateway 192.168.252.1

I can ping 192.168.252.111 from 192.168.10.129.

it is a bona-fide router, but i'm suspicious that it is not routing multicast packets between the lan and wlan -- i just can't confirm it, b/c I don't have a packet sniffer for wi-fi and 64-bit machines.

i think that when UPnP server fires up, it sends a UDP packet to 239.250.250.255 (SSDP packet), and the router should receive this on 192.168.10.1, and forward it on to 192.168.252.1, but I don't think this is happening -- and I'm guess this is what the problem is.

I tried adding a static route:

224.0.0.0 netmask 240.0.0.0 gateway 192.168.252.1 but it complains the gateway is bad.

still frustrated and trying...
Title: Re: Roku & UPnP Server
Post by: John Gateley on May 30, 2006, 02:08:40 pm
It has to be more than a static route, you have to tell the router to send multicast packets on through. I don't know how to do this, sorry...

j