From: Daniel F. Dickinson Date: Sun, 29 Jul 2018 08:30:52 +0000 (-0400) Subject: ar71xx: cap324: Use standard eth as static lan X-Git-Tag: v19.07.0-rc1~3044 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d2f7dba309857014c8f414463c6fd7636b4ad4b9;p=oweals%2Fopenwrt.git ar71xx: cap324: Use standard eth as static lan While the stock firmware and previous ar71xx versions of openwrt used the single ethernet port as a DHCP client, for unmodified openwrt usage it makes more sense to do the standard openwrt thing and make the ethernet port a static lan with known address so that users can find the device on the network more easily. Signed-off-by: Daniel F. Dickinson --- diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index f43392709e..c04ecc838e 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -71,6 +71,7 @@ ar71xx_setup_interfaces() aw-nr580|\ bullet-m|\ c-55|\ + cap324|\ cap4200ag|\ cf-e380ac-v1|\ cf-e380ac-v2|\ @@ -274,7 +275,6 @@ ar71xx_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "3:wan" "4:lan" ;; - cap324|\ rme-eg200) ucidef_set_interface_lan "eth0" "dhcp" ;;