Jelajahi Sumber

ar71xx: update default network configuration for the WNDR3700/DIR-825-B1

Also drop the default network configuration of the TL-WR1043ND, because
the RTL8366RB switch is not yet supported by the rtl8366-smi driver.

SVN-Revision: 19217
Gabor Juhos 16 tahun lalu
induk
melakukan
a9c5e3159f

+ 10 - 0
target/linux/ar71xx/base-files/etc/defconfig/dir-825-b1/network

@@ -14,3 +14,13 @@ config interface lan
 config interface wan
 	option ifname	eth1
 	option proto	dhcp
+
+config switch
+	option name	rtl8366-smi
+	option reset	1
+	option enable_vlan 1
+
+config switch_vlan
+	option device	rtl8366-smi
+	option vlan 	0
+	option ports	"0 1 2 3 5"

+ 0 - 26
target/linux/ar71xx/base-files/etc/defconfig/tl-wr1043nd/network

@@ -1,26 +0,0 @@
-config interface loopback
-	option ifname	lo
-	option proto	static
-	option ipaddr	127.0.0.1
-	option netmask	255.0.0.0
-
-config interface lan
-	option ifname	eth0
-	option type	bridge
-	option proto	static
-	option ipaddr	192.168.1.1
-	option netmask	255.255.255.0
-
-config interface wan
-	option ifname	eth1
-	option proto	dhcp
-
-config switch
-	option name	rtl8366-smi
-	option reset	1
-	option enable_vlan 1
-
-config switch_vlan
-	option device	rtl8366-smi
-	option vlan 	0
-	option ports	"0 1 2 3 5"

+ 10 - 0
target/linux/ar71xx/base-files/etc/defconfig/wndr3700/network

@@ -14,3 +14,13 @@ config interface lan
 config interface wan
 	option ifname	eth1
 	option proto	dhcp
+
+config switch
+	option name	rtl8366-smi
+	option reset	1
+	option enable_vlan 1
+
+config switch_vlan
+	option device	rtl8366-smi
+	option vlan 	0
+	option ports	"0 1 2 3 5"