As part of LuCI there is a JSON-RPC interface which can be used to configure OpenWrt. With the uci-package you can easily read/write/apply/commit uci related things.
http://luci.subsignal.org/trac/wiki/Documentation/JsonRpcHowTo On 04/27/2012 11:41 AM, Xiangfu Liu wrote: > Hi > > I am think use only curl to configure OpenWrt. > > like: > for get wireless list > curl http://192.168.0.1/cgi-bin/luci/admin/network/wireless/ > for connect to one of them: > curl > http://192.168.0.1/cgi-bin/luci/admin/network/wireless/SSID=ssid;PW=passwd > > > I don't know much about 'lua', please give me some advice. > > Thanks > Xiangfu > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel