mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-19 23:37:08 +03:00
[ar71xx] add default network configuration for the AW-NR580
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14688 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7a6bbf20f3
commit
adc3f3a1c5
@ -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
|
@ -10,6 +10,9 @@ ar71xx_board_name() {
|
|||||||
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
|
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
|
||||||
|
|
||||||
case "$machine" in
|
case "$machine" in
|
||||||
|
*AW-NR580)
|
||||||
|
name="aw-nr580"
|
||||||
|
;;
|
||||||
*LS-SR71)
|
*LS-SR71)
|
||||||
name="ls-sr71"
|
name="ls-sr71"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user