# Syntax:
#
# config <configuration type> <section name>
# 	option	<name>	<value>
#
# Network Interfaces: (config network <section name>)
#   available sections: lan, wan, hotspot
#	available options:
#		- mode: operation mode (static, dhcp, pppoe, pptp)
#		(depending on mode):
#		- static: ipaddr, netmask, gateway
#		- dhcp: (optional) ipaddr
#		- pppoe: username, password
#		- pptp: username, password, server
#
# Wireless Settings: (config wifi <section name>)
#	available sections: public, private
#	available options:
#		- essid
#		(private only)
#		- encryption: wpa, wpa2, mixed (optionally append /tkip, /aes or /tkip+aes)
#		- password

config network lan
	option	mode	static
	option	ipaddr	192.168.10.1
	option	netmask	255.255.255.0
	option	dhcp	1

config network wan
	option	mode	dhcp

config wifi public
	option	essid   	AP
	option	isolate		1

config wifi private
	option	essid   	MyPlace
	option	encryption	wpa
	option	wpa_crypto	tkip
	option	password	$(get_serial)

config firewall access
	option	lan_wan		1
	option	hotspot_wan	0
	option	hotspot_lan	0

config wifi advanced
	option	bgmode	mixed
	option	channel	auto
	
