diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-07-20 00:13:15 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-07-20 00:21:48 +0200 |
commit | e633a1b48f8504a17ea1d2d89ed760da03e41380 (patch) | |
tree | b729455d2e763191e3bc615c53693e7b064ad1a8 /target/linux | |
parent | d963ddf0424a551e5fadd561c934bfdb5d198764 (diff) | |
download | upstream-e633a1b48f8504a17ea1d2d89ed760da03e41380.tar.gz upstream-e633a1b48f8504a17ea1d2d89ed760da03e41380.tar.bz2 upstream-e633a1b48f8504a17ea1d2d89ed760da03e41380.zip |
ar71xx: fix default network config of WZR-HP-G300NH and CR3000
The network defaults for the WZR-HP-G300NH and CR3000 models wrongly set the
lan interface to a vlan tagged device while the switch was set up in untagged
mode, leading to broken lan side ethernet connectivity by default.
Fix the issue by emitting untagged interfaces, consistent with the switch
setting on the device.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 301304ac3b..7c4958a71f 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -258,13 +258,13 @@ wrt160nl) ;; wzr-hp-g300nh) - ucidef_set_interfaces_lan_wan "eth0.1" "eth1" + ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "5@eth0" ;; cr3000) - ucidef_set_interfaces_lan_wan "eth0.1" "eth1" + ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "switch0" \ "0@eth0" "1:lan:1" "2:lan:4" "3:lan:3" "4:lan:2" ;; |