[luci] developing a service for Luci

Omer Munchik Omer.Munchik at alvarion.com
Thu Oct 2 14:03:50 CEST 2014


Thanks,
I have never written such a web-application.
Could you suggest how to go about it? The idea is for a command line interface application.

Thanks,
Omer



-----Original Message-----
From: luci-bounces at lists.subsignal.org [mailto:luci-bounces at lists.subsignal.org] On Behalf Of Christian Schoenebeck
Sent: יום ה 02 אוקטובר 2014 14:12
To: luci at lists.subsignal.org
Subject: Re: [luci] developing a service for Luci

Am 02.10.2014 um 09:33 schrieb Omer Munchik:
> Hi,
> 
> I am new to this mailing list J
> 
> 
> I would like to develop a Command line "tech support" feature for Luci server.
> 
> The idea is that the user will run something like:
>   >  wget 192.168.1.1/tech_support.tar.gz   (192.168.1.1 is the IP of the OpenWRT machine)
> 
>  
> 
> this will initiate a script that will create "tech_support.tar.gz" to contain all sort of configuration files and download it.
> "tech_support.tar.gz" does not exist, I want it to be created when running wget.
> 
> How can something like this be implemented?
> 
> thanks!
> 
>  
> 
> Omer
> 
>  
> 
> 
> 
> ************************************************************************************
> This footnote confirms that this email message has been scanned by
> PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses(42).
> ************************************************************************************
> 
> 
> _______________________________________________
> luci mailing list
> luci at lists.subsignal.org
> https://lists.subsignal.org/mailman/listinfo/luci
> 
The functionality inside LuCI->System->Backup/Flash is not enough ?
You can configure what ever file or directory to be saved !

If you want to initiate from remote you need to write your own WEB application.
LuCI is the WEB interface based on lua language using a HTTP server to display to browser,
not a server/service like sshd or samba or ftp or WEB Server. 
You need to write a WEB application (possibly using lua language and parts of LuCI's libraries and objects).

_______________________________________________
luci mailing list
luci at lists.subsignal.org
https://lists.subsignal.org/mailman/listinfo/luci

************************************************************************************ 
This footnote confirms that this email message has been scanned by 
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses(100). 
************************************************************************************



************************************************************************************ 
This footnote confirms that this email message has been scanned by 
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses(42). 
************************************************************************************



************************************************************************************ 
This footnote confirms that this email message has been scanned by 
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses(42). 
************************************************************************************




More information about the luci mailing list