ar71xx: add default network configuration for RS and RS-Pro
SVN-Revision: 18103
This commit is contained in:
parent
cfe1bc11ad
commit
28e212cc40
3 changed files with 35 additions and 0 deletions
|
@ -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)
|
||||
name="routerstation"
|
||||
;;
|
||||
*"RouterStation Pro")
|
||||
name="routerstation-pro"
|
||||
;;
|
||||
*TEW-632BRP)
|
||||
name="tew-632brp"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue