Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This page is under development

1
Table of Contents
maxLevel

Overview

  • Captive portal is part of onboarding process which is presented to user once device is activated.
  • It allows user to configure his/her WiFi credentials to be presonalized personalized which user can remember. It is presented to user if user does factory reset too.
  • It is presented to user if user does factory reset too.
  • On fresh boot-up and factory-reset, Captive Portal prompts to change the default ssid name and password for browsing on connected client’s through Gateway network

  • On fresh boot-up and factory-reset,, anything user tries in browser will redirect to local captive portal

    Panel

     https://<LAN IP >/captiveportal.php

Code Flow

1) The  The below diagram depicts the captive portal flow via CcspPandM module.

Image Removed

draw.io Diagram
diagramNamecaptive portal flow via CcspPandM module.drawio
revision1

 The 2) The below diagram depicts the captive portal flow via CcspWifiAgent module.

draw.io Diagram
diagramNamecaptive portal flow via CcspWifiAgent module.drawio
revision

...

1

Objects

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

...

  • The default language will be obtained as a string through “Device.DeviceInfo.X_RDKCENTRAL-COM_Syndication.RDKB_UIBranding.DefaultLanguage".

TroubleShootingTrouble Shooting

  • During any captive portal issues, verify the below commands .

syscfg get redirection_flag

To get value of redirection_flag (true/false)

Code Block
root@RaspberryPi-Gateway:~# syscfg get redirection_flag
true

...

 syscfg get HTTPS_Server_IP

To get HTTPS_Server_IP to which it is connected.

Code Block
root@RaspberryPi-Gateway:~# syscfg get HTTPS_Server_IP
10.0.0.1

 

 syscfg get PartnerID

To get partern id of syndication partners

Code Block
root@RaspberryPi-Gateway:~# syscfg get PartnerID
RDKM

...