firmware/bsp/wdr4300/root_file_system/etc/config/network
Tim Niemeyer 37805e0e7e bsp/wdr4300: initial support for WDR3500,WDR3600,WDR4300,WDR4310
Series-to: ffol

Series-version: 1

Series-name: for_0.5.0

Cover-letter:
This patchset is meant to be applied to a branch which stores the changes for
the upcoming 0.5.0 release. It hold also all patches from my last set for 0.4.2.

This sets bumps up our OpenWRT base version.

Currently not working:
- Network on WDR3500 have wrong VLAN-IDs

Currently untested:
- All WRxxx and DIR300/Fonera boards

END

Series-changes: 1
- First version of this Patchset

Signed-off-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
2014-08-16 13:10:30 +02:00

56 lines
1.0 KiB
Plaintext

config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config interface 'w2mesh'
option mtu '1528'
option proto 'batadv'
option mesh 'bat0'
config interface 'w5mesh'
option mtu '1528'
option proto 'batadv'
option mesh 'bat0'
config 'interface' 'mesh'
option 'type' 'bridge'
option 'ifname' 'eth0.1 w2ap w5ap bat0 tap0'
option 'auto' '1'
config 'interface' 'wan'
option 'ifname' 'eth0.2'
option 'proto' 'dhcp'
config 'interface' 'ethmesh'
option 'ifname' 'eth0.3'
option 'mtu' '1528'
option proto 'batadv'
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