Introduction

TR-069 is a technical specification that defines an application layer protocol for remote management of end-user devices. It was published by the Broadband Forum and was entitled CPE WAN Management Protocol (CWMP). It provides the communication between CPE and Auto Configuration Servers (ACS). An ACS can manage a device, trouble shoot, configure, upgrade etc. TR-69 uses common web protocols such as HTTP, TCP-IP, SOAP, XML-RPCs to exchange information.

GenieACS Server and Client Rpi communication

The CPE is responsible for establishing the session to the server. The CPE keeps sending HTTP POST requests during the session. The session is closed as soon as both CPE & GenieACS  have indicated that they have nothing more to send (response or new RPC)

 


GenieACS Server 

Ensure the GenieACS Server Setup is launched and running to establish the Client-Server communication
GenieACS server home page:

Test Procedure

Client RPI set-up

Steps to be followed:

  1. Flash the RDK-Broadband image where the Tr069 Protocol Agent is enabled

  2. Check for the CcspTr069PaSsp is active and listening to port 7547



  3. Then, set the parameters,

    $  dmcli eRT setv Device.ManagementServer.EnableCWMP bool true
    
    $  dmcli eRT setv Device.ManagementServer.URL string http://10.78.151.40:7547/
    
    $  dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_Syndication.TR69CertLocation string "/etc/cacert.pem"


    Following are the parameters needed to be checked for TR69

    Parameter Name Expected Value
    Device.ManagementServer.EnableCWMPtrue
    Device.ManagementServer.URLACS Server URL:  http://10.78.151.40:7547/
    Device.DeviceInfo.X_RDKCENTRAL-COM_Syndication.TR69CertLocation/etc/cacert.pem

    Now, from the GenieACS Server try to fetch the Connected Devices details

GenieACS Server Login & Initial check

  1. Visit the GenieACS Server page

  2. Click on "Devices" that displays the connected devices information and the device parameters available


Limitations

Only Basic communication has been enabled, GPV, SPV, GPN and others will be achieved further



  • No labels

36 Comments

  1. I follow steps and my raspberry pi still not shows on my GenieACS Server.

    It shows lots of "CcspManagementServer_RegisterWanInterface failed to get pFirstUpstreamIpAddress" in TR69log.

    1. Hi Z-Arthur Huang 

      Could you please confirm the below dmcli are set properly in your device

      dmcli eRT setv Device.ManagementServer.EnableCWMP bool false
      dmcli eRT setv Device.ManagementServer.URL string "<URL/IP of ACS Server"
      dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_Syndication.TR69CertLocation string /etc/cacert.pem
      dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.AllowOpenPorts.Enable bool true
      dmcli eRT setv Device.ManagementServer.EnableCWMP bool true
      1. Yes, I followed instructions to set up.

        It still showing "CcspManagementServer_RegisterWanInterface failed to get pFirstUpstreamIpAddress".

        Another question is about example. Why Device.DeviceInfo.X_RDKCENTRAL-COM_Syndication.TR69CertLocation is set for HTTP Device.ManagementServer.URL?

        By the way, My platform is raspberry 3B+

        1. Hi Z-Arthur Huang 

          TR69CertLocation is set to /etc/cacert.pem.
          cacert.pem is for to store trusted certificates which are needed for Verify ACS Sever and secure communication with ACS server.

          1. I am still getting warning.

            220429-09:48:33.577749 [mod=TR69, lvl=WARN] [tid=30219] CcspManagementServer_GetURL -#- ManagementServerURLID_PSM: https://192.168.99.117:7547
            220429-09:48:33.580379 [mod=TR69, lvl=WARN] [tid=30219] InitialContact read from PSM is: <TRUE>
            220429-09:48:33.580563 [mod=TR69, lvl=WARN] [tid=30219] bInitialContact switched to <TRUE> as MgmtCRPwdID was missing
            220429-09:48:33.582860 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.583039 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.585237 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.585398 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.587524 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.587681 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.601982 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.602182 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.616723 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.616929 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.631889 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.632094 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.646310 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.646512 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.661013 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.661212 [mod=TR69, lvl=WARN] [tid=30219] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
            220429-09:48:33.861300 [mod=TR69, lvl=WARN] [tid=2112] CcspManagementServer_RegisterWanInterface failed to get pFirstUpstreamIpAddress

            1. Hi Z-Arthur Huang 

              Could you please share us the dmcli eRT getv Device.ManagementServer. output.

              1. Hi Deepika Ganapathi Bhat ,


                root@RaspberryPi-Gateway:~# dmcli eRT getv Device.ManagementServer. output.
                CR component name is: eRT.com.cisco.spvtg.ccsp.CR
                subsystem_prefix eRT.
                getv from/to component(eRT.com.cisco.spvtg.ccsp.lmlite): Device.ManagementServer.
                Execution fail(error code:CCSP_ERR_INVALID_PARAMETER_NAME(9005)).

                getv from/to component(eRT.com.cisco.spvtg.ccsp.tr069pa): Device.ManagementServer.
                Execution succeed.
                Parameter    1 name: Device.ManagementServer.EnableCWMP
                               type:       bool,    value: true
                Parameter    2 name: Device.ManagementServer.URL
                               type:     string,    value: https://192.168.99.117:7547
                Parameter    3 name: Device.ManagementServer.Username
                               type:     string,    value: FFFFFF-XB3- 0000000021bf946d
                Parameter    4 name: Device.ManagementServer.Password
                               type:     string,    value: 158aa79884d339ef56d36ee433b470622b060dac5fa3a8e54bfc9261e903d04a
                Parameter    5 name: Device.ManagementServer.PeriodicInformEnable
                               type:       bool,    value: true
                Parameter    6 name: Device.ManagementServer.PeriodicInformInterval
                               type:       uint,    value: 150
                Parameter    7 name: Device.ManagementServer.PeriodicInformTime
                               type:   dateTime,    value: 2022-04-29T00:00:00Z
                Parameter    8 name: Device.ManagementServer.ParameterKey
                               type:     string,    value:
                Parameter    9 name: Device.ManagementServer.ConnectionRequestURL
                               type:     string,    value:
                Parameter   10 name: Device.ManagementServer.ConnectionRequestUsername
                               type:     string,    value: FFFFFF-XB3- 0000000021bf946d
                Parameter   11 name: Device.ManagementServer.ConnectionRequestPassword
                               type:     string,    value:
                Parameter   12 name: Device.ManagementServer.ACSOverride
                               type:       bool,    value: false
                Parameter   13 name: Device.ManagementServer.UpgradesManaged
                               type:       bool,    value: false
                Parameter   14 name: Device.ManagementServer.X_CISCO_COM_DiagComplete
                               type:       bool,    value: false
                Parameter   15 name: Device.ManagementServer.KickURL
                               type:     string,    value:
                Parameter   16 name: Device.ManagementServer.DownloadProgressURL
                               type:     string,    value:
                Parameter   17 name: Device.ManagementServer.DefaultActiveNotificationThrottle
                               type:       uint,    value: 30
                Parameter   18 name: Device.ManagementServer.CWMPRetryMinimumWaitInterval
                               type:       uint,    value: 5
                Parameter   19 name: Device.ManagementServer.CWMPRetryIntervalMultiplier
                               type:       uint,    value: 2000
                Parameter   20 name: Device.ManagementServer.UDPConnectionRequestAddress
                               type:     string,    value:
                Parameter   21 name: Device.ManagementServer.UDPConnectionRequestAddressNotificationLimit
                               type:       uint,    value: 0
                Parameter   22 name: Device.ManagementServer.STUNEnable
                               type:       bool,    value: false
                Parameter   23 name: Device.ManagementServer.STUNServerAddress
                               type:     string,    value:
                Parameter   24 name: Device.ManagementServer.STUNServerPort
                               type:       uint,    value: 3478
                Parameter   25 name: Device.ManagementServer.STUNUsername
                               type:     string,    value:
                Parameter   26 name: Device.ManagementServer.STUNPassword
                               type:     string,    value:
                Parameter   27 name: Device.ManagementServer.STUNMaximumKeepAlivePeriod
                               type:        int,    value: 30
                Parameter   28 name: Device.ManagementServer.STUNMinimumKeepAlivePeriod
                               type:       uint,    value: 5
                Parameter   29 name: Device.ManagementServer.NATDetected
                               type:       bool,    value: false
                Parameter   30 name: Device.ManagementServer.AliasBasedAddressing
                               type:       bool,    value: false
                Parameter   31 name: Device.ManagementServer.X_CISCO_COM_ConnectionRequestURLPort
                               type:     string,    value: 7547
                Parameter   32 name: Device.ManagementServer.X_CISCO_COM_ConnectionRequestURLPath
                               type:     string,    value:
                Parameter   33 name: Device.ManagementServer.AutonomousTransferCompletePolicy.Enable
                               type:       bool,    value: false
                Parameter   34 name: Device.ManagementServer.AutonomousTransferCompletePolicy.TransferTypeFilter
                               type:     string,    value:
                Parameter   35 name: Device.ManagementServer.AutonomousTransferCompletePolicy.ResultTypeFilter
                               type:     string,    value:
                Parameter   36 name: Device.ManagementServer.AutonomousTransferCompletePolicy.FileTypeFilter
                               type:     string,    value:
                Parameter   37 name: Device.ManagementServer.DUStateChangeComplPolicy.Enable
                               type:       bool,    value: false
                Parameter   38 name: Device.ManagementServer.DUStateChangeComplPolicy.OperationTypeFilter
                               type:     string,    value:
                Parameter   39 name: Device.ManagementServer.DUStateChangeComplPolicy.ResultTypeFilter
                               type:     string,    value:
                Parameter   40 name: Device.ManagementServer.DUStateChangeComplPolicy.FaultCodeFilter
                               type:     string,    value:


                Regards,

                Arthur

          2. Hi Deepika Ganapathi Bhat ,

            I also get another error message after boot up the device, is this correct?

            [mod=TR69, lvl=ERROR] [tid=4566] TR-069 PA failed to get ACS facing WAN IP address from PaM!

            1. Hi Z-Arthur Huang 

              Parameter    9 name: Device.ManagementServer.ConnectionRequestURL
                             type:     string,    value:

              connectionRequestURL is empty which is causing this failure ,Could you please check this parameter .

              1. Hi, Deepika Ganapathi Bhat ,

                It's a read-only parameter, I can't set the value.

                CR component name is: eRT.com.cisco.spvtg.ccsp.CR
                subsystem_prefix eRT.
                setv from/to component(eRT.com.cisco.spvtg.ccsp.tr069pa): Device.ManagementServer.ConnectionRequestURL
                Execution fail(error code:CCSP_ERR_NOT_WRITABLE(9008)). 

                1. Hi Z-Arthur Huang 

                  Created RDKBSUP-678 - Getting issue details... STATUS to track this issue. Please let us know if you don't have access.

                  1. Hi Deepika Ganapathi Bhat ,

                    It shows "

                    You can't view this issue

                    It may have been deleted or you don't have permission to view it.

                    "

                    1. Hello, sorry for getting into your conversation and I know it's been a few months, but the exact same problem is happening to me, was there a solution? Thanks in advance

  2. Logs of the TR069 client return the following and I am not able to see the device in the genie acs url

    220629-02:01:44.213649 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PaSsp_GetTr069CertificateLocationForSyndication 572 - Syndication TR69CertLocation /etc/cacert.pem
    220629-02:01:44.213854 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PaSsp_GetTr069CertificateLocationForSyndication 600 - Syndication TR69CertLocation : /etc/cacert.pem
    220629-02:01:44.215867 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PaSsp_JSON_GetItemByName: Device.DeviceInfo.X_RDKCENTRAL-COM_Syndication.TR69ACSConnectURL = https://acswg.g.comcast.net/cwmpWeb/DigestCPEMgt?target=/CPEMgt
    220629-02:01:44.681617 [mod=TR69, lvl=WARN] [tid=1806] InstanceMapper loading...
    220629-02:01:44.681744 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper...
    220629-02:01:44.681828 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper map Device.WiFi.SSID has 16 maps
    220629-02:01:44.681910 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10001 to DmInt 1
    220629-02:01:44.681993 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10002 to DmInt 3
    220629-02:01:44.682068 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10003 to DmInt 5
    220629-02:01:44.682139 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10004 to DmInt 7
    220629-02:01:44.682226 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10005 to DmInt 9
    220629-02:01:44.682306 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10006 to DmInt 11
    220629-02:01:44.682376 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10007 to DmInt 13
    220629-02:01:44.682455 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10008 to DmInt 15
    220629-02:01:44.682538 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10101 to DmInt 2
    220629-02:01:44.682631 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10102 to DmInt 4
    220629-02:01:44.682710 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10103 to DmInt 6
    220629-02:01:44.682783 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10104 to DmInt 8
    220629-02:01:44.682854 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10105 to DmInt 10
    220629-02:01:44.682933 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10106 to DmInt 12
    220629-02:01:44.683015 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10107 to DmInt 14
    220629-02:01:44.683091 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10108 to DmInt 16
    220629-02:01:44.683168 [mod=TR69, lvl=WARN] [tid=1806] InstanceMap1 childNodeQueue depth: 33
    220629-02:01:44.683239 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper...
    220629-02:01:44.683314 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper map Device.WiFi.AccessPoint has 16 maps
    220629-02:01:44.683393 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10001 to DmInt 1
    220629-02:01:44.683460 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10002 to DmInt 3
    220629-02:01:44.683524 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10003 to DmInt 5
    220629-02:01:44.683588 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10004 to DmInt 7
    220629-02:01:44.683662 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10005 to DmInt 9
    220629-02:01:44.683743 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10006 to DmInt 11
    220629-02:01:44.683826 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10007 to DmInt 13
    220629-02:01:44.683909 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10008 to DmInt 15
    220629-02:01:44.683974 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10101 to DmInt 2
    220629-02:01:44.684043 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10102 to DmInt 4
    220629-02:01:44.684108 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10103 to DmInt 6
    220629-02:01:44.684170 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10104 to DmInt 8
    220629-02:01:44.684233 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10105 to DmInt 10
    220629-02:01:44.684296 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10106 to DmInt 12
    220629-02:01:44.684420 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10107 to DmInt 14
    220629-02:01:44.684497 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10108 to DmInt 16
    220629-02:01:44.684572 [mod=TR69, lvl=WARN] [tid=1806] InstanceMap2 childNodeQueue depth: 33
    220629-02:01:44.684647 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper...
    220629-02:01:44.684733 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper map Device.WiFi.Radio has 2 maps
    220629-02:01:44.684806 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10000 to DmInt 1
    220629-02:01:44.684870 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_LoadInstanceMapper Cwmp 10100 to DmInt 2
    220629-02:01:44.684930 [mod=TR69, lvl=WARN] [tid=1806] InstanceMap3 childNodeQueue depth: 5
    220629-02:01:45.074098 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_MapInstNumCwmpToDmInt - Device.WiFi.SSID.10002.Enable -> Device.WiFi.SSID.3.Enable
    220629-02:01:45.074438 [mod=TR69, lvl=WARN] [tid=1806] CcspTr069PA_MapInstNumDmIntToCwmp - Device.WiFi.SSID.4.Enable -> Device.WiFi.SSID.10102.Enable
    220629-02:01:45.090489 [mod=TR69, lvl=ERROR] [tid=1806] TR-069 PA mapper file </fss/gw/usr/ccsp/tr069pa/ccsp_tr069_pa_mapper.xml> has been loaded!
    220629-02:01:45.090972 [mod=TR69, lvl=WARN] [tid=1806] DBus is enabled
    220629-02:01:45.638473 [mod=TR69, lvl=WARN] [tid=1806] ReadTr69TlvData TLV data file is missing!!!
    220629-02:01:45.638648 [mod=TR69, lvl=INFO] [tid=1806] ReadTr69TlvData /nvram/TLVData.bin File is not available so unable to process by Tr069
    220629-02:01:45.663834 [mod=TR69, lvl=INFO] [tid=1806] ReadTr69TlvData PSM_Get_Record_Value2 success 100, name=<eRT.com.cisco.spvtg.ccsp.tr069pa.Device.ManagementServer.EnableCWMP.Value> value<1>
    220629-02:01:45.667268 [mod=TR69, lvl=INFO] [tid=1806] Waiting for system ready signal
    220629-02:01:50.669984 [mod=TR69, lvl=INFO] [tid=1806] Waiting for system ready signal
    220629-02:01:55.670501 [mod=TR69, lvl=INFO] [tid=1806] Waiting for system ready signal


    Any assistance with this would be appreciated.

    1. Hi Z-Varij Gosine

      1. Could you please confirm the below dmcli are set properly in your device 

      dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.TR069support.Enable bool true

      dmcli eRT setv Device.ManagementServer.URL string "<URL/IP of ACS Server"
      dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_Syndication.TR69CertLocation string /etc/cacert.pem
      dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.AllowOpenPorts.Enable bool true
      dmcli eRT setv Device.ManagementServer.EnableCWMP bool true

       2. Could you please check Ccstr069pa is active and listening on port 7547

      root@RaspberryPi-Gateway:/# netstat -tulpn | grep -i Ccsptr
      netstat: showing only processes with your user ID
      tcp        0      0 0.0.0.0:7547            0.0.0.0:*               LISTEN      1863/CcspTr069PaSsp
      1. I have built the correct release of RDK-B and I can confirm Ccstr069pa is active and listening on port 7547.

        All the dmcli are set properly on the device.

        The TR069 logs show the following:


        220713-00:36:52.089846 [mod=TR69, lvl=ERROR] [tid=2348] TR-069 PA mapper file </fss/gw/usr/ccsp/tr069pa/ccsp_tr069_pa_mapper.xml> has b
        220713-00:36:52.090308 [mod=TR69, lvl=WARN] [tid=2348] DBus is enabled
        220713-00:36:52.506042 [mod=TR69, lvl=WARN] [tid=2348] ReadTr69TlvData TLV data file is missing!!!
        220713-00:36:52.506195 [mod=TR69, lvl=INFO] [tid=2348] ReadTr69TlvData /nvram/TLVData.bin File is not available so unable to process by
        220713-00:36:52.532801 [mod=TR69, lvl=INFO] [tid=2348] ReadTr69TlvData PSM_Get_Record_Value2 success 100, name=<eRT.com.cisco.spvtg.ccs
        220713-00:36:52.533060 [mod=TR69, lvl=INFO] [tid=2348] Waiting for system ready signal
        220713-16:55:22.741274 [mod=TR69, lvl=INFO] [tid=2348] Waiting for system ready signal


        The waiting for system ready signal is repeated.

  3. I can confirm all the dmcli mentioned above are set properly on my device. The ACS URL is of the format http://<URL>:7547.

    The netstat command returns the following.

    root@RaspberryPi-Gateway:~# netstat -tulpn | grep -i Ccsptr
    udp        0      0 127.255.255.255:12035   0.0.0.0:*                           1806/CcspTr069PaSsp

    1. I should note I am running RDKB_2021q2_dunfell as welll.

      1. Hi Z-Varij Gosine 

        We observed that for dunfell release, the connection failure issue still present at this time, server -client communication is fine with release RDK-B_2021q2  .

        1. Can this be built for the RPI4?

          1. Hi Z-Varij Gosine  , The RDK-B_2021q2  release supports platform RPI3.

            Please find the below steps to build the RDKB_2021q2 release

            repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2021q2
            repo sync -j4 --no-clone-bundle
            MACHINE=raspberrypi-rdk-broadband source meta-cmf-raspberrypi/setup-environment
            bitbake rdk-generic-broadband-image

            1. I was able to build using these instructions on one machine and this week trying to build with the same instructions is throwing one of two errors every time I try to build.


              ERROR: ExpansionError during parsing /home/ubuntu/2021q2/meta-rdk-ext/recipes-support/libtomcrypt/libtomcrypt_1.17.bb

              OR

              ERROR: ExpansionError during parsing /home/ubuntu/2021q2/meta-rdk-ext/recipes-support/nanomsg/nanomsg_1.0.bb



              1. Hi Z-Varij Gosine please add the below code changes to your workspace and try build

                https://code.rdkcentral.com/r/c/rdk/components/generic/rdk-oe/meta-rdk-ext/+/69354

                Mostly some build failures might seen because of the error "The unauthenticated git protocol on port 9418 is no longer supported" which causes fetch/expansion failure". The below fix needs to be applied for this failure if seen further
                https://code.rdkcentral.com/r/c/rdk/components/generic/rdk-oe/meta-cmf-raspberrypi/+/63989
                https://code.rdkcentral.com/r/c/rdk/components/generic/rdk-oe/meta-cmf-raspberrypi/+/66518
                https://code.rdkcentral.com/r/c/rdk/components/generic/rdk-oe/meta-cmf-raspberrypi/+/66521

        2. When trying to build for either RPI3 or 4, receiving the following errors:

          ERROR: Error importing OE modules: module 'bb.siggen' has no attribute 'SignatureGeneratorUniHashMixIn'
          ERROR: ParseError in <build path>/meta-virtualization/classes/: not a BitBake file 

  4. Getting below error while trying to install bundle. Can you pls help to resolve it.

    Fetching gem metadata from https://rubygems.org/..........
    Your bundle is locked to mimemagic (0.3.2) from rubygems repository https://rubygems.org/ or installed locally, but that version can no longer be found in that source. That means the author of mimemagic
    (0.3.2) has removed it. You'll need to update your bundle to a version other than mimemagic (0.3.2) that hasn't been removed in order to install.


    1. Hi Z-Kaigala Srinivasu 

      Upgrade the mimemagic (0.3.2) version to mimemagic (0.3.10) in Gemfile.lock

  5. I have built the correct release of RDK-B and I can confirm Ccstr069pa is active and listening on port 7547.

    All the dmcli are set properly on the device.

    The TR069 logs show the following:


    220713-00:36:52.089846 [mod=TR69, lvl=ERROR] [tid=2348] TR-069 PA mapper file </fss/gw/usr/ccsp/tr069pa/ccsp_tr069_pa_mapper.xml> has b
    220713-00:36:52.090308 [mod=TR69, lvl=WARN] [tid=2348] DBus is enabled
    220713-00:36:52.506042 [mod=TR69, lvl=WARN] [tid=2348] ReadTr69TlvData TLV data file is missing!!!
    220713-00:36:52.506195 [mod=TR69, lvl=INFO] [tid=2348] ReadTr69TlvData /nvram/TLVData.bin File is not available so unable to process by
    220713-00:36:52.532801 [mod=TR69, lvl=INFO] [tid=2348] ReadTr69TlvData PSM_Get_Record_Value2 success 100, name=<eRT.com.cisco.spvtg.ccs
    220713-00:36:52.533060 [mod=TR69, lvl=INFO] [tid=2348] Waiting for system ready signal
    220713-16:55:22.741274 [mod=TR69, lvl=INFO] [tid=2348] Waiting for system ready signal


    The waiting for system ready signal is repeated.

    1. Hi Z-Varij Gosine 

      Could you try re-flashing the image ,and configuring the dmcli .

      We faced this intermittent issue ,after multiple tries it connected.

      1. Deepika Ganapathi Bhat Thank you I shall try this and let you know if it works.

        Z-Luís Felipe da Silva Messias Not sure if you are following this but I got a response to the original question.

  6. Execuse me,
    I would like to discuss about the issue I met in 2022Q1 dunfell.
    When I set up the CWMP enabled(dmcli eRT setv Device.ManagementServer.EnableCWMP bool true), I met below error.
    CcspCwmppoSignalSession - session state is set to <Connected>.
    221111-09:51:00.515766 [mod=TR69, lvl=DEBUG] [tid=1672] SessionState == connected.
    221111-09:51:00.517698 [mod=TR69, lvl=WARN] [tid=1672] InitialContact read from PSM is: <TRUE>
    221111-09:51:00.517798 [mod=TR69, lvl=WARN] [tid=1672] bInitialContact switched to <TRUE> as MgmtCRPwdID was missing
    221111-09:51:00.517888 [mod=TR69, lvl=DEBUG] [tid=1672] GPV - no FC owns namespace <Device.DeviceInfo.Manufacturer>
    221111-09:51:00.517945 [mod=TR69, lvl=DEBUG] [tid=1672] GPV - no FC owns namespace <Device.DeviceInfo.ManufacturerOUI>
    221111-09:51:00.517993 [mod=TR69, lvl=DEBUG] [tid=1672] GPV - no FC owns namespace <Device.DeviceInfo.ProductClass>
    221111-09:51:00.518086 [mod=TR69, lvl=DEBUG] [tid=1672] GPV - no FC owns namespace <Device.DeviceInfo.SerialNumber>
    221111-09:51:00.518137 [mod=TR69, lvl=DEBUG] [tid=1672] GPV - no FC owns namespace <Device.DeviceInfo.ProvisioningCode>
    221111-09:51:00.518174 [mod=TR69, lvl=WARN] [tid=1672] WARNING: failed to get Manufacturer/OUI/ProductClass/SerialNumber! 'informed' may be rejected by ACS!
    221111-09:51:00.518256 [mod=TR69, lvl=DEBUG] [tid=1672] LocalTime is 09:51:00, zone offset=0
    221111-09:51:00.518354 [mod=TR69, lvl=DEBUG] [tid=1672] CcspCwmpsoInform -- Start to get the parameter values.
    221111-09:51:00.518397 [mod=TR69, lvl=DEBUG] [tid=1672] CcspCwmpsoInform -- Start to get parameter value #0: Device.DeviceSummary.
    221111-09:51:00.518479 [mod=TR69, lvl=DEBUG] [tid=1672] GPV - no FC owns namespace <Device.DeviceSummary>
    221111-09:51:00.518522 [mod=TR69, lvl=DEBUG] [tid=1672] CcspCwmpsoInform -- Start to get parameter value #1: Device.DeviceInfo.HardwareVersion.
    221111-09:51:00.518619 [mod=TR69, lvl=DEBUG] [tid=1672] GPV - no FC owns namespace <Device.DeviceInfo.HardwareVersion>
    221111-09:51:00.518665 [mod=TR69, lvl=DEBUG] [tid=1672] CcspCwmpsoInform -- Start to get parameter value #2: Device.DeviceInfo.SoftwareVersion.
    221111-09:51:00.518763 [mod=TR69, lvl=DEBUG] [tid=1672] GPV - no FC owns namespace <Device.DeviceInfo.SoftwareVersion>
    221111-09:51:00.518805 [mod=TR69, lvl=DEBUG] [tid=1672] CcspCwmpsoInform -- Start to get parameter value #3: Device.DeviceInfo.ProvisioningCode.
    221111-09:51:00.518877 [mod=TR69, lvl=DEBUG] [tid=1672] GPV - no FC owns namespace <Device.DeviceInfo.ProvisioningCode>
    221111-09:51:00.518921 [mod=TR69, lvl=DEBUG] [tid=1672] CcspCwmpsoInform -- Start to get parameter value #4: Device.ManagementServer.ConnectionRequestURL.
    221111-09:51:00.518969 [mod=TR69, lvl=DEBUG] [tid=1672] GPV - no FC owns namespace <Device.ManagementServer.ConnectionRequestURL>
    221111-09:51:00.519045 [mod=TR69, lvl=WARN] [tid=1672] Discard: 0 BOOTSTRAP or No VALUE CHANGE event
    221111-09:51:00.519083 [mod=TR69, lvl=DEBUG] [tid=1672] CcspCwmppoSignalSession - session state is set to <Timeout>

    The session seems connected,but all parameter cannot find the Founction component .
    In this case ,I think Device.DeviceInfo. is related to PandM component
     Does anyone have an issue with that?

    Thanks a lot! 

    Best Regards

    1. Hi Wilson Liu 


      I am also facing the same issue while enabling cwmp. I am using 2023q3 dunfell on RPI 3B/B+ and trying to connect to GenieACS - v1.2.9+.

      Were you able to resolve this issue. Any help would be appreciated.

      Thank you

      Merlyn

      1. Hi Merlyn Emmanuel

        The latest RDK-B releases are not supported for RPI3. 
        Please verify with RPI4B .Do let us know if you face any errors.

        1. Hi Deepika Ganapathi Bhat,

          I have tried Q3 Dunfell build on RPI4B and tried connecting to GenieACS - v1.2.9+. 

          Getting the following error:

          231229-08:43:25.266001 [mod=TR69, lvl=DEBUG] [tid=2722] CcspCwmppoSignalSession - session state is set to <Idle>.

          231229-08:43:46.281908 [mod=TR69, lvl=DEBUG] [tid=2725] Start the session retry at time 1703839426...

          231229-08:43:46.282049 [mod=TR69, lvl=DEBUG] [tid=2725] CcspCwmppoSignalSession - session state is set to <ConnectNow>.

          231229-08:43:46.282184 [mod=TR69, lvl=DEBUG] [tid=2722] SessionState == connectNow. RetryCount = 3

          231229-08:43:46.282276 [mod=TR69, lvl=WARN] [tid=2722] CcspManagementServer_GetURL -#- ManagementServerURLID_PSM: http://192.168.2.43:7547/

          231229-08:43:46.282619 [mod=TR69, lvl=DEBUG] [tid=2722] CcspCwmppoSignalSession - session state is set to <Connected>.

          231229-08:43:46.282717 [mod=TR69, lvl=DEBUG] [tid=2722] SessionState == connected.

          231229-08:43:46.285477 [mod=TR69, lvl=DEBUG] [tid=2722] InitialContact read from PSM is: <TRUE>

          231229-08:43:46.285591 [mod=TR69, lvl=WARN] [tid=2722] bInitialContact switched to <TRUE> as MgmtCRPwdID was missing

          231229-08:43:46.285692 [mod=TR69, lvl=DEBUG] [tid=2722] GPV - no FC owns namespace <Device.DeviceInfo.Manufacturer>

          231229-08:43:46.285786 [mod=TR69, lvl=DEBUG] [tid=2722] GPV - no FC owns namespace <Device.DeviceInfo.ManufacturerOUI>

          231229-08:43:46.285885 [mod=TR69, lvl=DEBUG] [tid=2722] GPV - no FC owns namespace <Device.DeviceInfo.ProductClass>

          231229-08:43:46.285987 [mod=TR69, lvl=DEBUG] [tid=2722] GPV - no FC owns namespace <Device.DeviceInfo.SerialNumber>

          231229-08:43:46.286095 [mod=TR69, lvl=DEBUG] [tid=2722] GPV - no FC owns namespace <Device.DeviceInfo.ProvisioningCode>

          231229-08:43:46.286177 [mod=TR69, lvl=WARN] [tid=2722] WARNING: failed to get Manufacturer/OUI/ProductClass/SerialNumber! 'informed' may be rejected by ACS!

          231229-08:43:46.286277 [mod=TR69, lvl=DEBUG] [tid=2722] LocalTime is 08:43:46, zone offset=0

          231229-08:43:46.286354 [mod=TR69, lvl=DEBUG] [tid=2722] CcspCwmpsoInform -- Start to get the parameter values.

          231229-08:43:46.286428 [mod=TR69, lvl=DEBUG] [tid=2722] CcspCwmpsoInform -- Start to get parameter value #0: Device.DeviceSummary.

          231229-08:43:46.286510 [mod=TR69, lvl=DEBUG] [tid=2722] GPV - no FC owns namespace <Device.DeviceSummary>

          231229-08:43:46.286585 [mod=TR69, lvl=DEBUG] [tid=2722] CcspCwmpsoInform -- Start to get parameter value #1: Device.DeviceInfo.HardwareVersion.

          231229-08:43:46.286670 [mod=TR69, lvl=DEBUG] [tid=2722] GPV - no FC owns namespace <Device.DeviceInfo.HardwareVersion>

          231229-08:43:46.286742 [mod=TR69, lvl=DEBUG] [tid=2722] CcspCwmpsoInform -- Start to get parameter value #2: Device.DeviceInfo.SoftwareVersion.

          231229-08:43:46.286846 [mod=TR69, lvl=DEBUG] [tid=2722] GPV - no FC owns namespace <Device.DeviceInfo.SoftwareVersion>

          231229-08:43:46.286947 [mod=TR69, lvl=DEBUG] [tid=2722] CcspCwmpsoInform -- Start to get parameter value #3: Device.DeviceInfo.ProvisioningCode.

          231229-08:43:46.287060 [mod=TR69, lvl=DEBUG] [tid=2722] GPV - no FC owns namespace <Device.DeviceInfo.ProvisioningCode>

          231229-08:43:46.287160 [mod=TR69, lvl=DEBUG] [tid=2722] CcspCwmpsoInform -- Start to get parameter value #4: Device.ManagementServer.ConnectionRequestURL.

          231229-08:43:46.287262 [mod=TR69, lvl=DEBUG] [tid=2722] GPV - no FC owns namespace <Device.ManagementServer.ConnectionRequestURL>

          231229-08:43:46.287336 [mod=TR69, lvl=WARN] [tid=2722] Discard: 0 BOOTSTRAP or No VALUE CHANGE event

          231229-08:43:46.287402 [mod=TR69, lvl=DEBUG] [tid=2722] CcspCwmppoSignalSession - session state is set to <Timeout>.


    2. Hi Wilson Liu 
      I could see the below Warning from shared logs 
      "221111-09:51:00.518174 [mod=TR69, lvl=WARN] [tid=1672] WARNING: failed to get Manufacturer/OUI/ProductClass/SerialNumber! 'informed' may be rejected by ACS!"

      Can i know which ACS server you are using ? Is this Genieacs ?
      Which platform it is ? can you share us the steps you followed.

  7. Is TR-69 supported in any rpi RDK-B image now? I've been looking to test it specifically on a raspberry, but it shows as not-supported on the raspberry pi build pages, for example here: Kirkstone RDK-B RPI4 64 bit (Both User Space & Kernel Space)

    1. Hi Elvira Sichevaia 

      Please verify TR-069 Functionality with any of the RDK-B dunfell release (2023Q3,2023Q4 or dunfell). The TR-69 Feature is not verified for the 2023q4 Kirkstone release.