Versions Compared

Key

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

...

cd unified-wifi-mesh/build/ctrl
make clean; make all

        • Cli

cd unified-wifi-mesh/build/cli
make clean; make all

        • Agent

cd unified-wifi-mesh/build/agent
make clean; make all


Execution Steps

Prerequisites

...

#In a separate window run easy mesh ctrl with <username of db>@<password> to connect to DB.
sudo ./oneonewifi_wifi_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 database
sudo ./oneonewifi_wifi_em_cli
<<OneWifiMeshCli>>: reset eth0 pi4

#After this in MariaDB Console you if you run "show tables;" you will see 7 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          |
| RadioList                           |
| STAList                              |
+------------------------+

...

        • Device 1  - Run Easy mesh Controller and cli in separate windows. 

sudo ./oneonewifi_wifi_em_ctrl root@root

sudo ./one_wifionewifi_em_cli

        • Device 2 - Run OneWifi first in a separate window and then run easy mesh agent

sudo ./OneWifi -c

sudo ./one_wifionewifi_em_agent

        • Check Below commands on cli window to see Agent configured 

...