fabianishere / udm-iptv

Helper tool for configuring routed IPTV on the UniFi Dream Machine (Pro)
GNU General Public License v2.0
429 stars 67 forks source link

Add support for UXG Lite LAN interfaces #291

Closed marcelvanveen closed 10 months ago

marcelvanveen commented 11 months ago

This PR will add support for selecting the LAN interfaces on UXG Lite in udm-iptv reconfigure:

ip a | grep -B 2 'inet ' (I use VLAN 1 /3 5 / 7 / 179):

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback f6:e2:c6:da:e8:19 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
--
13: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f4:e2:c6:da:e8:19 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.1/24 scope global br0
--
14: eth0.179@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f4:e2:c6:da:e8:19 brd ff:ff:ff:ff:ff:ff
    inet 192.168.179.1/24 scope global eth0.179
--
15: eth0.3@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f4:e2:c6:da:e8:19 brd ff:ff:ff:ff:ff:ff
    inet 192.168.3.1/24 scope global eth0.3
--
16: eth0.5@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f4:e2:c6:da:e8:19 brd ff:ff:ff:ff:ff:ff
    inet 192.168.5.1/24 scope global eth0.5
--
17: eth0.7@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f4:e2:c6:da:e8:19 brd ff:ff:ff:ff:ff:ff
    inet 192.168.7.1/24 scope global eth0.7
RaimondB commented 7 months ago

@marcelvanveen I set up the UXG Lite today, but in the menu I did not see the VLANs. What do I need to do to make them show up? In the end I just edited to config file manually, but would be great if the UI also supports it.

marcelvanveen commented 7 months ago

@marcelvanveen I set up the UXG Lite today, but in the menu I did not see the VLANs. What do I need to do to make them show up? In the end I just edited to config file manually, but would be great if the UI also supports it.

My PR was merged, but there hasn't been a new release yet. Wait for @fabianishere to release a new version and the VLANs should show up in the UI...