Widy/Configuration
From charlesreid1
Overview
On the Widy, or any device running OpenWrt, the device's configuration is set using UCI, the Unified Configuration Interface. This is similar in spirit to the way that most routers have web interfaces that allow you to modify their configuration options. You can interact with the UCI system using two different UCI interfaces: one is the web interface, LUCI, and the other is the command line interface uci.
In each case, changes to the UCI options are written to a group of files located in /etc/config. The list of files looks like this:
# ls -l /etc/config -rw-r--r-- 1 root root 724 Mar 16 22:33 dhcp -rw-r--r-- 1 root root 743 Mar 3 07:48 dhcp.backup -rw-r--r-- 1 root root 1124 Mar 3 09:32 dhcp.old -rw-r--r-- 1 root root 62 Oct 1 2014 dropbear -rw-r--r-- 1 root root 2024 Mar 3 06:25 firewall -rw-r--r-- 1 root root 151 Oct 1 2014 fstab -rw-r--r-- 1 root root 624 Oct 1 2014 luci -rw-r--r-- 1 root root 449 Mar 16 22:31 network -rw-r--r-- 1 root root 685 Mar 16 22:31 network.old -rw-r--r-- 1 root root 677 Oct 1 2014 system -rw-r--r-- 1 root root 0 Oct 1 2014 ubootenv -rw-r--r-- 1 root root 717 Sep 20 2014 ucitrack -rw------- 1 root root 635 Oct 1 2014 uhttpd -rw-r--r-- 1 root root 374 Mar 3 12:08 wireless