Hi,
could REALLY use some help here.
I have a working clearos tvheadend setup but I am moving my old hardware to new hardware with Ubuntu 14.04 (LTS)
On my new machine I have changed /etc/dhcp/dhcp.conf to hold:
interface "p4p1" {
request subnet-mask, time-offset, routers, domain-name-servers, host-name, domain-name,
root-path, default-ip-ttl, broadcast-address, perform-mask-discovery, router-discovery,
static-routes, nis-domain, nis-servers, ntp-servers, vendor-encapsulated-options;
send dhcp-max-message-size 548;
send vendor-encapsulated-options 03:09:61:6d:69:6e:65:74:31:34:30:04:05:66:69:73:79:73;
send vendor-class-identifier "Aminoaminet140fisys";
send dhcp-client-identifier 01:00:02:02:xx:xx:xx;
}
I have changed /etc/network/interface to hold:
auto p4p1
iface p4p1 inet dhcp
hwaddress ether 00:02:02:xx:xx:xx
vendor "Aminoaminet140fisys"
pre-up echo 2 > /proc/sys/net/ipv4/conf/p4p1/force_igmp_version
pre-up echo 0 > /proc/sys/net/ipv4/conf/p4p1/rp_filter
And I created a script /etc/network/if-up.d/iptv
#!/bin/sh
# Check for specific interface if desired
# Adding additional routes on connection
route add -net 224.0.0.0 netmask 240.0.0.0 dev p4p1
route add -net 82.139.121.0 netmask 255.255.255.0 gw 10.30.252.1 dev p4p1
this results into: ifconfig >
p4p1 Link encap:Ethernet HWaddr 00:02:02:xx:xx:xx
inet addr:10.30.255.130 Bcast:10.30.255.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1693980 errors:0 dropped:0 overruns:0 frame:0
TX packets:1153 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2286006471 (2.2 GB) TX bytes:79398 (79.3 KB)
and route -n >
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 p1p1
10.30.252.0 0.0.0.0 255.255.252.0 U 0 0 0 p4p1
82.139.121.0 10.30.252.1 255.255.255.0 UG 0 0 0 p4p1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 p1p1
224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 p4p1
I have the following iptables -L -v:
Chain INPUT (policy ACCEPT 65312 packets, 45M bytes)
pkts bytes target prot opt in out source destination
282K 378M ACCEPT all -- any any anywhere base-address.mcast.net/4
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- any any anywhere base-address.mcast.net/4
Chain OUTPUT (policy ACCEPT 84010 packets, 43M bytes)
pkts bytes target prot opt in out source destination
so far so good,
problem is that in TVHeadend I keep getting
2015-01-02 12:25:37.000 mpegts: udp://239.192.4.101(null) in IPTV - tuning on IPTV
2015-01-02 12:25:37.000 subscription: 0037: "scan" subscribing to mux, weight: 1, adapter: "IPTV", network: "IPTV", mux: "udp://239.192.4.101(null)", hostname: "", username: "", client: ""
2015-01-02 12:25:52.000 mpegts: udp://239.192.4.101(null) in IPTV - scan no data, failed
2015-01-02 12:25:52.000 subscription: 0037: "scan" unsubscribing
where in my clearos (centos) setup this works (only difference is IP address that is assigned to my networkcard)
Could realy use some assistance as I am not able to get this right and it keeps me from turning of the old hardware :(
Thanks in advance,
Ruud.