rendered paste bodynetwork::
# 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 type bridge
option proto static
option ipaddr '192.168.1.27'
option netmask 255.255.255.0
option gateway '192.168.1.1'
option dns '192.168.1.1'
config interface wlan
option ifname ath0
# option type bridge
option proto dhcp
# option ipaddr '192.168.1.28'
# option netmask 255.255.255.0
# option gateway '192.168.1.1'
# option dns '192.168.1.1'
####
wireless::
config wifi-device wifi0
option type atheros
option channel 5
option diversity 0
option txantenna 0
option rxantenna 0
option distance 0
# disable radio to prevent an open ap after reflashing:
option disabled 0
config wifi-iface
option device wifi0
option network wlan
option mode sta
option ssid xxxx
option hidden 0
# option txpower 15
# option bgscan enable
option encryption psk
option key xxxx