summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc/uci-defaults/network
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults/network')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index dc2221f1e7..81c12de27e 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -55,6 +55,7 @@ ramips_setup_interfaces()
;;
freestation5 | \
+ w306r-v20 | \
wcr-150gn)
ucidef_set_interfaces_lan_wan "eth0.2" "eth0.1"
;;
@@ -96,6 +97,11 @@ ramips_setup_macs()
wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)
;;
+ w306r-v20)
+ lan_mac=$(ramips_get_mac_binary factory 4)
+ wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 5)
+ ;;
+
dir-300-b1 |\
dir-300-b2 |\
dir-600-b1)