2016-04-09 10:41:05 +02:00
|
|
|
pre-requisites to build actube
|
|
|
|
==============================
|
2014-08-19 19:14:52 +02:00
|
|
|
|
2022-08-22 19:00:50 +02:00
|
|
|
Compile
|
|
|
|
=======
|
2022-07-31 20:21:13 +02:00
|
|
|
|
2022-08-22 19:00:50 +02:00
|
|
|
FreeBSD
|
2016-04-09 10:41:05 +02:00
|
|
|
----------------
|
2016-03-16 13:25:11 +01:00
|
|
|
|
2022-07-31 20:21:13 +02:00
|
|
|
pkg install wget
|
2022-08-22 19:00:50 +02:00
|
|
|
pkg install nettle
|
|
|
|
cd src/contrib
|
|
|
|
sh install_libmavl
|
|
|
|
cd ..
|
|
|
|
make
|
2016-03-16 13:25:11 +01:00
|
|
|
|
|
|
|
|
2022-08-22 19:00:50 +02:00
|
|
|
|
|
|
|
Ubuntu
|
|
|
|
------
|
2015-04-26 08:41:12 +02:00
|
|
|
|
2015-04-27 13:04:07 +02:00
|
|
|
apt-get install build-essential clang
|
2016-04-09 10:41:05 +02:00
|
|
|
apt-get install nettle-dev
|
|
|
|
apt-get install libssl-dev
|
2022-08-24 00:54:54 +02:00
|
|
|
apt install libedit-dev
|
2022-08-19 23:55:30 +02:00
|
|
|
apt install bmake
|
2022-08-22 19:00:50 +02:00
|
|
|
cd src/contrib
|
|
|
|
sh install_libmavl
|
|
|
|
cd ..
|
|
|
|
bmake
|
2015-04-26 08:41:12 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-08-30 11:20:06 +02:00
|
|
|
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
|
|
|
|
|
2014-08-19 19:14:52 +02:00
|
|
|
|
|
|
|
|