bsp/wdr4900: update network config

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This commit is contained in:
Tim Niemeyer 2014-08-11 00:14:46 +02:00
parent a2fec0e883
commit 7a1cdc90b0
3 changed files with 12 additions and 27 deletions

View File

@ -16,7 +16,6 @@ config interface 'w5mesh'
config 'interface' 'mesh' config 'interface' 'mesh'
option 'type' 'bridge' option 'type' 'bridge'
option 'ifname' 'eth0.1 w2ap w5ap bat0 tap0'
option 'auto' '1' option 'auto' '1'
config 'interface' 'wan' config 'interface' 'wan'
@ -24,32 +23,8 @@ config 'interface' 'wan'
option 'proto' 'dhcp' option 'proto' 'dhcp'
config 'interface' 'ethmesh' config 'interface' 'ethmesh'
option 'ifname' 'eth0.3'
option 'mtu' '1528' option 'mtu' '1528'
option proto 'batadv' option proto 'batadv'
option mesh 'bat0' option mesh 'bat0'
config 'switch'
option 'name' 'switch0'
option 'reset' '1'
option 'enable_vlan' '1'
#3. und 4. LAN Port
config 'switch_vlan'
option 'device' 'switch0'
option 'vlan' '1'
option 'ports' '0t 4 5'
#WAN
config 'switch_vlan'
option 'device' 'switch0'
option 'vlan' '2'
option 'ports' '0t 1'
#1. und 2. LAN Port
config 'switch_vlan'
option 'device' 'switch0'
option 'vlan' '3'
option 'ports' '0t 2 3'
# vim: noexpandtab # vim: noexpandtab

View File

@ -19,7 +19,7 @@ config wifi-iface 'w5mesh'
config wifi-iface 'w5ap' config wifi-iface 'w5ap'
option device radio0 option device radio0
option network w5ap option network mesh
option ifname w5ap option ifname w5ap
option mode ap option mode ap
option ssid '${ESSID_AP}' option ssid '${ESSID_AP}'
@ -46,7 +46,7 @@ config wifi-iface 'w2mesh'
config wifi-iface 'w2ap' config wifi-iface 'w2ap'
option device radio1 option device radio1
option network w2ap option network mesh
option ifname w2ap option ifname w2ap
option mode ap option mode ap
option ssid '${ESSID_AP}' option ssid '${ESSID_AP}'

View File

@ -0,0 +1,10 @@
WANDEV=eth0
SWITCHDEV=eth0
CLIENT_PORTS="0t 4 5"
WAN_PORTS="0t 1"
BATMAN_PORTS="0t 2 3"
CLIENTIF="eth0.1 w2ap w5ap"
ETHMESHMAC=
ROUTERMAC=