add defautl config for eth0
authorClaudio Mignanti <c.mignanti@gmail.com>
Sun, 11 Jul 2010 12:27:05 +0000 (12:27 +0000)
committerClaudio Mignanti <c.mignanti@gmail.com>
Sun, 11 Jul 2010 12:27:05 +0000 (12:27 +0000)
SVN-Revision: 22128

target/linux/at91/base-files/etc/config/firewall [new file with mode: 0644]
target/linux/at91/base-files/etc/config/network

diff --git a/target/linux/at91/base-files/etc/config/firewall b/target/linux/at91/base-files/etc/config/firewall
new file mode 100644 (file)
index 0000000..f9c860e
--- /dev/null
@@ -0,0 +1,6 @@
+config defaults
+       option syn_flood        1
+       option input            ACCEPT
+       option output           ACCEPT 
+       option forward          REJECT
+
index 92d354218d1c538f4521873b1236245d6f95feb4..2aecfb9ebc9794abcb77c246f010a3a4e3771bb2 100644 (file)
@@ -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