RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Children Display |
---|
Table of Contents |
---|
Info |
---|
This Page is under Development |
Integration of Mesh-agent component in Turris Omnia Gateway for Sync between RDKB WEBUI and Plume NOC. Mesh-agent notifies the Plume NOC , when there is a change of SSID in RDKB WebUI and vice versa.
...
Opensync has to be manually triggered , and respective certificate has to be copied into the image
Execute the below script , for linking the back-haul interfaces
...
theme | RDark |
---|---|
title | Hostapd Script |
collapse | true |
...
root@TurrisOmnia-GW:
...
# sh start_hostapd.sh
...
#!/bin/bash
...
killall
...
dnsmasq
...
dnsmasq
...
-u
...
root
...
-a
...
10.0.0.1
...
-i
...
brlan0
...
-F
...
10.0.0.2,10.0.0.20
...
--dhcp-option=3,10.0.0.1
...
--dhcp-option=6,10.0.0.1
...
\
...
-a
...
169.254.2.1
...
-i
...
wifi2
...
-F
...
169.254.2.2,169.254.2.10
...
\
...
-a
...
169.254.3.1
...
-i
...
wifi3
...
-F
...
169.254.3.2,169.254.3.10
...
\
...
-C
...
/dev/null
...
-z
...
--except-interface=lo
...
-l
...
/nvram/dnsmasq.leases
...
--dhcp-script=/nvram/scripts/restart_mesh.sh
...
\
...
--log-facility=/tmp/dnsmasq.log
...
--log-dhcp
...
#touch
...
/tmp/hostapd-acl0
...
#touch
...
/tmp/hostapd-acl1
...
touch
...
/tmp/hostapd-acl2
...
touch
...
/tmp/hostapd-acl3
...
#hostapd_cli
...
-i
...
global
...
raw
...
ADD
...
bss_config=wlan0:/nvram/hostapd0.conf
...
#hostapd_cli
...
-i
...
global
...
raw
...
ADD
...
bss_config=wlan1:/nvram/hostapd1.conf
...
hostapd_cli
...
-i
...
global
...
raw
...
ADD
...
bss_config=wlan2:/nvram/hostapd2.conf
...
hostapd_cli
...
-i
...
global
...
raw
...
ADD
...
bss_config=wlan3:/nvram/hostapd3.conf
Execute the below script for running the opensync Managers
...
theme | RDark |
---|---|
title | Open Sync Manager Script |
collapse | true |
...
root@TurrisOmnia-GW:/
...
# sh start_plume.sh
...
#temporary
...
fix
...
iptables
...
-P
...
INPUT
...
ACCEPT
...
brctl
...
addbr
...
br-home
...
#ln
...
-s
...
/nvram/dnsmasq.leases
...
/tmp/dnsmasq.leases
...
if
...
[
...
!
...
-f
...
/usr/plume/etc/certs/ca.pem
...
];
...
then
...
cp
...
/nvram/certs/c*
...
/usr/plume/etc/certs/
...
fi
...
killall
...
meshAgent
...
cd
...
/usr/ccsp/mesh
...
meshAgent
...
&
...
cd
...
/usr/plume/etc/
...
/usr/plume/scripts/managers.init
...
stop
...
/usr/plume/scripts/managers.init
...
start
...
Copy the Certificates in /usr/plume/etc/certs/*
...
...