This patch lets netconfig support the asus wl-500w.  I've been 
using it for some time now without problems. 

Signed-off-by: Ben Pfountz <[EMAIL PROTECTED]>

diff -urN --exclude=.svn 
target.old/linux/brcm-2.4/base-files/etc/init.d/netconfig 
target/linux/brcm-2.4/base-files/etc/init.d/netconfig
--- target.old/linux/brcm-2.4/base-files/etc/init.d/netconfig   2008-01-28 
10:11:40.000000000 -0500
+++ target/linux/brcm-2.4/base-files/etc/init.d/netconfig       2008-01-28 
13:18:07.000000000 -0500
@@ -127,6 +127,12 @@
                        c["vlan0ports"]="0 1 2 3 5*"
                        c["vlan1ports"]="4 5"
                }
+               if (model == "ASUS WL-500W") {
+                       c["lan_ifname"] = "eth0"
+                       c["wan_ifname"] = "eth1"
+                       c["vlan0ports"] = "0 1 2 3 4 5u"
+                       c["vlan1ports"] = ""
+               }
 
                print "#### VLAN configuration "
                print "config switch eth0"

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to