RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Papers & Presentations Archive
...
sudo apt-get update;
sudo apt-get upgrade;
sudo apt-get install vim;
sudo apt-get install libev-dev;
sudo apt-get install libjansson-dev;
sudo apt-get install zlib1g-dev;
sudo apt-get install libnl-3-dev;
sudo apt-get install libnl-genl-3-dev;
sudo apt-get install libnl-route-3-dev;
sudo apt-get install libavro-dev;
sudo apt-get install libcjson1 libcjson-dev;
sudo apt-get install libssl-dev;
sudo apt-get install uuid-dev;
sudo apt-get install libmysqlcppconn-dev;
sudo apt-get install libreadline-dev;
sudo apt-get install iptables;
sudo apt install mariadb-server;
sudo apt-get install golang;
1. In a working directory git clone the OneWifi in generic folder and unified-wifi-mesh repository
...
cd unified-wifi-mesh/build/cli
make clean; make all
Note: For the latest Cli package "golang" should be installed. Instructions specified in the prerequisite section above.
cd unified-wifi-mesh/build/agent
make clean; make all
...
#In a separate window run easy mesh ctrl with <username of db>@<password> to connect to DB.
sudo ./onewifi_em_ctrl root@root
#In a separate window run easy mesh cli and run reset command "reset eth0 pi4" as specified below to reset the databaseusing the below command to open the updated go based cli
sudo ./onewifi_em_cli
<<OneWifiMeshCli>>: reset eth0 pi4rpi
Sample screenshot of the cli below:
Image Added
#After this in MariaDB Console you if you run "show tables;" you will see 7 9 tables created with NetworkSSIDList and NetworkList tables Initialized.
# All other tables will be empty
MariaDB [OneWifiMesh]> show tables;
+
...
------------------------+
| Tables_in_OneWifiMesh
...
|
+
...
------------------------+
| BSSList
...
|
| DeviceList |
| NetworkList
...
|
| NetworkSSIDList |
| OperatingClassList |
|
...
PolicyList |
| RadioList |
| STAList |
| ScanResultList |
+-----------------------
...
+
...
sudo ./OneWifi -c
sudo ./onewifi_em_agent
<<OneWifiMeshCli>>:get_device OneWifiMesh
<<OneWifiMeshCli>>:get_radio OneWifiMesh
<<OneWifiMeshCli>>:get_bss OneWifiMesh
<<OneWifiMeshCli>>:get_ssid OneWifiMesh
...
Note:
1. Use "Tab" to move between Update, Apply and Cancel button in the cli
2. Use keys "j" and "k" to scroll up and down.
Powered by a free Atlassian Confluence Open Source Project License granted to RDKCentral. Evaluate Confluence today.