Hello,


I have a GenieACS which can be registered by other devices.

However, I've tried 2 RDK versions with no success.

My RDK versions, device settings and packets are as below:


RDK Version: 

    1. RDK-B_2019Q3

    2. RDK-B_2021Q3


Device Settings:

    dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_Syndication.TR69CertLocation string "/etc/cacert.pem" # This file does not exist, does it matter?
    dmcli eRT setv Device.ManagementServer.URL string http://192.168.10.95:7547
    dmcli eRT setv Device.ManagementServer.Username string cwmp
    dmcli eRT setv Device.ManagementServer.Password string cwmp
    dmcli eRT setv Device.ManagementServer.PeriodicInformEnable bool true
    dmcli eRT setv Device.ManagementServer.PeriodicInformInterval uint 15

    dmcli eRT setv Device.ManagementServer.ConnectionRequestUsername string admin
    dmcli eRT setv Device.ManagementServer.ConnectionRequestPassword string admin
    dmcli eRT setv Device.ManagementServer.X_CISCO_COM_ConnectionRequestURLPort string 7547
    dmcli eRT setv Device.ManagementServer.X_CISCO_COM_ConnectionRequestURLPath string tr069
    dmcli eRT setv Device.ManagementServer.EnableCWMP bool true


CcspTr069PaSsp was active and listening to port 7547:


Packets:

The DUT IP was 192.168.10.45 and the server IP was 192.168.10.95.

As you could see, the DUT was unable to recognize the "SYN, ACK" sent by the server.


Any suggestions?

Thanks in advance.



  • No labels

16 Comments

  1. Hi CTI Staffs 

    1.cacert.pem is required for acs communication
    2.set the below parameters
    dmcli eRT setv Device.ManagementServer.EnableCWMP bool true 
    dmcli eRT setv Device.ManagementServer.URL string  <IP ADDRESS>
    dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_Syndication.TR69CertLocation string "/etc/cacert.pem"

    Please refer TR-069 Support for RDKB RPI Reference Platform  for details.


    Regards,

    Deepika Bhat

    1. Hi Deepika Ganapathi Bhat ,

      Is the cacert.pam a certification for GenieACS?

      This means GenieACS server will run HTTPS on port 7547.

      1. Hi Z-Arthur Huang 

        cacert.pam is cacert file to store trusted certificates. It is needed to verify ACS server.

         GenieACS : it’s a opensource Tr069 ACS server, which can be installed on ubuntu machine.

        CcspTr069PaSsp : It is a TR069 protocol agent process ,it should be active and listening on specific port in CPE for communication with the ACS Server.


  2. Hi Deepika Ganapathi Bhat 


    Yes, I followed that introduction to setup my device, and the result as I posted above.


    1. Hi CTI Staffs 

      Sorry , we missed your query.

      cacert.pam is needed to verify ACS server.

      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. Hi Deepika Ganapathi Bhat,


        That's OK, my DUT can connect to GenieACS now.


        By the way, both the "cacert.pem" and  "TLVData.bin" don't exist in my DUT, even in my SDK (RDK-B_2021Q3).

        Could you provide them to me? 

  3. Hi Deepika Ganapathi Bhat 

    I follow steps on TR-069 Support for RDKB RPI Reference Platform - RDK - RDK Central Wiki, but it shows "CcspManagementServer_RegisterWanInterface failed to get pFirstUpstreamIpAddress" in TR69log.

    I am running rdkb on raspberry pi.

    1. I have the same situation on my raspberry pi

      1. Hi Z-Luís Felipe da Silva Messias 

        for dunfell release the client-Genieacs server connection issue is observed,
        server -client communication is fine with release RDK-B_2021q2
        1. In RDK-B_2021q2 i have this output error while compiling

          bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PATH="/home/raspberry-rdk/dunfell/openembedded-core/scripts/native-intercept:/home/raspberry-rdk/dunfell/openembedded-core/scripts:/home/raspberry-rdk/dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/raspberry-rdk/dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots/x86_64-linux/usr/bin:/home/raspberry-rdk/dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots/x86_64-linux/usr/sbin:/home/raspberry-rdk/dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots/x86_64-linux/usr/bin:/home/raspberry-rdk/dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots/x86_64-linux/sbin:/home/raspberry-rdk/dunfell/build-raspberrypi-rdk-broadband/tmp/sysroots/x86_64-linux/bin:/home/raspberry-rdk/dunfell/openembedded-core/scripts:/home/raspberry-rdk/dunfell/openembedded-core/bitbake/bin:/home/raspberry-rdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; export HOME="/home/raspberry-rdk"; git -c core.fsyncobjectfiles=0 ls-remote git://github.com/libtom/libtomcrypt.git  failed with exit code 128, output:fatal: unable to connect to github.com: github.com[0: 20.201.28.151]: errno=Connection timed out

            1. Now i have this another problem:

              | cc1: all warnings being treated as errors
              | In file included from ../../elfutils-0.166/libelf/elf32_fsize.c:35,
              |                  from ../../elfutils-0.166/libelf/elf64_fsize.c:31:
              | ../../elfutils-0.166/libelf/libelfP.h:52:28: note: ‘__elf64_msize’ target declared here
              |    52 | #define elfw2_(Bits, Name) elf##Bits##_##Name
              |       |                            ^~~
              | ../../elfutils-0.166/libelf/libelfP.h:57:27: note: in expansion of macro ‘elfw2_’
              |    57 | #define elfw2(Bits, Name) elfw2_(Bits, Name)
              |       |                           ^~~~~~
              | ../../elfutils-0.166/libelf/elf32_fsize.c:43:1: note: in expansion of macro ‘elfw2’
              |    43 | elfw2(LIBELFBITS, fsize) (Elf_Type type, size_t count, unsigned int version)
              |       | ^~~~~
              | make[2]: *** [Makefile:709: elf32_fsize.o] Error 1
              | make[2]: *** Waiting for unfinished jobs....
              | cc1: all warnings being treated as errors
              | make[2]: *** [Makefile:709: elf64_fsize.o] Error 1
              | make[1]: *** [Makefile:479: all-recursive] Error 1
              | make: *** [Makefile:395: all] Error 2
              | WARNING: /home/raspberry-rdk/dunfell/build-raspberrypi-rdk-broadband/tmp/work/x86_64-linux/elfutils-native/0.166-r0/temp/run.do_compile.173984:1 exit 1 from 'exit 1'
              | ERROR: Function failed: do_compile (log file is located at /home/raspberry-rdk/dunfell/build-raspberrypi-rdk-broadband/tmp/work/x86_64-linux/elfutils-native/0.166-r0/temp/log.do_compile.173984)
              NOTE: recipe elfutils-native-0.166-r0: task do_compile: Failed
              ERROR: Task (virtual:native:/home/raspberry-rdk/dunfell/openembedded-core/meta/recipes-devtools/elfutils/elfutils_0.166.bb:do_compile) failed with exit code '1'

              1. Hi Z-Luís Felipe da Silva Messias 

                Could you share us the complete log file of build failure or the complete error message. 

                  1. Hi Z-Luís Felipe da Silva Messias 

                    Please find the below commands  and code changes

                    repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-2021q2
                    repo sync -j4 --no-clone-bundle

                    add the below changes in your workspace and build.

                    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-rdk-ext/+/69354
                    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

                    MACHINE=raspberrypi-rdk-broadband source meta-cmf-raspberrypi/setup-environment
                    bitbake rdk-generic-broadband-image


                    For the above mentioned error , could you check whether the below changes are present in your workspace

                    https://code.rdkcentral.com/r/c/rdk/components/opensource/oe/openembedded-core/+/13647

                    1. I'm using version 2021q2_dunfell and I'm still getting the following error messages:

                      220729-13:13:50.106470 [mod=TR69, lvl=WARN] [tid=7895] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
                      220729-13:13:50.121287 [mod=TR69, lvl=WARN] [tid=7895] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
                      220729-13:13:50.121459 [mod=TR69, lvl=WARN] [tid=7895] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
                      220729-13:13:50.135534 [mod=TR69, lvl=WARN] [tid=7895] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
                      220729-13:13:50.135707 [mod=TR69, lvl=WARN] [tid=7895] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
                      220729-13:13:50.150333 [mod=TR69, lvl=WARN] [tid=7895] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
                      220729-13:13:50.150504 [mod=TR69, lvl=WARN] [tid=7895] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
                      220729-13:13:50.433789 [mod=TR69, lvl=WARN] [tid=1783] CcspManagementServer_RegisterWanInterface failed to get pFirstUpstreamIpAddress
                      220729-13:13:50.435009 [mod=TR69, lvl=WARN] [tid=7895] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
                      220729-13:13:50.435200 [mod=TR69, lvl=WARN] [tid=7895] CcspCwmppoMpaGetParameterValues - Param DmInt to CWMP
                      220729-13:13:50.435413 [mod=TR69, lvl=WARN] [tid=7895] Discard: 0 BOOTSTRAP or No VALUE CHANGE event
                      220729-13:13:50.435638 [mod=TR69, lvl=WARN] [tid=7895] Try to reconnect the ACS after 409 seconds...RetryCount = 7, current time = 1659100430
                      root@RaspberryPi-Gateway:~#