This page is under development

Overview

Code Flow


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



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

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

Dmcli command to enable captive portal


$ dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_CaptivePortalEnable bool true

$ dmcli eRT setv Device.DeviceInfo.X_RDKCENTRAL-COM_ConfigureWiFi bool true


Supported Languages

TroubleShooting

  1. cat  /nvram/syscfg.db | grep redirect
  2.  cat  /nvram/syscfg.db | grep 10.0.0.1
  3.  cat  /nvram/syscfg.db | grep PartnerID
  4.  ifconfig erouter0 , brlan0
  5.  dmcli eRT getv Device.DeviceInfo.X_RDKCENTRAL-COM_ConfigureWiFi
  6.  dmcli eRT getv  Device.DeviceInfo.X_RDKCENTRAL-COM_CaptivePortalEnable
  7. ps | grep lighttpd // Lighttpd process should be running
  8. /nvram/hostapd0.conf
  9. cat  /nvram/.partner_ID