projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lantiq: DGN3500 fixups
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
base-files
/
etc
/
uci-defaults
/
02_network
diff --git
a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
index ed556fca190bc48382417242ea948511d6a4f7a0..3262f080c3a65f2c204fcc9d6364e864398c34c1 100644
(file)
--- a/
target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/
target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@
-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"