[OpenWrt-Devel] [PATCH] ramips: Fix failsafe switch workaround for RT5350 introduced in r42179.
Vittorio G (VittGam)
openwrt at vittgam.net
Sat Mar 7 20:44:01 EST 2015
This patch fixes the failsafe switch workaround to avoid soft-bricking routers where the only exposed Ethernet port is not 0 (it is 4 for the HT-TM02 for instance).
This is a follow-up of http://patchwork.ozlabs.org/patch/424017/ (sorry for the delay).
Signed-off-by: Vittorio Gambaletta <openwrt at vittgam.net>
diff --git a/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips b/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips
index cae6396..efdc5fd 100644
--- a/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips
+++ b/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips
@@ -20,7 +20,7 @@ ramips_set_preinit_iface() {
# disabled:
# https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg19870.html
swconfig dev rt305x set enable_vlan 1
- swconfig dev rt305x vlan 1 set ports "0 6"
+ swconfig dev rt305x vlan 1 set ports "0 1 2 3 4 5 6"
swconfig dev rt305x port 6 set untag 0
swconfig dev rt305x set apply 1
vconfig add eth0 1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list