On 27/04/12 12:11, Mirko Vogt wrote:
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

BTW, the links in the UVL section are broken:
http://luci.subsignal.org/api/luci/modules/luci.uvl.html gives a 404

Chris



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


--
Christian Gagneraud,
Embedded systems engineer.
Techworks Marine
1 Harbour road
Dun Laoghaire
Co. Dublin
Ireland
Tel: + 353 (0) 1 236 5990
Web: http://www.techworks.ie/
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to