add default network configuration for the AW-NR580

SVN-Revision: 14688
lede-17.01
Gabor Juhos 2009-02-27 20:49:51 +00:00
parent 91984cff19
commit 80afab21fc
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,12 @@
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

View File

@ -10,6 +10,9 @@ ar71xx_board_name() {
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
*AW-NR580)
name="aw-nr580"
;;
*LS-SR71)
name="ls-sr71"
;;