OpenWrt Forum
How to get current public IP address using UCI?
Installing and Using OpenWrt
Network and Wireless Configuration