aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-12-02 20:19:55 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-12-02 20:19:55 +0000
commit6f7e2d4ce83faf8ff9c6694cf5537ef0402a5319 (patch)
tree4a5816be5674043293401e685a1fde4db7abe3af
parent9811ba059f1b7d7c356e7567d36f0c907a98eb3a (diff)
downloadupstream-6f7e2d4ce83faf8ff9c6694cf5537ef0402a5319.tar.gz
upstream-6f7e2d4ce83faf8ff9c6694cf5537ef0402a5319.tar.bz2
upstream-6f7e2d4ce83faf8ff9c6694cf5537ef0402a5319.zip
tune rtl8366s default config, make vlan 1 cpu port tagged and use eth0.1 for the lan interface - this brings the configuration more in line with other switch setups
SVN-Revision: 24215
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/dir-825-b1/network4
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network4
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/wzr-hp-g300nh/network4
3 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/dir-825-b1/network b/target/linux/ar71xx/base-files/etc/defconfig/dir-825-b1/network
index 48477fab19..79f4799f94 100644
--- a/target/linux/ar71xx/base-files/etc/defconfig/dir-825-b1/network
+++ b/target/linux/ar71xx/base-files/etc/defconfig/dir-825-b1/network
@@ -5,7 +5,7 @@ config interface loopback
option netmask 255.0.0.0
config interface lan
- option ifname eth0
+ option ifname eth0.1
option type bridge
option proto static
option ipaddr 192.168.1.1
@@ -23,4 +23,4 @@ config switch
config switch_vlan
option device rtl8366s
option vlan 1
- option ports "0 1 2 3 5"
+ option ports "0 1 2 3 5t"
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network b/target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network
index 52260e74e8..d05fdf3425 100644
--- a/target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network
+++ b/target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network
@@ -5,7 +5,7 @@ config interface loopback
option netmask 255.0.0.0
config interface lan
- option ifname eth0
+ option ifname eth0.1
option type bridge
option proto static
option ipaddr 192.168.1.1
@@ -25,7 +25,7 @@ config switch
config switch_vlan
option device rtl8366s
option vlan 1
- option ports "0 1 2 3 5"
+ option ports "0 1 2 3 5t"
config switch_port
# Port 1 controls the GREEN configuration of LEDs for
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/wzr-hp-g300nh/network b/target/linux/ar71xx/base-files/etc/defconfig/wzr-hp-g300nh/network
index 48477fab19..79f4799f94 100644
--- a/target/linux/ar71xx/base-files/etc/defconfig/wzr-hp-g300nh/network
+++ b/target/linux/ar71xx/base-files/etc/defconfig/wzr-hp-g300nh/network
@@ -5,7 +5,7 @@ config interface loopback
option netmask 255.0.0.0
config interface lan
- option ifname eth0
+ option ifname eth0.1
option type bridge
option proto static
option ipaddr 192.168.1.1
@@ -23,4 +23,4 @@ config switch
config switch_vlan
option device rtl8366s
option vlan 1
- option ports "0 1 2 3 5"
+ option ports "0 1 2 3 5t"