rewrite of the network scripts and configuration
[openwrt-10.03/.git] / package / base-files / au1000-2.6 / etc / config / network
index 576677bf7c44aa375217a88cf351713c192f73c4..95d7575c92f8d6248f0cca2b819b2b5b44c3ffaa 100644 (file)
@@ -1,13 +1,8 @@
-# Network configuration file
 # Copyright (C) 2006 OpenWrt.org
 
-## LAN configuration
-lan_ifname="br0"
-lan_ifnames="eth0 ath0"
-lan_proto="static"
-lan_ipaddr="192.168.1.1"
-lan_netmask="255.255.255.0"
-
-## WAN configuration
-wan_ifname=""
-wan_proto="none"
+config interface lan
+       option type     bridge
+       option ifnames  "eth0 ath0"
+       option proto    static
+       option ipaddr   192.168.1.1
+       option netmask  255.255.255.0