[mythtv-users] PS3 front-end with UPnP

Patrick Mansfield patman at aracnet.com
Tue Jan 22 20:23:05 UTC 2008


On Tue, Jan 15, 2008 at 08:17:17PM -0800, Brad DerManouelian wrote:

> Mine found it in a few seconds, but I put my PS3 on the same switch as  
> my myth boxes. Not sure if that has anything to do with it. Now that  
> it knows about it, the response time is pretty fast.

Can someone post a tcpdump for the (start of the) PS3/myth connection?

Or any hints here ...?

I was trying to get this working a couple weeks back, I changed all the
localhost addresses in my mythtv database to a real IP address. grepping
the sql database dump, there are *no* references to localhost in the sql
database, and the only references to 127.0.0.1 are in the sql tvchain
table. 

I have restarted the backend a few times since the change.

I can see the incoming packets sent from the PS3 but no response from
the mythtv server :-/

But the broadcast packets looked weird - I don't have my tcpdump output
available right now, but the PS3 broadcast went to something like
234.255.255.255, and was wondering if that was expected.

I have a firewall on the backend too, but DHCP on it works fine.

AFAIR 1900 is the upnp (ssdp) port. My backend shows:

# netstat -l -n -p -t -u -w | grep myth
tcp        0      0 0.0.0.0:6543                0.0.0.0:*                   LISTEN      3965/mythbackend
tcp        0      0 0.0.0.0:6544                0.0.0.0:*                   LISTEN      3965/mythbackend
tcp        0      0 0.0.0.0:6546                0.0.0.0:*                   LISTEN      18451/mythfrontend
udp        0      0 0.0.0.0:6549                0.0.0.0:*                               3965/mythbackend
udp        0      0 0.0.0.0:32848               0.0.0.0:*                               18451/mythfrontend
udp        0      0 255.255.255.255:1900        0.0.0.0:*                               3965/mythbackend
udp        0      0 239.255.255.250:1900        0.0.0.0:*                               3965/mythbackend

And:

# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:10:F2:6C:16:60
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::215:f2ff:fe6c:166b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2619787 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2987389 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:566565044 (540.3 MiB)  TX bytes:3065509555 (2.8 GiB)
          Interrupt:17

-- Patrick Mansfield


More information about the mythtv-users mailing list