We are going to try bringing up RDKB reference platform on Raspberry pi.

we have few questions:

  1. On Features in RDK-B Reference Platform we see that, TR-69 is not supported on Rpi reference platform.
24TR-69PN


          Does this mean, we can't use dmcli on the Raspberry pi reference platform?
          In our previous question: Does RDK-B support UCI(unified configuration interface of openwrt) or similar to UCI utility ?
          it was indicated that, 'dmcli' command line utility, which will execute TR69 commands to modify the mentioned items

          does No TR-69 on Reference Rpi, means, dmcli can't modify wifi related items like ssid name, ssid password etc?

      2. we see in Features in RDK-B Reference Platform :

29Wireless Protection Setup(WPS)PN

         so, without WPS how will the devices connect over wifi to a Raspberry pi running RDKB reference platform?

      3. we see :
          In RDKB RPI Setup Information, we are given links to purchase TPlink Dongles:
Dongles Information Links

          But, both of above are Wifi Adapters, are these devices used by RDKB stack to join some other network? or to create a new hotspot ? (to which other devices will connect to)


     4. after building the full Raspberry pi image, the rootfs doesn't seem to contain libpcap.so , although the rootfs of emulator  build does contain it. Any specific reason  for such difference?



  • No labels

3 Comments

  1. Hi Z-Nitin Patet,


    Please find the answers to your queries listed below :



    1. On List of Supported Features in RDKB Reference Platform we see that, TR-69 is not supported on Rpi reference platform.


    24TR-69PN


              Does this mean, we can't use dmcli on the Raspberry pi reference platform?
              In our previous question: Does RDK-B support UCI(unified configuration interface of openwrt) or similar to UCI utility ?
              it was indicated that, 'dmcli' command line utility, which will execute TR69 commands to modify the mentioned items

              does No TR-69 on Reference Rpi, means, dmcli can't modify wifi related items like ssid name, ssid password etc?


    In Reference Rpi , dmcli command can be used to modify parameters like WiFi ,DeviceInfo etc.The dmcli command is used to invoke the TR-181 data models.
             For example :         

    root@RaspberryPi-Gateway:~# dmcli eRT getv Device.WiFi.SSID.1.SSID
    CR component name is: eRT.com.cisco.spvtg.ccsp.CR
    subsystem_prefix eRT.
    getv from/to component(eRT.com.cisco.spvtg.ccsp.wifi): Device.WiFi.SSID.1.SSID
    Execution succeed.
    Parameter    1 name: Device.WiFi.SSID.1.SSID
                   type:     string,    value: rdkb3b



     2. we see in List of Supported Features in RDKB Reference Platform :

    29Wireless Protection Setup(WPS)PN


             so, without WPS how will the devices connect over wifi to a Raspberry pi running RDKB reference platform?


    The devices can connect over wifi to Raspberrypi by knowing the SSID and the corresponding password of the RaspberryPi Wifi network ,which will be WPA2-PSK protected



          3. we see :
              In RDKB RPI Setup Information, we are given links to purchase TPlink Dongles:
    Dongles Information Links

              But, both of above are Wifi Adapters, are these devices used by RDKB stack to join some other network? or to create a new hotspot ? (to               which other devices will connect to)


    The above mentioned adapters are used by RDKB stack join other networks. Now rpi has in-built wifi adaptors , so if in case wants to communicate with other network , they have to stop dhcp running on brlan0 interface which is a bridge for dongle , then run dhcp client on that device.


         4. after building the full Raspberry pi image, the rootfs doesn't seem to contain libpcap.so , although the rootfs of emulator  build does contain it. Any specific reason  for such difference?


    The rootfs doesn't contain libpcap.so ,as tcpdump utility is not appended in the packagegroup-rdk-oss-broadband.bbappend file in the Raspberry-pi build whereas you can find the tcpdump utility appended for the corresponding file for Emulator build.


    So , if we include tcpdump utility in the above mentioned file , libpcap.so file will be present in the rootfs of the raspberry-pi build.


    See below output from the raspberry-pi device after adding tcpdump:


    root@RaspberryPi-Gateway:/# find . -iname libpcap*
    ./usr/lib/libpcap.so.1.7.4
    ./usr/lib/libpcap.so.1



    Thanks,

    Karthika

  2. hi Z-Karthika A B,

    Thanks for all your responses!. They are very helpful.
    One thing which is still not clear to us is:

    we want to use the Raspbery pi running Reference RDKB stack as a "Router".
    our thinking was, to connect the Raspberry pi to internet via its LAN port and then we assumed the Wifi Dongles would serve as Wifi Emitters to allow other devices to connect. (like a Wifi hotspot)

    From your answer:
    Now rpi has in-built wifi adaptors , so if in case wants to communicate with other network , they have to stop dhcp running on brlan0 interface which is a bridge for dongle , then run dhcp client on that device.

    Do you mean to say, we have to run some specific commands to make the Raspberry pi function as a "Router" ?
    if yes, can you please provide those commands?

    Does this mean, by default, the RDKB stack, doesn't behave as a "Router" on Raspberyy pi?

    regards
    Nitin

    1. Hi Z-Nitin Patet,


      The RDKB stack in  Raspberyy pi does behaves as a router. There is no extra command required to make it work as a router.

      In older Raspberyy pi versions , there were no Wifi radio available( or only one radio available ),so dongles were required. In newer  Raspberyy pi versions, Wifi radios are in-built ,so dongles are not needed in them.


      Thanks,

      Karthika