apm821xx: MBL: MR24: fetch IP address over dhcp by default
authorChristian Lamparter <chunkeey@gmail.com>
Mon, 11 Feb 2019 16:30:07 +0000 (17:30 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 31 Oct 2021 23:56:51 +0000 (00:56 +0100)
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@gmail.com>
target/linux/apm821xx/base-files/etc/board.d/02_network

index f289e4ec7479edf032e81d4d236324553943b23c..3a97c67f28c3379ae8f5703950e90f1efa3ddbd4 100644 (file)
@@ -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@eth0"