lantiq: DGN3500 fixups
[openwrt/staging/dedeckeh.git] / target / linux / lantiq / base-files / etc / uci-defaults / 02_network
index ed556fca190bc48382417242ea948511d6a4f7a0..3262f080c3a65f2c204fcc9d6364e864398c34c1 100644 (file)
@@ -78,6 +78,8 @@ VG3503J)
        ;;
 
 DGN3500*)
+       lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
+       wan_mac=$(macaddr_add "$lan_mac" 1)
        ucidef_set_interface_lan "eth0.1"
        ucidef_add_switch "switch0" "1" "1"
        ucidef_add_switch_vlan "switch0" "1" "3 2 1 0 5t"