diff options
author | Michael Pratt <mcpratt@pm.me> | 2021-01-01 17:23:04 -0500 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-02-08 16:34:18 +0100 |
commit | 88079bd6165b5cf9f3225768da2ab265427f0004 (patch) | |
tree | ad99f12516116c21a8d889fc8c03268a874c632c /target/linux/ath79/generic | |
parent | f3b827a965a5e2b0c217fd131f3a8d1ba1740aa3 (diff) | |
download | upstream-88079bd6165b5cf9f3225768da2ab265427f0004.tar.gz upstream-88079bd6165b5cf9f3225768da2ab265427f0004.tar.bz2 upstream-88079bd6165b5cf9f3225768da2ab265427f0004.zip |
ath79: make all eth ports LAN for Engenius APs
for:
- ENH202 v1
- ENS202EXT v1
- EnstationAC v1
- EWS511AP
For EWS511AP, have default behavior as static ip
to match the behavior of all other APs in ath79
These boards are sold as
Client Bridge or Point to Point or Access Point
so there is probably no benefit to have WAN by default
for one of the ports, to prevent user confusion.
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Diffstat (limited to 'target/linux/ath79/generic')
-rwxr-xr-x | target/linux/ath79/generic/base-files/etc/board.d/02_network | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network index 135c5ad327..ab00d798b1 100755 --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network +++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network @@ -108,6 +108,8 @@ ath79_setup_interfaces() alfa-network,n5q|\ devolo,dvl1200e|\ devolo,dvl1750e|\ + engenius,enstationac-v1|\ + engenius,ews511ap|\ ocedo,ursus|\ ubnt,unifi-ap-outdoor-plus) ucidef_set_interface_lan "eth0 eth1" @@ -236,13 +238,10 @@ ath79_setup_interfaces() "0@eth0" "1:wan" "2:lan:3" "3:lan:2" ;; engenius,ens202ext-v1) - ucidef_set_interface_wan "eth1" + ucidef_set_interface_lan "eth1" ucidef_add_switch "switch0" \ "0@eth0" "1:lan" ;; - engenius,ews511ap) - ucidef_set_interface_lan "eth0 eth1" "dhcp" - ;; etactica,eg200) ucidef_set_interface_lan "eth0" "dhcp" ;; |