[OpenWrt-Devel] [PATCH] Turn off VLAN support on MT7620 to get Failsafe working
Fix broken Failsafe on MT7620 caused by the fact that the switch on MT7620 has VLANs enabled by default and eth0 won't receive any packet. This patch turns off VLAN support to get Failsafe working. Fixes https://dev.openwrt.org/ticket/18768 and has been discussed and tested there. Signed-off-by: Simon Peterdiff --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 3dce1b6..a31616f 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 @@ -26,6 +26,14 @@ ramips_set_preinit_iface() { ip link add link eth0 name eth0.1 type vlan id 1 ip link set eth0 up ifname=eth0.1 + elif grep MT7620 /proc/cpuinfo; then + # Switch on MT7620 has VLANs enabled by default and eth0 won't receive any packet, + # hence turn off VLAN support to get Failsafe working: + # https://dev.openwrt.org/ticket/18768 + swconfig dev mt7620 set reset 1 + swconfig dev mt7620 set enable_vlan 0 + swconfig dev mt7620 set apply + ifname=eth0 else ifname=eth0 fi ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Failsafe broken on Nexx WT3020
Hi, I am asking for help on https://dev.openwrt.org/ticket/18768 Failsafe mode appears to be broken on the Nexx WT3020 as of r43977. I suspect that TCP connections are not working when VLAN is disabled just like on other MediaTek/Ralink chipsets. Can someone please have a look? Thanks, probono ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] A5-V11 images are missing in snapshots
Hi, what is needed to get a certain target board into the snapshots? Specifically, A5-V11 images are missing in the ramips-rt305x snapshots on http://downloads.openwrt.org/snapshots/trunk/ramips/generic/ as described in https://dev.openwrt.org/ticket/18712 Thanks, probono ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Fwd: hub-ctrl
Add hub-ctrl app to switch off/on power to ports which support it on a USB host/hub http://trac.gateworks.com/export/216/openwrt/trunk/packages/hub-ctrl/Makefile Please include this in OpenWrt. In case the server is slow/down, there is also a copy on Google Cache at http://webcache.googleusercontent.com/search?q=cache:Fcsd2rmRRDQJ:www.gniibe.org/oitoite/ac-power-control-by-USB-hub/hub-ctrl.cgl=destrip=1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel