summaryrefslogtreecommitdiff
path: root/target/linux/at91/base-files
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2010-07-11 12:27:05 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2010-07-11 12:27:05 +0000
commitba56a699a9a6b003f73e4fcb93541666297f3d81 (patch)
tree860ee80b375bd711970ef91170a0f43f29d02712 /target/linux/at91/base-files
parentb28b2b95906a1f0cbc246fcbbdf9a5808a1b79d8 (diff)
downloadmtk-20170518-ba56a699a9a6b003f73e4fcb93541666297f3d81.zip
mtk-20170518-ba56a699a9a6b003f73e4fcb93541666297f3d81.tar.gz
mtk-20170518-ba56a699a9a6b003f73e4fcb93541666297f3d81.tar.bz2
add defautl config for eth0
SVN-Revision: 22128
Diffstat (limited to 'target/linux/at91/base-files')
-rw-r--r--target/linux/at91/base-files/etc/config/firewall6
-rw-r--r--target/linux/at91/base-files/etc/config/network4
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 0000000..f9c860e
--- /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 92d3542..2aecfb9 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