Hi. it looks like luci treats 'reset' and 'enable_vlan' config options as 'true by default'. This means that it doesn't put them into config file when they are true. On the other hand swconfig seems to have 'false' as default. As the result - at least on trendnet-tew632 users cannot see each other on internal switch (i.e. they can access internet/wifi only from any switch port). This patch seems to fix problem:
diff --git a/package/swconfig/src/uci.c b/package/swconfig/src/uci.c index e597ace..ce544c3 100644 --- a/package/swconfig/src/uci.c +++ b/package/swconfig/src/uci.c @@ -46,8 +46,8 @@ struct swlib_setting { }; struct swlib_setting early_settings[] = { - { .name = "reset" }, - { .name = "enable_vlan" }, + { .name = "reset", .val = "1" }, + { .name = "enable_vlan", .val = "1" }, }; static struct swlib_setting *settings; -- Truthfully yours, Martynov Nikolay. Email: mar.ko...@gmail.com Phone: +16478220537 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel