aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-07-14 18:15:48 +0200
committerMathias Kresin <dev@kresin.me>2016-11-09 20:02:18 +0100
commit13208e89d033b7f9f6f09b76106def4cad890813 (patch)
tree2a26c9c628f151169100f849ebb17de27fe03fa0 /target/linux/lantiq/base-files/etc
parentb6832817eb39ff237f663a5f0e6245414470ed37 (diff)
downloadupstream-13208e89d033b7f9f6f09b76106def4cad890813.tar.gz
upstream-13208e89d033b7f9f6f09b76106def4cad890813.tar.bz2
upstream-13208e89d033b7f9f6f09b76106def4cad890813.zip
lantiq: fix VGV7519 and VGV7510KW22 mac addresses
The VGV7510KW22 stock firmware uses the following mac-addresses: lan (ifno 1): AA:BB:CC:DD:EE:60 wlan (ifno 2): AA:BB:CC:DD:EE:61 atm0 (ifno 3): AA:BB:CC:DD:EE:62 atm1/wan (ifno 4): AA:BB:CC:DD:EE:63 The VGV7519 stock firmware uses the following mac-addresses: lan: AA:BB:CC:DD:EE:EF wlan: AA:BB:CC:DD:EE:EF wan: AA:BB:CC:DD:EE:EE Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/base-files/etc')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/02_network5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network
index d824c66d1a..d9221dab86 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -134,13 +134,13 @@ VR200v)
;;
VGV7510KW22)
- wan_mac=$(macaddr_add "$(mtd_get_mac_binary board_config 22)" 1)
+ wan_mac=$(macaddr_add "$(mtd_get_mac_binary board_config 22)" 2)
ucidef_add_switch "switch0" \
"2:lan:2" "3:lan:1" "4:lan:4" "5:lan:3" "6t@eth0"
;;
VGV7519)
- wan_mac=$(macaddr_add "$(mtd_get_mac_binary board_config 22)" 1)
+ wan_mac=$(mtd_get_mac_binary board_config 22)
ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "4:lan:1" "6t@eth0"
;;
@@ -183,3 +183,4 @@ ucidef_set_interface_wan "$interface_wan" "pppoe"
board_config_flush
exit 0
+