X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fbase-files%2Fetc%2Fboard.d%2F02_network;h=ecdae638f5c4e7ae6bd5d27d9f41fd21ca7ab8f0;hp=7eab5f286a1aee4a6efa6c39dfbeea24a052a57b;hb=5f6e94855113b0c37fba57eda4af0b0427457b98;hpb=b35dd9584e50b02d709f67200572bc49866edf03 diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 7eab5f286a..ecdae638f5 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -24,7 +24,7 @@ ramips_setup_rt3x5x_vlans() lanports="$port:lan $lanports" fi done - ucidef_add_switch "rt305x" $lanports $wanports "6@eth0" + ucidef_add_switch "rt305x" $lanports $wanports "6t@eth0" } ramips_setup_interfaces() @@ -58,7 +58,6 @@ ramips_setup_interfaces() ucidef_add_switch_attr "switch0" "enable" "false" ucidef_set_interface_lan "eth0" ;; - 3g-6200nl|\ mlw221|\ mr-102n) ucidef_set_interface_lan "eth0.2" @@ -86,10 +85,12 @@ ramips_setup_interfaces() psg1218|\ sap-g3200u3|\ sk-wb8|\ + vr500|\ wf-2881|\ whr-300hp2|\ whr-600d|\ witi|\ + wl-wn575a3|\ wndr3700v5|\ wsr-1166|\ wsr-600|\ @@ -134,6 +135,7 @@ ramips_setup_interfaces() jhr-n825r|\ jhr-n926r|\ mzk-wdpr|\ + rb750gr3|\ rt-n14u|\ ubnt-erx|\ ur-326n4g|\ @@ -355,6 +357,10 @@ ramips_setup_macs() lan_mac=$(mtd_get_mac_ascii u-boot-env LAN_MAC_ADDR) wan_mac=$(mtd_get_mac_ascii u-boot-env WAN_MAC_ADDR) ;; + vr500) + lan_mac=$(mtd_get_mac_binary factory 57344) + wan_mac=$(mtd_get_mac_binary factory 57350) + ;; w306r-v20) lan_mac=$(cat /sys/class/net/eth0/address) wan_mac=$(macaddr_add "$lan_mac" 5)