ar71xx: cap324: Use standard eth as static lan
authorDaniel F. Dickinson <cshored@thecshore.com>
Sun, 29 Jul 2018 08:30:52 +0000 (04:30 -0400)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Jul 2018 08:43:32 +0000 (10:43 +0200)
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 <cshored@thecshore.com>
target/linux/ar71xx/base-files/etc/board.d/02_network

index f433927..c04ecc8 100755 (executable)
@@ -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"
                ;;