diff options
| author | Martin Nadvornik | 2025-12-15 15:54:52 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-12-15 23:29:13 +0000 |
| commit | 81d7d379c74ef36ba8521dd1c694739a29d07bb2 (patch) | |
| tree | 8e39de5fa1ca8501490f64554f141b6e2a0a8582 | |
| parent | 7c4da36cf2c601d28a4637b453a44e86d5094be8 (diff) | |
| download | openwrt-81d7d379c74ef36ba8521dd1c694739a29d07bb2.tar.gz | |
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@gmx.at>
Link: https://github.com/openwrt/openwrt/pull/21172
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit e5cd6461c905184db8f49692f931b20fec4b819e)
| -rw-r--r-- | target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface | 1 |
1 files changed, 1 insertions, 0 deletions
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 ed166de595..5d3a3319fc 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 @@ -11,6 +11,7 @@ set_preinit_iface() { ip link set eth1 up ifname=eth1 ;; + cudy,ap3000-v1|\ cudy,ap3000outdoor-v1|\ cudy,re3000-v1|\ ubnt,unifi-6-lr|\ |