T-Home IPTV without speedport W 700V

From Linux Man Pages

Jump to: navigation, search
T-Home X-300T
T-Home X-300T

Deutsche Telekom is promoting its new product T-Home, offering bandwidths of up to 50mbits down / 10mbit up. Included with this deal comes a basic IP-TV package, including most free-over-the-air channels, and an IP-TV STB.

Hardware

The X 300T Media Receiver runs WinCE, has Sigma Design SMP8634LF (Secure Media Processor) 0623 REV a C0 Processor, 4 Infineon HYB25DC256160CE-5 ram chips, a Samsung SP0842N (80GB/7200rpm/2M/PATA) harddrive. The whole technology is based on Microsoft IP-TV platform, probably utilizing DVT-T or DVB-S1/S2 streams. To minimize bandwidth costs on their backbone and limit the amount of stream servers needed, the whole infrastructure is using UDP Multicasts as means of transporting the IPTV streams.

The router provided by Deutsche Telekom, the Speedport W 700V is not well suited for advanced users. The device offers a very limited set of configuration options, heats up quickly and crashes frequently. But it does provide one thing most routers are not providing, namely IGMP routing.

Communication

To speed up channel switching the first ten seconds of every channel switched to are sent by Unicast, hence you have a 1:1 link to the server. So if one of the nodes between your X-300T and the streaming server is not capable of doing multicast, your picture and sound will just freeze after 10 seconds.

All communication between the T-Home stream servers and the STB are encrypted, very likely using public key encryption. The Öffentlich-Rechtlichen (like BBC, just in Deutsch - and mostly for people over 100 .. or so it seems) are the exception here, their stream is unencrypted and partially viewable with the latest builds of VideoLan.

IGMP Proxy

Download and build http://sourceforge.net/projects/igmpproxy

igmpproxy.conf

quickleave
# upstream = DSL Modem interface
phyint dsl0 upstream  ratelimit 0  threshold 1
# those two might not be needed
         altnet 217.0.119.193/24
         altnet 193.158.35.0/24;
# ip of my ip-tv box
         altnet 192.168.1.4/32;

# eth0 is my lan interface - the interface going to the iptv box
phyint eth0 downstream  ratelimit 0  threshold 1

# disable all unused interfaces, especially the one connected to the dsl modem (not dsl0, but eth1)
phyint eth1 disabled
phyint lo disabled

Starting the dsl interface and router, opening up the firewall.

ifup dsl0
sleep 2
pkill igmpproxy
nohup igmpproxy -d -c igmpproxy.conf &

# you might have to add more subnets here, as this is where the multicast
# traffic originates
iptables -I FORWARD -s 217.0.119.0/24 -d 224.0.0.0/4 -j ACCEPT
iptables -I FORWARD -s 193.158.35.0/24 -d 224.0.0.0/4 -j ACCEPT

# Multicast rules 
iptables -I INPUT -d 224.0.0.0/4 -j ACCEPT
iptables -I FORWARD -d 224.0.0.0/4 -j ACCEPT

Image:x300t-chip.jpg Image:x300t-ram.jpg Image:x300t-hdd.jpg

© man-wiki.net

Deutsch: T-Home IPTV ohne speedport W 700V


Discussion does not work, so i'm writing directly in your howto:

Thank you very much for that howto. It seems to work perfectly, but one thing i don't understand in the output of igmpproxy:

Info: ignoring unknown IGMP message type 11 from 217.0.119.194 to 224.0.0.1

-- If this is 0x11, its

0x11      IGMP Membership Query                   [RFC1112]

          Codes
              0  IGMP Version 1
          1-255  IGMP Version 2 or above Max Response Time

Getting the same output, but does not seem to cause any problems.

Personal tools