diff options
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/network | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index bb70fe7..43fda2f 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -102,6 +102,9 @@ get_status_led() { wr512-3gn) status_led="wr512:green:wps" ;; + ur-336un) + status_led="ur336:green:wps" + ;; xdxrn502j) status_led="xdxrn502j:green:power" ;; diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index 81c12de..c987a25 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -32,6 +32,10 @@ ramips_setup_interfaces() f5d8235-v1 | \ f5d8235-v2 | \ + ur-336un) + ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" + ;; + v11st-fe) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1" @@ -110,6 +114,11 @@ ramips_setup_macs() ;; esr-9753 | \ + ur-336un) + lan_mac=$(ramips_get_mac_binary devdata 16388) + wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1) + ;; + nbg-419n | \ wcr-150gn) lan_mac=$(ramips_get_mac_binary factory 4) |