Fwd: GenieACS with Cable Modem....

Chris Wang chris.wh.wang at gmail.com
Wed Mar 23 23:25:14 EDT 2016


Hi Chia/Agustin,

Thank you for your answer.


   1.  According to "https://github.com/zaidka/genieacs/issues/26" , it
   looks can support TR-181.
   2.  I follow Agustin's suggest to capture of traffic with wireshark, i
   got message whan i set parametervaluse to DUT.

   *Wireshark Message:*

   *Server:*
   GET / HTTP/1.1
   Host: 192.168.7.110:7547
   Connection: keep-alive

   *DUT:*
   HTTP/1.1 401 Unauthorized
   Content-Length: 0
   WWW-Authenticate: Digest realm="IgdAuthentication", domain="/",
   nonce="ZWY0MmU3ODA6IDRmMDUwMDA6OGJjM2RlNDA=", qop="auth", algorithm=MD5

   *Server:*
   GET / HTTP/1.1
   Authorization: Digest
   username="aaa",realm="IgdAuthentication",nonce="ZWY0MmU3ODA6IDRmMDUwMDA6OGJjM2RlNDA=",uri="/",algorithm=MD5,qop=auth,nc=00000001,cnonce="0a4f113b",response="2fbc63eaad534e4940525c6392e0c0bb",opaque="undefined"
   Host: 192.168.7.110:7547
   Connection: keep-alive

   *DUT:*
   HTTP/1.1 200 OK
   Content-Length: 0



*In my config/auth.js : *
   exports.connectionRequest = function(deviceId) {
     // return username/password pair for a given device
     return ["aaa", "aaa"];
   }

* In DUT console:*

   TR-069 Thread:
   -------------
           Thread state:       Client Running
           Provision Method:   DHCPv4 Options
           Debug Level:        0
           IP stack:           3
           IP address:         192.168.7.110
           MAC Address:        11:27:72:85:bd:b1
           ACS Listen Port:    7547
           ACS Connection URL: http://172.21.2.234:7547/
           ACS Username:       647C34-DVW32CB-11277285BDB1
           ACS Password:       aaa
           Con Req Username:   aaa
           Con Req Password:   aaa
           Periodic Inform Enable:   1
           Periodic Inform Iterval:  30
           CWMP version:             urn:dslforum-org:cwmp-1-3
           CA Root Cert 1:           0
           CA Root Cert 1 Enabled:   0
           CA Root Cert 2:           0
           CA Root Cert 2 Enabled:   0

   What i need to set the parameters of GenieACS server?

*Best Regards,*
*Chris Wang.*

2016-03-23 20:50 GMT+08:00 Agustín Bertamoni <abertamoni at stechs.com.ar>:

> Chia/Chis
> TR-181 is the Device Data Model and this parameters must be configured via
> TR-069. The problem seems the name of attribute, first enable debug in ACS
> for this device (CM) restart the ACS and device. Then in debug file you can
> search the name of the attr. Other option is make a capture of traffic with
> tcpdump or tcpflow..
> I hope it has been helpful and I hope your answers.
> BR
>
> STECHS - Ing. Agustin Bertamoni
> Móvil: (+54911) 62183226
> Skype: abertamoni-stechs
> Av. Boyacá 372 Piso 4º Oficina 401 (C1406BHF)
> Buenos Aires, Argentina
>
> On Wed, Mar 23, 2016 at 7:58 AM, Chia-Ching Hung <hchiaching at gmail.com>
> wrote:
>
>> Hi, Chris.
>>
>> I think you are using TR-181. But as I known, genieacs did not support
>> TR-181 by default. I'm also not sure it can support TR-181 if we do
>> something else from the configuration of genieacs.
>> 2016年3月23日 18:35於 "Chris Wang" <chris.wh.wang at gmail.com>寫道:
>>
>>> Hi All,
>>>
>>> Sorry, i got another problem.
>>>
>>>
>>>    1. I add some parameters in genieacs/config/parameters.json and (npm
>>>    run compile and reboot)
>>>
>>>   "Device.Ethernet.Link./[0-9]+/.MACAddress" : {"alias" : "summary.mac",
>>> "type" : "mac"},
>>>   "Device.DeviceInfo.Description": {"alias" : "summary.desc"},
>>>   "Device.WiFi.SSID./[0-9]+/.SSID" : {"alias" : "summary.wifissid"}
>>>
>>>       2. I did command as below:
>>> curl -i '
>>> http://127.0.0.1:7557/devices/647C34-DVW32CB-30F77285BDB1/tasks?timeout=3000&connection_request'
>>> \
>>> > -X POST \
>>> > --data '{ "name": "setParameterValues", "parameterValues":
>>> [["Device.WiFi.SSID.10001.SSID","1234567890"]] }'
>>> HTTP/1.1 200 OK
>>> Content-Type: application/json
>>> Date: Wed, 23 Mar 2016 10:15:29 GMT
>>> Connection: keep-alive
>>> Transfer-Encoding: chunked
>>>
>>> {"name":"setParameterValues",*"parameterValues":[]*
>>> ,"device":"647C34-DVW32CB-30F77285BDB1","timestamp":"2016-03-23T10:15:28.247Z","_id":"56f26cc0a8e33d6704399737"}
>>>
>>>
>>> *I don't know why the parameterValues is null and no any change on Cable
>>> Modem.  *
>>>
>>> In Cable Modem Console:
>>> -------------------- Walking TR-069 Tree --------------------
>>>
>>>  Device.WiFi.SSID.10001.Enable                                 = <true>
>>>  Device.WiFi.SSID.10001.Status                                 = <Up>
>>>  Device.WiFi.SSID.10001.Alias                                  = <>
>>>  Device.WiFi.SSID.10001.Name                                   =
>>> <wlan0.1>
>>>  Device.WiFi.SSID.10001.LowerLayers                            =
>>> <Radio.10000>
>>>  Device.WiFi.SSID.10001.BSSID                                  =
>>> <10:17:72:85:bd:b4>
>>>  Device.WiFi.SSID.10001.MACAddress                             =
>>> <10:17:72:85:bd:b4>
>>>  Device.WiFi.SSID.10001.SSID                                   =
>>> <WIFID46C98-lv>
>>>
>>> Please  give me some way to solve issue.
>>> Thanks for your answer.
>>>
>>> *Best Regards,*
>>> *Chris Wang.*
>>> --
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.genieacs.com
>>> http://lists.genieacs.com/mailman/listinfo/users
>>>
>>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.genieacs.com
>> http://lists.genieacs.com/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20160324/09e804de/attachment.html>


More information about the Users mailing list