mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
lantiq: Fix ar8216 switch configuration for WBMR-HP-G300H devices
The switch is renamed to "switch0" in newer (3.10) linux kernels. Configure the switch using vlans by default and only configure the physical switch ports that are present. Signed-off-by: Richard Mortimer <richm@oldelvet.org.uk> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38673 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -65,8 +65,9 @@ ARV4519PW|ARV7518PW|ARV752DPW22)
|
||||
;;
|
||||
|
||||
WBMR)
|
||||
ucidef_add_switch "eth0" "1" "0"
|
||||
ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 4 5"
|
||||
ucidef_set_interface_lan "eth0.1"
|
||||
ucidef_add_switch "switch0" "1" "1"
|
||||
ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
|
||||
;;
|
||||
|
||||
VG3503J)
|
||||
|
||||
Reference in New Issue
Block a user