From: George Kashperko <[email protected]>

ASUS RT-N16 router network configuration setup support
Signed-off-by: George Kashperko <[email protected]>
---
Unfortunately noticed too late that email client of mine word wraps stuff thus 
making
patch broken. Hopefully I got rid of it.
--- trunk.24729.orig/target/linux/brcm47xx/base-files/etc/init.d/netconfig      
2010-12-25 11:19:07.000000000 +0200
+++ trunk.24729/target/linux/brcm47xx/base-files/etc/init.d/netconfig   
2011-02-05 02:35:51.000000000 +0200
@@ -122,6 +122,10 @@ start() {
                        c["vlan0ports"] = "0 1 2 3 4 5u"
                        c["vlan1ports"] = ""
                }
+               if (model == "ASUS RT-N16") {
+                       c["vlan0ports"] = "1 2 3 4 8"
+                       c["vlan1ports"] = "0 8"
+               }
                if (nvram["boardtype"] == "bcm94710r4") {
                        # Toshiba WRC-1000
                        c["lan_ifname"] = "eth0"



_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to