2
0
Эх сурвалжийг харах

ar71xx: add default network configuration for RS and RS-Pro

SVN-Revision: 18103
Gabor Juhos 16 жил өмнө
parent
commit
28e212cc40

+ 16 - 0
target/linux/ar71xx/base-files/etc/defconfig/routerstation-pro/network

@@ -0,0 +1,16 @@
+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	eth1
+	option type	bridge
+	option proto	static
+	option ipaddr	192.168.1.1
+	option netmask	255.255.255.0
+
+config interface wan
+	option ifname	eth0
+	option proto	dhcp

+ 16 - 0
target/linux/ar71xx/base-files/etc/defconfig/routerstation/network

@@ -0,0 +1,16 @@
+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	eth1
+	option type	bridge
+	option proto	static
+	option ipaddr	192.168.1.1
+	option netmask	255.255.255.0
+
+config interface wan
+	option ifname	eth0
+	option proto	dhcp

+ 3 - 0
target/linux/ar71xx/base-files/lib/ar71xx.sh

@@ -52,6 +52,9 @@ ar71xx_board_name() {
 	*RouterStation)
 		name="routerstation"
 		;;
+	*"RouterStation Pro")
+		name="routerstation-pro"
+		;;
 	*TEW-632BRP)
 		name="tew-632brp"
 		;;