From b9ca13b775ebb6df923ad6af4677c3c84c8eca7b Mon Sep 17 00:00:00 2001 From: claudio Date: Sun, 11 Jul 2010 12:27:05 +0000 Subject: [at91] add defautl config for eth0 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22128 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/at91/base-files/etc/config/firewall | 6 ++++++ target/linux/at91/base-files/etc/config/network | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 target/linux/at91/base-files/etc/config/firewall 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 000000000..f9c860e3d --- /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 92d354218..2aecfb9eb 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 -- cgit v1.2.3