brcm2708: fetch IP address over dhcp by default
authorChristian Lamparter <chunkeey@gmail.com>
Mon, 11 Feb 2019 16:26:36 +0000 (17:26 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Tue, 11 Aug 2020 17:08:12 +0000 (19:08 +0200)
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/bcm27xx/base-files/etc/board.d/02_network

index 36c8c5df1afaaaa8675a7f152970bc5f923dacec..af965845438d77f88b1e4213401b99fadd2ad742 100755 (executable)
@@ -19,11 +19,11 @@ raspberrypi,2-model-b-rev2 |\
 raspberrypi,3-model-b |\
 raspberrypi,3-model-b-plus |\
 raspberrypi,4-model-b)
-       ucidef_set_interface_lan "eth0"
+       ucidef_set_interface_lan "eth0" "dhcp"
        ;;
 
 raspberrypi,model-zero-w)
-       ucidef_set_interface_lan "wlan0"
+       ucidef_set_interface_lan "wlan0" "dhcp"
        ;;
 esac