You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
apm821xx apm821xx: set DEVICE_TYPE to "nas" for sata subtarget 4 years ago
ar71xx ar71xx: correct button type for TL-MR3020 mode slider 4 years ago
arc770 treewide: provide consistent basic DEVICE_TYPE 4 years ago
archs38 treewide: provide consistent basic DEVICE_TYPE 4 years ago
armvirt kernel: remove non-existant symbols 4 years ago
at91 treewide: remove maintainer variable from targets 4 years ago
ath25 treewide: remove maintainer variable from targets 4 years ago
ath79 ath79: phy-ar7200-usb: do not print error on defered init 4 years ago
bcm27xx bcm27xx: fix unmounting /boot after sysupgrade 4 years ago
bcm47xx bcm47xx: fix brcm-wl module loading 4 years ago
bcm53xx bcm53xx: remove support for kernel 4.14 4 years ago
bcm63xx bcm63xx: bcm6328: switch to upstream boot sel patch 4 years ago
cns3xxx cns3xx: remove support for kernel 4.14 4 years ago
gemini treewide: drop DEVICE_TYPE when used as device variable 4 years ago
generic kernel: sch_cake: use skb hash improve wireguard compatibility 4 years ago
imx6 imx6: image: increase max ubifs file-system size 4 years ago
ipq40xx ipq40xx: replace "ok" with "okay" for status in DTS files 4 years ago
ipq806x ipq806x: enable disk-activity LED trigger 4 years ago
ipq807x treewide: remove maintainer variable from targets 4 years ago
kirkwood treewide: drop DEVICE_TYPE when used as device variable 4 years ago
lantiq lantiq: fritz 7360 v2: remove additional supported devices 4 years ago
layerscape layerscape: remove support for kernel 4.14 4 years ago
malta malta: add missing symbols for kernel 5.4 4 years ago
mediatek mediatek: fix image/mt7622.mk 4 years ago
mpc85xx mpc85xx: restructure image receipts 4 years ago
mvebu mvebu: remove ClearFog Pro SUPPORTED_DEVICES 4 years ago
mxs kernel: bump 5.4 to 5.4.28 4 years ago
octeon octeon: set 5.4 as default kernel 4 years ago
octeontx octeontx: fix mcp251x can controller 4 years ago
omap omap: remove support for kernel 4.14 4 years ago
oxnas oxnas: move service file to correct place 4 years ago
pistachio treewide: remove maintainer variable from targets 4 years ago
ramips ramips: erx and erx-sfp: fix missing WAN interface 4 years ago
rb532 treewide: remove maintainer variable from targets 4 years ago
rockchip rockchip: add support for Pine64 RockPro64 4 years ago
samsung treewide: remove maintainer variable from targets 4 years ago
sunxi sunxi: remove unneeded shebang for preinit files 4 years ago
tegra tegra: correct cpu subtype 4 years ago
uml treewide: Remove self from MAINTAINER entries 4 years ago
x86 kernel: add gpio-it87 4 years ago
zynq zynq: switch to kernel 5.4 4 years ago
Makefile