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 <cshored@thecshore.com>
This commit is contained in:
Daniel F. Dickinson 2018-07-29 04:30:52 -04:00 committed by John Crispin
parent fedc826c32
commit d2f7dba309

View File

@ -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"
;;