Jelajahi Sumber

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 <[email protected]>
Christian Lamparter 6 tahun lalu
induk
melakukan
abb4083fa0
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      target/linux/apm821xx/base-files/etc/board.d/02_network

+ 1 - 1
target/linux/apm821xx/base-files/etc/board.d/02_network

@@ -10,7 +10,7 @@ case "$board" in
 meraki,mr24|\
 meraki,mr24|\
 wd,mybooklive|\
 wd,mybooklive|\
 wd,mybooklive-duo)
 wd,mybooklive-duo)
-	ucidef_set_interface_lan "eth0"
+	ucidef_set_interface_lan "eth0" "dhcp"
 	;;
 	;;
 netgear,wndap620)
 netgear,wndap620)
 	ucidef_add_switch "switch0" "2:lan" "5@eth0"
 	ucidef_add_switch "switch0" "2:lan" "5@eth0"