/etc/config/network::: ##### # Copyright (C) 2006 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 lan option ifname eth0 option proto static option ipaddr '10.0.0.1' option netmask 255.255.255.0 option gateway '192.168.1.2' option dns '192.168.1.1' config interface wan option ifname ath0 option proto static option ipaddr '192.168.1.15' option netmask 255.255.255.0 option gateway '192.168.1.1' option dns '192.168.1.1' ############################## /etc/config/wireless ::: config wifi-device wifi0 option type atheros option channel 5 option diversity 0 option txantenna 1 option rxantenna 1 option distance 0 option mode 11bg option disabled 0 config wifi-iface option device wifi0 option network wan option mode sta option ssid xxxxxx option hidden 0 # option txpower 25 option bgscan disable option encryption psk option key xxxxxxxxxxxxxxxxxxx