diff options
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 5 |
1 files changed, 5 insertions, 0 deletions
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 981d6c2596..d485010e3a 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -242,6 +242,7 @@ ramips_setup_interfaces() huawei,hg255d|\ iodata,wn-ax1167gr|\ iodata,wn-gx300gr|\ + iodata,wnpr2600g|\ iptime,a604m) ucidef_add_switch "switch0" \ "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "0:wan" "6@eth0" @@ -670,6 +671,10 @@ ramips_setup_macs() trendnet,tew-692gr) wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x4)" 1) ;; + iodata,wnpr2600g) + wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr) + label_mac=$wan_mac + ;; iptime,a3|\ iptime,a604m) wan_mac=$(mtd_get_mac_binary u-boot 0x1fc40) |