nvram set lan_ifname=vlan0
nvram set lan_proto=static
nvram set lan_ipaddr=172.16.0.1
nvram set lan_netmask=255.255.255.0
nvram set wifi_ifname=eth1
nvram set wifi_proto=static
nvram set wifi_ipaddr=172.16.1.1
nvram set wifi_netmask=255.255.255.0
nvram set wan_ifname=vlan1
nvram set wan_proto=static
nvram set wan_ipaddr=66.0.0.5 #a public ip
nvram set wan_netmask=255.255.255.0
nvram set wan_gateway=66.0.0.1 #edge router
nvram set wan_dns=55.0.0.1 #public dns
nvram set wl0_mode="ap"
nvram set wl0_ssid="EPS"
nvram set wl0_infra="1"
nvram set wl0_closed="0"
nvram set wl0_wep="disabled"
nvram unset wl0_crypto
nvram commit