Developing lightweight computation at the DSG edge

Commit 87070dc0 authored by Pau Escrich's avatar Pau Escrich
Browse files

Fix switch for wdr4300/wdr3600

parent 657e9852
......@@ -30,21 +30,21 @@ uci add network switch_vlan > /dev/null
uci add network switch_vlan > /dev/null
uci set network.@switch[0]=switch
uci set network.@switch[0].name=eth0
uci set network.@switch[0].name=switch0
uci set network.@switch[0].reset=1
uci set network.@switch[0].enable_vlan=1
uci set network.@switch_vlan[0]=switch_vlan
uci set network.@switch_vlan[0].device=eth0
uci set network.@switch_vlan[0].device=switch0
uci set network.@switch_vlan[0].vlan=2
uci set network.@switch_vlan[0].vid=2
uci set network.@switch_vlan[0].ports="0t 2 3 4"
uci set network.@switch_vlan[1]=switch_vlan
uci set network.@switch_vlan[1].device=eth0
uci set network.@switch_vlan[1].device=switch0
uci set network.@switch_vlan[1].vlan=3
uci set network.@switch_vlan[1].vid=3
uci set network.@switch_vlan[1].ports="0t 1"
uci set network.@switch_vlan[2]=switch_vlan
uci set network.@switch_vlan[2].device=eth0
uci set network.@switch_vlan[2].device=switch0
uci set network.@switch_vlan[2].vlan=12
uci set network.@switch_vlan[2].vid=12
uci set network.@switch_vlan[2].ports="0t 5"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment