uci set network.lan.ipaddr=192.168.2.1;
uci commit;
/etc/init.d/network restart
uci add firewall rule
uci set firewall.@rule[-1].name='Allow-WEB-wan'
uci set firewall.@rule[-1].src=wan
uci set firewall.@rule[-1].dest_port=80
uci set firewall.@rule[-1].target=ACCEPT
uci set firewall.@rule[-1].proto=tcp
uci commit
/etc/init.d/firewall restart
uci add firewall rule
uci set firewall.@rule[-1].name='Allow-SSH-wan'
uci set firewall.@rule[-1].src=wan
uci set firewall.@rule[-1].dest_port=22
uci set firewall.@rule[-1].target=ACCEPT
uci set firewall.@rule[-1].proto=tcp
uci commit
/etc/init.d/firewall restart
ifconfig | grep "inet addr"
opkg update; opkg install libustream-openssl ca-bundle ca-certificates;