Introduction

A modem connects home to an Internet Service Provider's (e.g. Comcast's) network. A router connects wired and wireless devices to your modem.The Wireless RPI Gateway combine the technology of a modem and router into one equipment, thus  creating the fastest, most reliable in-home WiFi available to all rooms of the house. If in case, to use some other router in place of existing router , Wireless Gateway is giving option to disable router mode which will turns off its routing capabilities while leaving the modem capabilities on.Enabling Bridge Mode does not disable the XFINITY WiFi Home Hotspot feature.

TR-181 Data Model Parameter of Bridge Mode

       Module

 Data Model Params

 CcspPandM(TR181-USGv2.XML)

  1. "Device.Bridging.Bridge."
  2. Device.X_CISCO_COM_DeviceControl.LanManagementEntry."


Bridge Configuration for Psuedo-bridge/router mode

Network

  Mode

bridge

interface

 

Private

   Router

brlan0

Eth1

Wlan0

brctl addbr brlan0

brctl addif brlan0 eth1

brctl addif brlan0 wlan0

ifconfig brlan0 10.0.0.1 netmask 255.255.255.0 up

ifconfig eth1 up

Private

  Bridge

Brlan0

Eth1

Lan0

Erouter0

brctl addbr brlan0

brctl addif brlan0 lan0

brctl addif brlan0 erouter0

ifconfig lan0 10.0.0.1 netmask 255.255.255.0 up

ifconfig eth1 up

Set Parameter Work Flow


From Application (WEBUI),

setStr("Device.X_CISCO_COM_DeviceControl.LanManagementEntry.1.LanMode","bridge-static",true); will trigger bridge event that will call service_bridge.sh

On receiving Sysevent "bridge_status",  GWP_sysevent_threadfunc will do

  • GWP_UpdateERouterMode   Set Params accordingly
  • /bin/sh /etc/webgui.sh -update the lighttpd interface accordingly.
  • initWifiComp() - Device.WiFi.X_CISCO_COM_FactoryReset
  • Save the new mode - GWP_SysCfgSetInt("last_erouter_mode", eRouterMode);  // save the new mode only

WorkFlow

gw_prov_utopia  will initialise CCSP system configuration through utopia_init.sh. Which will call binaries in registration directory to register for different events and action handler Utopia initialization is completed by creating utopia_inited flag

By default device will be in router mode. Once changed to bridge mode , Private WIFI will stop its broadcasting, Ethernet Client should get public IP address .(in erouter series)  and Wireless client will lose its connection to private WIFI.


  • No labels