TeliaIPTV » History » Version 5
  matwad -, 2010-03-12 00:46 
  
| 1 | 1 | matwad - | = Tvheadend with Telia IPTV =  | 
|---|---|---|---|
| 2 | |||
| 3 | This page will describe of how to configure Tvheadend to receive TV multicast streams via your Telia network connection.  | 
||
| 4 | |||
| 5 | TODO: Not using Telia switch, VLAN ID 825?  | 
||
| 6 | |||
| 7 | == Tvheadend ==  | 
||
| 8 | |||
| 9 | TODO: Add groups 239.16.16.1-255, link to file with channel names etc  | 
||
| 10 | |||
| 11 | 2 | matwad - | == Setup with multiple network interfaces ==  | 
| 12 | 1 | matwad - | |
| 13 | 4 | matwad - | 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.  | 
| 14 | 1 | matwad - | |
| 15 | 5 | matwad - | You can disable RPF in Linux by changing the rp_filter in the proc filesystem:  | 
| 16 | 1 | matwad - | {{{ | 
| 17 | # echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter  | 
||
| 18 | # echo 0 > /proc/sys/net/ipv4/conf/$INTERFACE/rp_filter  | 
||
| 19 | }}}  | 
||
| 20 | 3 | matwad - | It is imported to change both of them, if all/rp_filter is 1 the interface specific configuration is ignored  | 
| 21 | 1 | matwad - | |
| 22 | 5 | matwad - | If you instead want to have RPF enabled you can add a route to the source of the multicast stream:  | 
| 23 | 1 | matwad - | {{{ | 
| 24 | route add -host $STREAM_SOURCE_IP gw $INTERFACE_GW dev $INTERFACE  | 
||
| 25 | }}}  |