I have this patch I wrote a year ago that fixed the broken Ethernet switch on the AWM002. I've forgotten exactly what I was trying to do. For some reason the switch was not getting programmed by default.
What is up with this bit? Why did I need to change it? - if [ -n "${RT3X5X}" ]; then + if [ "${RT3X5X}" ]; then diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network index a9914fd..f46e421 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/02_network +++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network @@ -41,7 +41,6 @@ ramips_setup_interfaces() all0256n | \ all5002 | \ all5003 | \ - awm002-evb | \ broadway | \ dcs-930| \ wnce2001) @@ -145,7 +144,7 @@ ramips_setup_interfaces() *) RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"` - if [ -n "${RT3X5X}" ]; then + if [ "${RT3X5X}" ]; then ramips_setup_rt3x5x_vlans else ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" -- Jon Smirl jonsm...@gmail.com _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel