# Syntax: # # config
# option # # Network Interfaces: (config network
) # 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
) # available sections: public, private # available options: # - essid # (private only) # - encryption: wpa, wpa2, mixed (optionally append /tkip, /aes or /tkip+aes) # - password . /etc/functions.sh # this line always needs to be present 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 config wifi private option essid MyPlace option encryption mixed option wpa_crypto tkip+aes 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