bsbf-openwrt-resources: improve iface type detection and DNS
authorChester A. Unal <redacted>
Sat, 16 May 2026 19:33:33 +0000 (20:33 +0100)
committerChester A. Unal <redacted>
Sun, 17 May 2026 09:13:54 +0000 (10:13 +0100)
commite4c001251e21474f3c14f81f571f4fe6c2bfbac6
tree14605f444f5bccd1739a9780703ecaeed4096694
parent87d61fe943fed52927c7be6e3b17aa33e930e5d4
bsbf-openwrt-resources: improve iface type detection and DNS

To find the correct network interface to create a network entry for, check
which driver is driving the network interface.

Restrict creating a network entry with DHCP client to network interfaces
driven by the cdc_ether, r8152, rndis_host, or ipheth driver.

Ensure UCI section name derived from interface name is proper.

Do not disable using DNS servers advertised by the ISP. This was a
requirement of bsbf-bonding. We can now do this as we transparently proxy
all DNS traffic to Xray which resolves queries.

Do not exit non-zero as it's useless.

Signed-off-by: Chester A. Unal <redacted>
net/bsbf-openwrt-resources/Makefile
net/bsbf-openwrt-resources/files/etc/hotplug.d/net/99-bsbf-autoconf-cellular
net/bsbf-openwrt-resources/files/etc/hotplug.d/net/99-bsbf-autoconf-dhcp
git clone https://git.99rst.org/PROJECT