diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-02-27 20:49:51 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-02-27 20:49:51 +0000 |
commit | 80afab21fc96d21e8d045bd5cda60fee60afa839 (patch) | |
tree | 3c1e9395be13ab65f7ad1e03bfbddba1fc882661 /target/linux/ar71xx/base-files | |
parent | 91984cff197b918289c41a385dc5452d0a8d767c (diff) | |
download | mtk-20170518-80afab21fc96d21e8d045bd5cda60fee60afa839.zip mtk-20170518-80afab21fc96d21e8d045bd5cda60fee60afa839.tar.gz mtk-20170518-80afab21fc96d21e8d045bd5cda60fee60afa839.tar.bz2 |
add default network configuration for the AW-NR580
SVN-Revision: 14688
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/defconfig/aw-nr580/network | 12 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/aw-nr580/network b/target/linux/ar71xx/base-files/etc/defconfig/aw-nr580/network new file mode 100644 index 0000000..7c9fb63 --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/defconfig/aw-nr580/network @@ -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 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index e0ba798..ae593b3 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -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" ;; |