From: Claudio Mignanti Date: Sun, 11 Jul 2010 12:27:05 +0000 (+0000) Subject: add defautl config for eth0 X-Git-Tag: reboot~19447 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ba56a699a9a6b003f73e4fcb93541666297f3d81;p=oweals%2Fopenwrt.git add defautl config for eth0 SVN-Revision: 22128 --- 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