Home
[RDK Central Wiki]
CMF
[Code Releases]
We are going to try bringing up RDKB reference platform on Raspberry pi.
we have few questions:
24 | TR-69 | P | N |
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 :
29 | Wireless Protection Setup(WPS) | P | N |
so, without WPS how will the devices connect over wifi to a Raspberry pi running RDKB reference platform?
3. we see :
In [Archived] 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?
Powered by a free Atlassian Confluence Open Source Project License granted to RDKCentral. Evaluate Confluence today.
3 Comments
Unknown User (karthika.a)
Hi Unknown User (nitin.patet),
Please find the answers to your queries listed below :
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 :
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
Unknown User (nitin.patet)
hi Unknown User (karthika.a),
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
Unknown User (karthika.a)
Hi Unknown User (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