RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Info |
---|
This page is under development |
Table of Contents | ||
---|---|---|
|
On fresh boot-up and factory-reset, Captive Portal prompts to change the default ssid name and password for browsing on connected client's client’s through Gateway network
On fresh boot-up and factory-reset,, anything user tries in browser will redirect to local captive portal
Panel |
---|
WAN https: http://<WAN IP Address of device>:8080<LAN IP >/captiveportal.php |
1) The The below diagram depicts the captive portal flow via CcspPandM module.
draw.io Diagram | |||
---|---|---|---|
|
|
2) The The below diagram depicts the captive portal flow via CcspWifiAgent module.
draw.io Diagram | ||
---|---|---|
|
...
|
MODULE | XML file | PARAMETERS |
---|---|---|
CcspPandM | TR181-USGv2.XML | Device.DeviceInfo.X_RDKCENTRAL-COM_CaptivePortalEnable |
Device.DeviceInfo.X_RDKCENTRAL-COM_ConfigureWiFi | ||
CcspWiFiAgent | TR181-WiFi-USGv2.XML | Device.WiFi.SSID.1.SSID |
Device.WiFi.SSID.2.SSID | ||
Device.WiFi.AccessPoint.1.Security.KeyPassphrase | ||
Device.WiFi.AccessPoint.2.Security.KeyPassphrase |
Code Block |
---|
$ dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_CaptivePortalEnable bool true
$ dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_ConfigureWiFi bool true |
...
If "Device.DeviceInfo.X_RDKCENTRAL-COM_CaptivePortalEnable“ is set to False , WebUI should be UP instead of captiveportal.
...
...
syscfg get redirection_flag
To get value of redirection_flag (true/false)cat /nvram/syscfg.db | grep redirect
Code Block |
---|
root@RaspberryPi-Gateway:~# cat /nvram/syscfg.db | grep redirect block_nat_redirection=1 get redirection_flag= true |
syscfg get HTTPS_Server_IP
To get HTTPS_Server_IP to which it is connected. cat /nvram/syscfg.db | grep 10.0.0.1
Code Block |
---|
root@RaspberryPi-Gateway:~# cat /nvram/syscfg.db | grep 10.0.0.1 HTTPS get HTTPS_Server_IP=10.0.0.1 lan_ipaddr=10.0.0.1 Default_Server_IP=10.0.0.1 HTTP_Server_IP=10.0.0.1 |
cat /nvram/syscfg.db | grep PartnerID
syscfg get PartnerID
To get partern id of syndication partners
Code Block |
---|
root@RaspberryPi-Gateway:~#~# syscfg cat /nvram/syscfg.db | grep get PartnerID PartnerID=RDKM |
ifconfig erouter0 , brlan0
...