openwrt/target/linux
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
..
apm821xx apm821xx: set DEVICE_TYPE to "nas" for sata subtarget 2020-06-03 15:41:09 +02:00
ar71xx ar71xx: correct button type for TL-MR3020 mode slider 2020-05-31 15:53:01 +02:00
arc770 treewide: provide consistent basic DEVICE_TYPE 2020-06-03 15:41:09 +02:00
archs38 treewide: provide consistent basic DEVICE_TYPE 2020-06-03 15:41:09 +02:00
armvirt
at91
ath25
ath79 ath79: phy-ar7200-usb: do not print error on defered init 2020-06-03 16:49:28 +02:00
bcm27xx bcm27xx: fix unmounting /boot after sysupgrade 2020-06-07 06:00:08 +03:00
bcm47xx bcm47xx: fix brcm-wl module loading 2020-06-03 16:49:28 +02:00
bcm53xx bcm53xx: remove support for kernel 4.14 2020-05-30 11:30:06 +02:00
bcm63xx bcm63xx: bcm6328: switch to upstream boot sel patch 2020-06-07 20:26:17 +02:00
cns3xxx
gemini treewide: drop DEVICE_TYPE when used as device variable 2020-06-03 15:41:09 +02:00
generic kernel: sch_cake: use skb hash improve wireguard compatibility 2020-06-05 21:03:26 +01:00
imx6 imx6: image: increase max ubifs file-system size 2020-06-03 16:49:28 +02:00
ipq40xx
ipq806x ipq806x: enable disk-activity LED trigger 2020-06-03 16:49:28 +02:00
ipq807x
kirkwood treewide: drop DEVICE_TYPE when used as device variable 2020-06-03 15:41:09 +02:00
lantiq
layerscape
malta malta: add missing symbols for kernel 5.4 2020-06-03 10:50:01 +01:00
mediatek mediatek: fix image/mt7622.mk 2020-06-07 20:59:39 +02:00
mpc85xx
mvebu mvebu: remove ClearFog Pro SUPPORTED_DEVICES 2020-06-05 21:54:53 +02:00
mxs
octeon
octeontx octeontx: fix mcp251x can controller 2020-06-03 16:49:28 +02:00
omap
oxnas
pistachio
ramips ramips: erx and erx-sfp: fix missing WAN interface 2020-06-09 16:59:33 +02:00
rb532
rockchip
samsung
sunxi
tegra
uml
x86 kernel: add gpio-it87 2020-06-03 16:49:28 +02:00
zynq
Makefile