openwrt/target/linux/ramips
Perry Melange 22468cc40c ramips: erx and erx-sfp: fix missing WAN interface
This partially reverts commit 5acd1ed0be ("ramips: mt7621: fix
Ubiquiti ER-X ports names and MAC addresses"), this change was discussed
in https://github.com/openwrt/openwrt/pull/2901#discussion_r407238452

With commit 5acd1ed0be ("ramips: mt7621: fix Ubiquiti ER-X ports names
and MAC addresses"), all the ports were put into the LAN bridge, with
the argument that the OEM firmware does not have a WAN port enabled.  In
the default OEM setup, all of the ports except eth0 are dead and eth0 is
set to a static IP address without providing DHCP services when
connected.  It is only after the wizard has been run that eth0 becomes
the WAN port and all the rest of the ports belong to LAN with DHCP
enabled.

Having all of the ports set to the LAN bridge does not mirror the default
OEM setup.  To accomplish that, then only eth0 would be in the LAN bridge.
But this is not the expected behaviour of OpenWrt.

Therefore this proposal to set eth0 to WAN and eth1-N to LAN provides
the expected behaviour expected from OpenWrt, maintains the current
documentation as up-to-date, and does not require the user to manually
detach eth0 from the LAN bridge, create the WAN(6) interface(s), and set
eth0 to the WAN(6) interface(s).

Fixes: 5acd1ed0be ("ramips: mt7621: fix Ubiquiti ER-X ports names and MAC addresses")
Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
[commit subject and description tweaks]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-06-09 16:59:33 +02:00
..
base-files/etc ramips: remove set_preinit_iface script 2020-04-04 14:56:14 +08:00
dts ramips: mt7621: use higher SPI clock speed on Mikrotik rbm11g and rbm33g 2020-06-03 16:49:28 +02:00
files/drivers ramips: 5.4: handle ERR_PTR properly 2020-05-19 19:03:07 +08:00
image ramips/mediatek: select kmod-mt7615-firmware where kmod-mt7615e is selected 2020-06-04 21:52:57 +02:00
mt76x8 ramips: add support for Asus RT-N10P V3 / RT-N11P B1 / RT-N12 VP B1 2020-05-24 18:14:59 +02:00
mt7620 ramips: add support for TRENDnet TEW-810DR 2020-05-26 22:04:11 +02:00
mt7621 ramips: erx and erx-sfp: fix missing WAN interface 2020-06-09 16:59:33 +02:00
patches-4.14 ramips: remove patches for USB-dwc2 2020-06-03 16:49:28 +02:00
patches-5.4 ramips: remove patches for USB-dwc2 2020-06-03 16:49:28 +02:00
rt288x ramips: remove default switch setup in 02_network 2020-05-19 19:03:02 +08:00
rt305x ramips: fix MAC address setup for RT5350F-OLinuXino devices 2020-05-19 19:03:07 +08:00
rt3883 ramips: remove default switch setup in 02_network 2020-05-19 19:03:02 +08:00
Makefile ramips: add 5.4 as testing kernel 2020-04-12 22:27:18 +08:00
modules.mk ramips: fix path for dma-ralink and mtk-hsdma 2020-04-05 18:16:17 +08:00