mirror of https://github.com/hak5/openwrt.git
ar71xx: add default network configuration for RS and RS-Pro
SVN-Revision: 18103lede-17.01
parent
cfe1bc11ad
commit
28e212cc40
|
@ -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
|
|
@ -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
|
|
@ -52,6 +52,9 @@ ar71xx_board_name() {
|
||||||
*RouterStation)
|
*RouterStation)
|
||||||
name="routerstation"
|
name="routerstation"
|
||||||
;;
|
;;
|
||||||
|
*"RouterStation Pro")
|
||||||
|
name="routerstation-pro"
|
||||||
|
;;
|
||||||
*TEW-632BRP)
|
*TEW-632BRP)
|
||||||
name="tew-632brp"
|
name="tew-632brp"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue