From: jow Date: Thu, 2 Dec 2010 20:19:55 +0000 (+0000) Subject: [ar71xx] tune rtl8366s default config, make vlan 1 cpu port tagged and use eth0.1... X-Git-Url: http://git.rohieb.name/openwrt.git/commitdiff_plain/db07bdac3e8af612806c4cd7d4a4e46315d9ac4b [ar71xx] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24215 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 48477fab1..79f4799f9 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 52260e74e..d05fdf342 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 48477fab1..79f4799f9 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"