summaryrefslogtreecommitdiffstats
path: root/target/linux/ar7-2.6/base-files/default
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-21 09:37:13 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-21 09:37:13 +0000
commit77cb290b5475058154d8288b4913ebfa71ad7e3c (patch)
treecabc0dc080184f094032d27c59d259020a5340d7 /target/linux/ar7-2.6/base-files/default
parent3e7e7a6e3c2a84fde57d381e6b19a275790532f3 (diff)
add better default config for ar7, add br2684ctl init script, add a missing setting for pppoa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7024 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7-2.6/base-files/default')
-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 000000000..5fa112cc6
--- /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"