Hi,
yeah right - made a mistake. The first argument to ubus.connect() is the
socket path and the second one is the timeout in ms.
Pass nil as 1st arg to use the default path and the desired timeout as
2nd one:
conn = ubus.connect(nil, 1000)
~ Jow
>
> On Fri, Nov 20, 2015 at 6:58 PM,
Hi.
> I am trying to call a function registered on ubus from lua script. I
> know how to call a argument less function but don't know the syntax of a
> function with args (also how to add ubus timeout).
Simply pass a table with your arguments as 3rd argument:
conn:call(object, function, {
When fixing the model string for WNDR3700v2 which contain a model string
followed by 0xff in r46455, the match for other versions of the WNDR3700v2
which just contain lots of 0xff broke (as the 0xff $model is checked for
is stripped off).
Fix by stripping off non-printable characters only for the
conn = ubus.connect(1000)
gives me following error:
attempt to index local 'conn' (a nil value)
On Fri, Nov 20, 2015 at 6:58 PM, Jo-Philipp Wich wrote:
> Hi.
>
> > I am trying to call a function registered on ubus from lua script. I
> > know how to call a argument less
Hi,
Is there any API documentation of ubus available?
If yes, where can i found those?
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
On Thu, Nov 19, 2015 at 03:41:10PM +0100, Hans Dedecker wrote:
> On Thu, Nov 19, 2015 at 2:39 PM, Steven Barth wrote:
>
> > I don't see this argument as very convincing. I mean they still have
> > control even if the client ORO's 121, they could simply ignore it. On top
> > of
Hi,
I am trying to call a function registered on ubus from lua script. I know
how to call a argument less function but don't know the syntax of a
function with args (also how to add ubus timeout).
My lua script snippet:
require "ubus"
local conn = ubus.connect()
local status_1 =
---
target/linux/bcm53xx/image/Makefile| 14 +++
.../910-ARM-BCM5301X-Add-DT-for-Huawei-WS880.patch | 115 +
.../910-ARM-BCM5301X-Add-DT-for-Huawei-WS880.patch | 115 +
3 files changed, 244 insertions(+)
create mode 100644
Strigng passed to autoprobing script should match
module's name. Currently that string is missing trailing "u".
With that change mt7601u driver really gets autoloaded on
USB Wi-Fi dongle insertion:
-->8---
[0.93] hub 2-0:1.0: USB hub found
[0.94] hub
it ends up as $(2) of CatFiles and must be a plain decimal value.
Signed-off-by: Günther Kelleter
---
target/linux/ar71xx/image/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/ar71xx/image/Makefile
Signed-off-by: Günther Kelleter
---
This patch adds kernel and basic userspace support for a new devolo device:
dLAN Hotspot
target/linux/ar71xx/base-files/etc/diag.sh | 3 +
.../ar71xx/base-files/etc/uci-defaults/01_leds | 4 +
Hi Felix, Jonas,
On Tue, 2015-11-17 at 16:47 +0300, Alexey Brodkin wrote:
> Hi Felix, Jonas,
>
> On Fri, 2015-11-13 at 21:39 +0300, Alexey Brodkin wrote:
> > This patch introduces support of new boards with ARC cores.
> >
> > [1] Synopsys SDP board
> > This is a new-generation development
Using ldd (via popen()) is a hack, but it's simpler (and working)
we have 3 libc and many archs, too many ways to resolve .so
Current code:
-do not parse the intepreter (PT_INTERP) part of the elf
-do not get the library path priority right (/lib64 is before /lib,
musl take the libs in /lib even
Signed-off-by: Etienne CHAMPETIER
---
jail/jail.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/jail/jail.c b/jail/jail.c
index 56dc9ca..08babde 100644
--- a/jail/jail.c
+++ b/jail/jail.c
@@ -272,7 +272,7 @@ static int exec_jail()
From: Baptiste Jonglez
This option is useful when the gateway configured by DHCP cannot be in
the same subnet as the client. This happens, for instance, when using
DHCP to hand out addresses in /32 subnets.
A new configuration option "classlessroute" is available,
Applied in r47538 - thank you!
~ Jow
signature.asc
Description: OpenPGP digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
16 matches
Mail list logo