[openwrt/openwrt] apm821xx: MBL: MR24: fetch IP address over dhcp by default

LEDE Commits lede-commits at lists.infradead.org
Sun Oct 31 17:21:47 PDT 2021


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/abb4083fa06841ef5b094aee24a3b1f58403516b

commit abb4083fa06841ef5b094aee24a3b1f58403516b
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Mon Feb 11 17:30:07 2019 +0100

    apm821xx: MBL: MR24: fetch IP address over dhcp by default
    
    This patch changes the default network configuration
    to fetch the IP addresses over dhcp instead of being
    statically assigned.
    
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 target/linux/apm821xx/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/apm821xx/base-files/etc/board.d/02_network b/target/linux/apm821xx/base-files/etc/board.d/02_network
index f289e4ec74..3a97c67f28 100644
--- a/target/linux/apm821xx/base-files/etc/board.d/02_network
+++ b/target/linux/apm821xx/base-files/etc/board.d/02_network
@@ -10,7 +10,7 @@ case "$board" in
 meraki,mr24|\
 wd,mybooklive|\
 wd,mybooklive-duo)
-	ucidef_set_interface_lan "eth0"
+	ucidef_set_interface_lan "eth0" "dhcp"
 	;;
 netgear,wndap620)
 	ucidef_add_switch "switch0" "2:lan" "5 at eth0"



More information about the lede-commits mailing list