[openwrt/openwrt] mediatek: fix IPv4 address missing on interface in failsafe mode for cudy ap3000-v1

LEDE Commits lede-commits at lists.infradead.org
Mon Dec 15 15:30:20 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/58a0211f8201ab622b7b11d31629d6d755bd6526

commit 58a0211f8201ab622b7b11d31629d6d755bd6526
Author: Martin Nadvornik <martin.nadvornik at gmx.at>
AuthorDate: Mon Dec 15 16:54:52 2025 +0100

    mediatek: fix IPv4 address missing on interface in failsafe mode for cudy ap3000-v1
    
    cudy ap3000-v1 did not work correctly in failsafe mode
    because the address 192.168.1.1 was missing on the eth0 inteface.
    it was reachable via it's IPv6 link-local address however.
    this commit fixes the issue.
    
    Fixes: https://github.com/openwrt/openwrt/issues/20750
    Signed-off-by: Martin Nadvornik <martin.nadvornik at gmx.at>
    Link: https://github.com/openwrt/openwrt/pull/21172
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
    (cherry picked from commit e5cd6461c905184db8f49692f931b20fec4b819e)
---
 target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface b/target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface
index 5d8151741d..acfeaf2d4a 100644
--- a/target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface
+++ b/target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface
@@ -10,6 +10,7 @@ set_preinit_iface() {
 		ip link set eth1 up
 		ifname=eth1
 		;;
+	cudy,ap3000-v1|\
 	cudy,ap3000outdoor-v1|\
 	cudy,re3000-v1|\
 	ubnt,unifi-6-lr|\




More information about the lede-commits mailing list