Open GoogleCodeExporter opened 9 years ago
You want to use IGMP Proxy to handle iptv streaming. It is more complicate and
maybe the igmpproxy have some settings or IOP issue.
Can you try to use bridge mode first? (in multi-vlan menu, bridge direct from
WAN to a specified LAN port)
The bridge mode should be work. Get the LAN packet by monitor port.
Then do again by igmp proxy and monitor the LAN packet again.
Compare the packet you should know what the igmp proxy loss.
Then we can know if it is the issue about igmp proxy or firewall (iptables).
Original comment by jht...@gmail.com
on 20 Mar 2011 at 12:35
Well, i've figured out partially what is needed to make IPTV work with my ISP:
I need to use the following dhcp options on the client:
Option 5: dhcp-requested-address
Option 6: domain-name-servers
Option 121: Classless Static Routes
...and what i would like to have is a network/dnsmasq conf files similar to
this:
/etc/config/network:
network.iptvwan=interface
network.iptvwan.ifname=eth1.105
network.iptvwan.proto=dhcp
network.iptvwan.reqopts= staticroutes
network.iptvwan.dhcp-requested-address=10.xx.xx.xx
/etc/dnsmasq.conf:
dhcp-option=6,ipaddress1,ipaddress2
Now, the 1st two dhcp options i believe that will not be a problem (haven't
tested yet), but the CSR (option 121) i believe will be because of this:
I've checked the Vigor2130_GPL_V1.5.0.1.tar.bz2.tar.bz2 source code, and in:
/2130_gpl_release/package/busybox/patches/
...there's a patch called:
905-udhcp_option_121_33.patch
... which i believe is being applied to udhcpc, but comparing with the patch
shown in:
https://dev.openwrt.org/ticket/6435#comment:22
...it seems to me that draytek's implementation is different and/or is
incomplete.
I say this because that from my limited programming/linux knowledge, it seems to me that it's not possible to set that option on the "/etc/config/network" configuration file, since some code is missing in:
/package/base-files/files/usr/share/udhcpc/default.script
and also in:
/package/base-files/files/lib/network/config.sh
So, if someone could please give me a already patched default.script and
config.sh so to make CSR work, it would make my life easier...
Thank you for your support!
Original comment by Keepe...@gmail.com
on 1 Apr 2011 at 1:39
default.script is in
/usr/share/udhcpc/
You can check this file.
Original comment by jht...@gmail.com
on 1 Apr 2011 at 6:38
Well, yes... /usr/share/udhcpc/default.script has this:
#STATIC ROUTES (rfc3442)
if [ -n "$staticroutes" ] ; then
DEST=""
LOOP=0
for i in $staticroutes ; do
if [ $LOOP == "0" ] ; then
DEST=$i
LOOP=1
elif [ $LOOP == "1" ] ; then
echo "adding route" $DEST "gw" $i
route add -net $DEST gw $i dev $interface
LOOP=0
fi
done
fi
...which i beleive will allow me to start udhcpc CSR, by doing something like:
root@OpenWrt:~# udhcpc -i eth1.105 -O staticroute
...but this will require me to do it manually each time that i reboot the
router, i think.
Is there a way to setup this automatically?
I'm sorry for all the trouble but i'm not an experienced linux/programmer user,
neither do i know busybox/openwrt well, so i really need help here...
Original comment by Keepe...@gmail.com
on 1 Apr 2011 at 8:29
ps: typo. i meant: root@OpenWrt:~# udhcpc -i eth1.105 -O staticroutes
Original comment by Keepe...@gmail.com
on 1 Apr 2011 at 8:32
You can try to modify the config in /etc/igmpproxy.conf
phyint eth1.105 upstream ratelimit 0 threshold 1
A good reference for IPTV application:
http://www.projectiwear.org/~plasmahh/t_home.html
Original comment by jht...@gmail.com
on 8 Apr 2011 at 1:36
Original issue reported on code.google.com by
Keepe...@gmail.com
on 20 Mar 2011 at 12:02