From ba56a699a9a6b003f73e4fcb93541666297f3d81 Mon Sep 17 00:00:00 2001 From: Claudio Mignanti Date: Sun, 11 Jul 2010 12:27:05 +0000 Subject: add defautl config for eth0 SVN-Revision: 22128 --- 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 (limited to 'target/linux/at91') 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 -- cgit v1.2.3