Hi all, When i change
System -> System -> Logging -> Log output level
Why luci did not restart the syslog daemon?
thanks all,
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-dev
Hi all,
The luci have this function? get status(include
ipaddr,netmask,gatway) by interface? Like get_wannet () this function.
function get_status_by_interface(input interface)
thanks all,
___
openwrt-devel mailing list
openwrt-devel@
Hi I have question about auto logout.
When my page in the execution XHR.poll, auto logout no effect, and this is
normal or can be modified.
Where this code?
thanks all!
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.ope
Hi all, I have two sections, the following program,
s2 = m:section(TypedSection, "codemanage", translate("Change code"))
s2.anonymous = true
s2.addremove = false
function s2.cfgsections()-> when i
add cfgsections,depends unavailable!
Hi all,
How to perform if I need to set completed need to re-load the model
page?
Because some values will not change on model page!
thanks all,
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mai
Hi all, Such as pictures of the attachment!
I want to show the execution status in function "o.write" when I execute my
C API ?
When the C API implementation of the latter will auto perform a save config
and will display as attached status.
Because when execution C API function there is a delay ti
Hi all,
How to gray out in the UI on a object, the like option Value, or
option ListValue object?(gray out means users can see input text but can
not change any values)
In luci model, Have gray out design can use it?
thanks,
___
openwrt
hi all, If the field does not enter a value, how can display a warning
message("You must enter a value") !
code = s:option(Value, "code", translate("Code"))
code.password = true
thanks all,
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.
Hi all, Why I can not get "pinpro" value? I got empty!
/etc/config/verify
config pin
option pincode1 '1'
option oldcode '11'
option protect 'disable'
In the model/cbi
function code.write(self, section, value)
local pinpro = m.uci:get("verify", "pin", "protect")
--
thank you Jow!
2013/1/4 Jo-Philipp Wich
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi.
>
> > how to get the value of the option name? Can i use foreach? follow
> > is my program [...]
>
> m.uci:foreach("dhcp", "host",
> function(section)
> profile:value(section['name'])
>
hi all , The following is my dhcp config
config host
option name 'q'
option mac '64:31:50:93:f5:2c'
option ip '192.168.11.123'
config host
option name 'w'
option mac '64:31:50:93:f5:2c'
option ip '192.168.11.124'
how to get the value of the option
Forget it!
bye!
2012/12/21 Bastian Bittorf
> * . Elvis [21.12.2012 09:58]:
> > my .config
>
> first: this is devel here, so switch to a recent build, yours is ~3 month
> old.
>
> analysis:
> so you choosed: japanese, english, chinese
Are using LuCI? Yes
have you installed the language files? Yes
There are many *. lmo file under the path /usr/lib/lua/luci/i18n/ !
thanks
2012/12/21 Bastian Bittorf
> * . Elvis [21.12.2012 08:54]:
> > When I select other languages, why not change?
>
> Are using L
hi all,
When I select other languages, why not change?
thanks all
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Sorry, Can i find some sample code in openwrt? I still do not have the idea?
thanks
2012/12/20 Manuel Munz
> On 20.12.2012 11:16, . Elvis wrote:
> > hi all, How to achieve multiple languages in html(templete/view)?
> > or can use i18n to achieve in html?
> >
hi all, How to achieve multiple languages in html(templete/view)?
or can use i18n to achieve in html?
example: <%:Restore
backup%>:
how to translate (Restore backup) wording to different language!
thanks all
I added a print, but in my browser development tools do not see any
messages(no error), just want to know the "%s" value.
thank you again!
elvis
2012/12/8 David Favro
> On 12/07/2012 05:04 AM, . Elvis wrote:
>
>> i want print follow command "%s",how to do
Hi all ,
i want print follow command "%s",how to do print?
return os.execute("/sbin/luci-reload %s >/dev/null 2>&1"
% table.concat(configlist, " "))
thanks all!
elvis
___
Hi all,
I do not understand the UI is how to call /usr/lib/lua/luci/cbi.lua in
Map.set stored value?
Lua is on which side to execute script restart service?
thanks all,
elvis
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https
thank you ynezz!!
elvis
2012/12/4 Petr Štetiar
> . Elvis [2012-12-03 10:28:25]:
>
> > Hi all,
> >
> > when i add above
> >
> > 'print("hello")' in /usr/lib/lua/luci/model/uci.lua
>
> You need to define it first at the to
Hi jow,
In the UI when I press sava & apply, submit type will go to perform which
function or shell to save value?
I can not find the place of the stored-value?
thank you again!!!
elvis
2012/11/30 Jo-Philipp Wich
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi.
&
ption:
/usr/lib/lua/luci/model/uci.lua:71: attempt to call global 'print' (a nil
value)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:448: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:195: in function
w
Hi all ,
luci is how to carry out the action and save the settings from UI to linux,
it ipc how architecture?
thanks all!
elvis
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
23 matches
Mail list logo