This patch adds correct eth0 and eth1 initialisation for the Buffalo WBR-G54 and WBR-B11. eth0 is linked to the switch. eti1 is linked direct to the WAN port and not via the switch (and so does not use an internal VLAN)
The patch will also close Ticket 4411. This patch differs slightly to the patch included in Ticket 4411. I believe this is a cleaner patch. Signed-off-by: Roger Hardiman <[email protected]> Index: target/linux/brcm-2.4/base-files/etc/init.d/netconfig =================================================================== --- target/linux/brcm-2.4/base-files/etc/init.d/netconfig (revision 17574) +++ target/linux/brcm-2.4/base-files/etc/init.d/netconfig (working copy) @@ -113,6 +113,17 @@ } } } + + if (nvram["boardtype"] == "bcm94710ap") { + # Note: Buffalo WBR-B11 and Buffalo WBR-G54 have boardtype = 42 + # Eth0 linked to Switch + # Eth1 linked to "WAN port" + c["vlan0ports"] = "0 1 2 3 4 5u" + c["vlan1ports"] = "" + c["lan_ifname"] = "eth0" + c["wan_ifname"] = "eth1" + } + if (nvram["boardtype"] == "0x478") { # generic broadcom 4785 processor with 5397 switch? c["vlan0ports"] = "1 2 3 4 8*" _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
