summaryrefslogtreecommitdiff
path: root/target/linux/at91/base-files/etc
diff options
context:
space:
mode:
authorclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-11 12:27:05 +0000
committerclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-11 12:27:05 +0000
commitb9ca13b775ebb6df923ad6af4677c3c84c8eca7b (patch)
treef7f7658c303cf0ee7fc41728e832bbd0459d617c /target/linux/at91/base-files/etc
parente62c8091ba8771ac11e4bd853e744a4732e7b463 (diff)
[at91] add defautl config for eth0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22128 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/at91/base-files/etc')
-rw-r--r--target/linux/at91/base-files/etc/config/firewall6
-rw-r--r--target/linux/at91/base-files/etc/config/network4
2 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/at91/base-files/etc/config/firewall b/target/linux/at91/base-files/etc/config/firewall
new file mode 100644
index 0000000000..f9c860e3d6
--- /dev/null
+++ b/target/linux/at91/base-files/etc/config/firewall
@@ -0,0 +1,6 @@
+config defaults
+ option syn_flood 1
+ option input ACCEPT
+ option output ACCEPT
+ option forward REJECT
+
diff --git a/target/linux/at91/base-files/etc/config/network b/target/linux/at91/base-files/etc/config/network
index 92d354218d..2aecfb9ebc 100644
--- a/target/linux/at91/base-files/etc/config/network
+++ b/target/linux/at91/base-files/etc/config/network
@@ -7,7 +7,9 @@ config interface loopback
config interface lan
option ifname eth0
option type none
- option proto dhcp
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
config interface debug
option ifname usb0