aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-21 09:37:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-21 09:37:13 +0000
commit7c08cc06a2bcebc54b0bd01ee83dc8a4e9fedfdc (patch)
tree8a87ea38d12a5e04540bc02dc07dfcb53c08831a /target
parentedb8f76fbc2dab051fac45c6d76b0f8f6b76ad22 (diff)
downloadupstream-7c08cc06a2bcebc54b0bd01ee83dc8a4e9fedfdc.tar.gz
upstream-7c08cc06a2bcebc54b0bd01ee83dc8a4e9fedfdc.tar.bz2
upstream-7c08cc06a2bcebc54b0bd01ee83dc8a4e9fedfdc.zip
add better default config for ar7, add br2684ctl init script, add a missing setting for pppoa
SVN-Revision: 7024
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar7-2.6/base-files/default/etc/config/network41
1 files changed, 41 insertions, 0 deletions
diff --git a/target/linux/ar7-2.6/base-files/default/etc/config/network b/target/linux/ar7-2.6/base-files/default/etc/config/network
new file mode 100644
index 0000000000..5fa112cc6e
--- /dev/null
+++ b/target/linux/ar7-2.6/base-files/default/etc/config/network
@@ -0,0 +1,41 @@
+# Copyright (C) 2006 OpenWrt.org
+
+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 proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
+
+
+
+## Example for ATM bridging.
+## Useful for PPPoE or IP over ATM. Will create 'nas${unit}'
+#
+# config atm-bridge
+# option unit 0
+# option encaps llc
+# option vpi 8
+# option vci 35
+
+
+# config interface wan
+## PPPoE:
+# option ifname nas0
+# option proto pppoe
+
+## PPPoA:
+# option ifname atm0
+# option proto pppoa
+# option encaps llc
+# option vpi 8
+# option vci 35
+
+## Both:
+# option username "my_username"
+# option password "my_password"