From 6f7e2d4ce83faf8ff9c6694cf5537ef0402a5319 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 2 Dec 2010 20:19:55 +0000 Subject: [PATCH] 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 --- .../linux/ar71xx/base-files/etc/defconfig/dir-825-b1/network | 4 ++-- target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network | 4 ++-- .../ar71xx/base-files/etc/defconfig/wzr-hp-g300nh/network | 4 ++-- 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" -- 2.30.2