Project

General

Profile

TeliaIPTV » History » Revision 4

Revision 3 (matwad -, 2010-03-12 00:44) → Revision 4/18 (matwad -, 2010-03-12 00:46)

= Tvheadend with Telia IPTV =

This page will describe of how to configure Tvheadend to receive TV multicast streams via your Telia network connection.

TODO: Not using Telia switch, VLAN ID 825?

== Tvheadend ==

TODO: Add groups 239.16.16.1-255, link to file with channel names etc

== Setup with multiple network interfaces ==

If the default route is not routed out on the interface used to receive the multicast stream you must disable [http://www.wlug.org.nz/ReversePathFiltering RPF] or add a route for the source IP used in the received stream. Otherwise the packets will be dropped by the kernel because of RPF and will not be passed on to Tvheadend.

You can disable RPF in Linux by changing the rp_filter in the proc filesystem, as root run this:
{{{
# echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
# echo 0 > /proc/sys/net/ipv4/conf/$INTERFACE/rp_filter
}}}
It is imported to change both of them, if all/rp_filter is 1 the interface specific configuration is ignored

If you instead want to have RPF enabled you can add a route to the source of the multicast stream you can run this:
{{{
route add -host $STREAM_SOURCE_IP gw $INTERFACE_GW dev $INTERFACE
}}}