summaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ifxmips/base-files/etc')
-rw-r--r--target/linux/ifxmips/base-files/etc/config/network27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/ifxmips/base-files/etc/config/network b/target/linux/ifxmips/base-files/etc/config/network
new file mode 100644
index 000000000..8f5624b4a
--- /dev/null
+++ b/target/linux/ifxmips/base-files/etc/config/network
@@ -0,0 +1,27 @@
+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
+
+config atm-bridge
+ option unit 0
+ option encaps llc
+ option vpi 1
+ option vci 32
+ option payload bridged # some ISPs need this set to 'routed'
+
+config interface wan
+ option ifname nas0
+ option proto pppoe
+ option username ""
+ option password ""
+ option defaultroute 0
+ option unit 1