summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/x86-2.6
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-07-30 03:09:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-07-30 03:09:09 +0000
commit31e0ccf22f86a4aa11c032b66bfa0dd4f4b4baaa (patch)
tree41ef7a4753ad7fcc113c4cc8c6b002279788a75b /openwrt/package/base-files/x86-2.6
parent9fb76c1dc29fa25f69228341a06697d40c058adc (diff)
downloadmtk-20170518-31e0ccf22f86a4aa11c032b66bfa0dd4f4b4baaa.zip
mtk-20170518-31e0ccf22f86a4aa11c032b66bfa0dd4f4b4baaa.tar.gz
mtk-20170518-31e0ccf22f86a4aa11c032b66bfa0dd4f4b4baaa.tar.bz2
rewrite of the network scripts and configuration
SVN-Revision: 4323
Diffstat (limited to 'openwrt/package/base-files/x86-2.6')
-rw-r--r--openwrt/package/base-files/x86-2.6/etc/config/network20
1 files changed, 10 insertions, 10 deletions
diff --git a/openwrt/package/base-files/x86-2.6/etc/config/network b/openwrt/package/base-files/x86-2.6/etc/config/network
index 7bcfd08..9f521c0 100644
--- a/openwrt/package/base-files/x86-2.6/etc/config/network
+++ b/openwrt/package/base-files/x86-2.6/etc/config/network
@@ -1,13 +1,13 @@
-# Network configuration file
# Copyright (C) 2006 OpenWrt.org
-## LAN configuration
-lan_ifname="br0"
-lan_ifnames="eth1 eth2"
-lan_proto="static"
-lan_ipaddr="192.168.1.1"
-lan_netmask="255.255.255.0"
+config interface lan
+ option type bridge
+ option ifnames "eth1 eth2"
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
+
+config interface wan
+ option ifname eth0
+ option proto dhcp
-## WAN configuration
-wan_ifname="eth0"
-wan_proto="dhcp"