From: "Eugene San (eugenesan)" <eugene...@gmail.com>
Signed-off-by: Eugene San (eugenesan) <eugene...@gmail.com> --- target/linux/orion/base-files/etc/config/network | 39 ++++++++++++---------- 1 files changed, 21 insertions(+), 18 deletions(-) diff --git a/target/linux/orion/base-files/etc/config/network b/target/linux/orion/base-files/etc/config/network index e7fdecd..24d7a39 100644 --- a/target/linux/orion/base-files/etc/config/network +++ b/target/linux/orion/base-files/etc/config/network @@ -1,22 +1,25 @@ -# Copyright (C) 2008 OpenWrt.org +# Copyright (C) 2011 OpenWrt.org -config interface loopback - option ifname lo - option proto static - option ipaddr 127.0.0.1 - option netmask 255.0.0.0 +config 'interface' 'loopback' + option 'ifname' 'lo' + option 'proto' 'static' + option 'ipaddr' '127.0.0.1' + option 'netmask' '255.0.0.0' -config interface eth0 - option ifname eth0 +config 'interface' 'eth0' + option 'ifname' 'eth0' + option 'proto' 'none' -config interface wan - option ifname wan - option proto dhcp - option hostname openwrt +config 'interface' 'wan' + option 'hostname' 'OpenWrt' + option 'proto' 'dhcp' + option 'type' 'bridge' + option 'ifname' 'wan eth1 eth2' -config interface lan - option ifname "lan1 lan2 lan3 lan4" - option type bridge - option proto static - option ipaddr 192.168.1.1 - option netmask 255.255.255.0 +config 'interface' 'lan' + option 'type' 'bridge' + option 'proto' 'static' + option 'netmask' '255.255.255.0' + option 'nat' '1' + option 'ipaddr' '192.168.2.1' + option 'ifname' 'lan1 lan2 lan3 lan4' -- 1.7.6 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel