diff options
author | Claudio Mignanti <c.mignanti@gmail.com> | 2010-07-11 12:27:05 +0000 |
---|---|---|
committer | Claudio Mignanti <c.mignanti@gmail.com> | 2010-07-11 12:27:05 +0000 |
commit | 397fefb9691030ccfe1b5884c375e6f7e11a7b7b (patch) | |
tree | f7f7658c303cf0ee7fc41728e832bbd0459d617c /target/linux/at91/base-files/etc/config | |
parent | 21847744acc46629e12caeb3ced339a64a528c67 (diff) | |
download | upstream-397fefb9691030ccfe1b5884c375e6f7e11a7b7b.tar.gz upstream-397fefb9691030ccfe1b5884c375e6f7e11a7b7b.tar.bz2 upstream-397fefb9691030ccfe1b5884c375e6f7e11a7b7b.zip |
[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/config')
-rw-r--r-- | target/linux/at91/base-files/etc/config/firewall | 6 | ||||
-rw-r--r-- | target/linux/at91/base-files/etc/config/network | 4 |
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 |