View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000169 | easycwmp | Question | public | 2016-10-25 16:57 | 2016-10-26 09:54 |
Reporter | alicher | Assigned To | mohamed.kallel | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
OS | Linux Mint | OS Version | 18 | ||
Summary | 0000169: Can't usbus notify | ||||
Description | I can't notify by call: user@user ~ $ ubus call tr069 notify { "parameter": "Device.DeviceInfo.Manufacturer", "value": "test" } Return: Failed to connect to ubus But usbusd is running: user@user ~ $ sudo ubusd -s /var/run/ubus.sock And easycwmp is running too: user@user ~ $ sudo /usr/sbin/easycwmpd -f -b 2016-10-25 17:31:32 [easycwmp] NOTICE - add event '0 BOOTSTRAP' 2016-10-25 17:31:32 [easycwmp] NOTICE - add event '1 BOOT' 2016-10-25 17:31:32 [easycwmp] NOTICE - add event '2 PERIODIC' 2016-10-25 17:31:32 [easycwmp] NOTICE - external script init config_init_local(55):: easycwmp.@local[0].interface=eth0 config_init_local(65):: easycwmp.@local[0].port=7547 config_init_local(83):: easycwmp.@local[0].ubus_socket=/var/run/ubus.sock config_init_local(71):: easycwmp.@local[0].username=easycwmp config_init_local(77):: easycwmp.@local[0].password=easycwmp config_init_local(94):: easycwmp.@local[0].logging_level=3 config_init_acs(159):: easycwmp.@acs[0].url=http://192.168.1.3:8080/openacs/acs config_init_acs(165):: easycwmp.@acs[0].username=easycwmp config_init_acs(171):: easycwmp.@acs[0].password=easycwmp config_init_acs(177):: easycwmp.@acs[0].periodic_enable=1 config_init_acs(183):: easycwmp.@acs[0].periodic_interval=100 config_init_acs(190):: easycwmp.@acs[0].periodic_time=0001-01-01T00:00:00Z 2016-10-25 17:31:32 [easycwmp] NOTICE - init periodic inform: reference time = -62135605817, interval = 100 2016-10-25 17:31:32 [easycwmp] NOTICE - external: execute update_value_change 2016-10-25 17:31:32 [easycwmp] NOTICE - daemon started 2016-10-25 17:31:32 [easycwmp] NOTICE - external: execute inform device_id 2016-10-25 17:31:32 [easycwmp] NOTICE - external script exit 2016-10-25 17:31:32 [easycwmp] NOTICE - add event '1 BOOT' +++ HTTP SERVER CONFIGURATION +++ NOT BOUND TO IP port: '7547' --- HTTP SERVER CONFIGURATION --- 2016-10-25 17:31:32 [easycwmp] NOTICE - http server initialized 2016-10-25 17:31:32 [easycwmp] NOTICE - entering main loop 2016-10-25 17:31:32 [easycwmp] NOTICE - start session +++ HTTP CLIENT CONFIGURATION +++ http_client_init(50):: url: http://192.168.1.3:8080/openacs/acs http_client_init(56):: ssl_verify: SSL certificate validation disabled. --- HTTP CLIENT CONFIGURATION --- 2016-10-25 17:31:32 [easycwmp] NOTICE - configured acs url http://192.168.1.3:8080/openacs/acs 2016-10-25 17:31:32 [easycwmp] NOTICE - external script init 2016-10-25 17:31:32 [easycwmp] NOTICE - external: execute inform parameter 2016-10-25 17:31:32 [easycwmp] NOTICE - send Inform +++ SEND HTTP REQUEST +++ | ||||
Tags | No tags attached. | ||||
e-mail notification | |||||
|
for the ubus call notify, you do not have to specify the parameter neither the value, you have just to call: sudo ubus call tr069 notify And then it's up to the easycwmp to detect if any paramarmeter has changed. For you issue of ubus command failing, please execute the command sudo ubus call -v list and share your output. It's recommanded to execute all ubusd, ubus and easycwmp under root (su) and not with sudo |
|
Thanks! Very simple :) |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-25 16:57 | alicher | New Issue | |
2016-10-25 18:31 | mohamed.kallel | Note Added: 0000560 | |
2016-10-25 18:32 | mohamed.kallel | Note Edited: 0000560 | |
2016-10-26 08:55 | alicher | Note Added: 0000562 | |
2016-10-26 09:54 | mohamed.kallel | Status | new => resolved |
2016-10-26 09:54 | mohamed.kallel | Resolution | open => fixed |
2016-10-26 09:54 | mohamed.kallel | Assigned To | => mohamed.kallel |