Home
[RDK Central Wiki]
CMF
[Code Releases]
We have a question about how to change the default value for Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled.
Current default value is 'false' after device bootup:
dmcli eRT getv Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled
CR component name is: eRT.com.cisco.spvtg.ccsp.CR
subsystem_prefix eRT.
getv from/to component(eRT.com.cisco.spvtg.ccsp.ethagent): Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled
Execution succeed.
Parameter 1 name: Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled
type: bool, value: false
We trace the code and get the result below, some difference between rdkb/devices/raspberrypi/ and rdkb/devices/broadcom/
and we didn't find the key function about "AltWanEthWanInterfaceGet" in rdkb/devices/broadcom/hal/common/source/ethsw/ccsp_hal_ethsw.c
1.rdkb/devices/raspberrypi/hal/source/hal-ethsw/ccsp_hal_ethsw.c
=> INT CcspHalExtSw_getEthWanEnable(BOOLEAN *enable)
=> INT CcspHalExtSw_getEthWanPort(UINT *Port)
2.rdkb/devices/broadcom/hal/common/source/ethsw/ccsp_hal_ethsw.c
=> INT CcspHalExtSw_getEthWanEnable(BOOLEAN * pFlag)
=> INT CcspHalExtSw_setEthWanEnable(BOOLEAN Flag)
Please provide some advice for change the default for us,
thanks.
3 Comments
Z-srinivas kota ramaiah
HI Hsu Chih-Hao,
Please let us know which version of rdkb release you are using and platform?
We confirmed the default value of Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled in latest rdk-next branch is "True".Please use the below steps to pull the latest rdk-next code and confirm the default value.
(Select option raspberrypi-rdk-broadband.conf)
Thanks and Regards
Srinivas
Hsu Chih-Hao
Hi,
Thanks for the reply.
However we can't upgrade parts of the file with different RDKB versions, that is why we ask about how to change the default value by ourselves.
Current default value is 'false' after device bootup:
dmcli eRT getv Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled
CR component name is: eRT.com.cisco.spvtg.ccsp.CR
subsystem_prefix eRT.
getv from/to component(eRT.com.cisco.spvtg.ccsp.ethagent): Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled
Execution succeed.
Parameter 1 name: Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled
type: bool, value: false
Thanks.
Regards, 2020/01/15
Z-srinivas kota ramaiah
HI Hsu Chih-Hao,
Please let us know, which version of rdkb release you are using and please share the output of the below commands
2. ps | grep "ethwan"
Thanks and Regards
Srinivas