-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UCG-max default WAN interface incorrect #351
Comments
Output of udm-iptv diagnose: root@UCG-Max:~# udm-iptv diagnose |
Additional info: it seems that the script tries to get the board shortname from /etc/board.info, but it doesn't return info: root@UCG-Max:/# sed -n 's/^board.shortname=\s*(.)\s/\1/p' /etc/board.info As well as the 2nd option: root@UCG-Max:/# sed -n 's/shortname=\s*(.)\s/\1/p' /proc/ubnthal/system.info Debug shows the following: root@UCG-Max:/# sed -n 's/^board.shortname=\s*(.)\s/\1/p' /etc/board.info --debug And root@UCG-Max:/# sed -n 's/shortname=\s*(.)\s/\1/p' /proc/ubnthal/system.info --debug |
This has been fixed with #320 but unfortunately this change has not been released in a new version of udm-iptv yet. |
What is your ISP? (if relevant)
KPN
Diagnostic Information
Output of ifconfig -a:
root@UCG-Max:~# ifconfig -a
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9216
inet 192.168.1.1 netmask 255.255.255.0 broadcast 0.0.0.0
inet6 fe80::2870:4eff:fe6e:664a prefixlen 64 scopeid 0x20
inet6 xxx prefixlen 64 scopeid 0x0
ether 2a:70:4e:XX:XX:XX txqueuelen 1000 (Ethernet)
RX packets 165718 bytes 40359526 (38.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 260562 bytes 268446599 (256.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
dummy0: flags=130<BROADCAST,NOARP> mtu 1500
ether 5e:0d:80:XX:XX:XX txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::2a70:4eff:fe6e:6649 prefixlen 64 scopeid 0x20
ether 28:70:4e:XX:XX:XX txqueuelen 1000 (Ethernet)
RX packets 150 bytes 23934 (23.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 158 bytes 37892 (37.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::2a70:4eff:fe6e:664a prefixlen 64 scopeid 0x20
ether 28:70:4e:XX:XX:XX txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 151 bytes 36170 (35.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::2a70:4eff:fe6e:664b prefixlen 64 scopeid 0x20
ether 28:70:4e:XX:XX:XX txqueuelen 1000 (Ethernet)
RX packets 146 bytes 24360 (23.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 155 bytes 37154 (36.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::2a70:4eff:fe6e:664c prefixlen 64 scopeid 0x20
ether 28:70:4e:XX:XX:XX txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 151 bytes 36170 (35.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::2a70:4eff:fe6e:664d prefixlen 64 scopeid 0x20
ether 28:70:4e:6e:66:4d txqueuelen 1000 (Ethernet)
RX packets 257061 bytes 258264369 (246.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 144464 bytes 36608605 (34.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device base 0x1000
eth4.6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::2a70:4eff:fe6e:664d prefixlen 64 scopeid 0x20
ether 28:70:4e:XX:XX:XX txqueuelen 1000 (Ethernet)
RX packets 250686 bytes 243997551 (232.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 144116 bytes 35397264 (33.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ifb0: flags=130<BROADCAST,NOARP> mtu 1500
ether 62:b3:df:XX:XX:XX txqueuelen 32 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ifb1: flags=130<BROADCAST,NOARP> mtu 1500
ether ee:a1:a4:XX:XX:XX txqueuelen 32 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 319402 bytes 217732422 (207.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 319402 bytes 217732422 (207.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
miireg: flags=0< mtu 0
netrom txqueuelen 1000 (AMPR NET/ROM)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1492
inet xx.xx.xx.xx netmask 255.255.255.255 destination 195.190.228.6
inet6 fe80::24fa:7982:866a:f9ef prefixlen 128 scopeid 0x20
ppp txqueuelen 1000 (Point-to-Point Protocol)
RX packets 250537 bytes 241965068 (230.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 143960 bytes 32224894 (30.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
switch0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 9216
inet6 fe80::2870:4eff:fe6e:664a prefixlen 64 scopeid 0x20
ether 2a:70:4e:XX.XX.XX txqueuelen 1000 (Ethernet)
RX packets 173520 bytes 45287388 (43.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 261191 bytes 270733951 (258.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device base 0x1200
switch0.1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9216
inet6 fe80::2870:4eff:fe6e:664a prefixlen 64 scopeid 0x20
ether 2a:70:4e:XX:XX:XX txqueuelen 1000 (Ethernet)
RX packets 165725 bytes 40361270 (38.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 260569 bytes 268447345 (256.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wgsrv1: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1420
inet 192.168.3.1 netmask 255.255.255.0 destination 192.168.3.1
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 816 dropped 0 overruns 0 carrier 0 collisions 0
Output of /etc/udm-iptv.conf after setting it up with KPN as provider:
Example configuration for udmp-iptv
Interface on which IPTV traffic enters the router
IPTV_WAN_INTERFACE="eth8"
ID of VLAN which carries IPTV traffic (use 0 if no VLAN is used)
IPTV_WAN_VLAN="4"
Name of the IPTV VLAN interface
IPTV_WAN_VLAN_INTERFACE="iptv"
IP ranges from which the IPTV traffic originates (separated by spaces)
IPTV_WAN_RANGES="213.75.0.0/16 217.166.0.0/16"
DHCP options to send when requesting an IP address
IPTV_WAN_DHCP_OPTIONS="-O staticroutes -V IPTV_RG"
LAN interfaces on which IPTV should be made available
IPTV_LAN_INTERFACES="br0"
Disable quickleave for igmpproxy
IPTV_IGMPPROXY_DISABLE_QUICKLEAVE="false"
Enable debugging for igmpproxy
IPTV_IGMPPROXY_DEBUG="true"
IPTV_IGMPPROXY_PROGRAM="improxy"
IPTV_IGMPPROXY_IGMP_VERSION="2"
Describe the Bug
While doing the (initial) setup, the script does not ask on what interface WAN is. By default, the script sets the IPTV_WAN_INTERFACE to eth8 on a UCG-Max. This results in an error when starting the script. eth8 is not present. After manually changing this to eth4 and restarting the script, the issue is gone
Expected Behavior
udm-iptv setup asking for the WAN interface and/or for the script to default to eth4
IPTV_WAN_INTERFACE="eth4"
The text was updated successfully, but these errors were encountered: