58 lines
804 B
Plaintext
58 lines
804 B
Plaintext
pre-requisites to build actube
|
|
==============================
|
|
|
|
Compile
|
|
=======
|
|
|
|
FreeBSD
|
|
----------------
|
|
|
|
pkg install wget
|
|
pkg install nettle
|
|
cd src/contrib
|
|
sh install_libmavl
|
|
cd ..
|
|
make
|
|
|
|
|
|
|
|
Ubuntu
|
|
------
|
|
|
|
apt-get install build-essential clang
|
|
apt-get install nettle-dev
|
|
apt-get install libssl-dev
|
|
apt install libedit-dev
|
|
apt install bmake
|
|
cd src/contrib
|
|
sh install_libmavl
|
|
cd ..
|
|
bmake
|
|
|
|
|
|
|
|
RUN
|
|
---
|
|
|
|
Test start the ac with some debugging:
|
|
|
|
cd src/ac
|
|
export LD_LIBRARY_PATH=../../lib/<os name>/<arch>
|
|
./actube -d std -d info
|
|
|
|
Connect shell to the running AC:
|
|
cd src/ac
|
|
./act -s 127.0.0.1:5000
|
|
|
|
Some shell cmds:
|
|
list - list joined APs
|
|
select <name> - select an AP
|
|
cfg - show cfg of selected AC
|
|
ucfg - show current update cfg
|
|
set <key:bal> - set value in ucfg
|
|
send - send ucfg to AC
|
|
clear - clear ucfg
|
|
|
|
|
|
|