Coder Social home page Coder Social logo

libftm's Introduction

WIFI FTM Tool

环境配置

系统要求

需要 linux 内核版本为 5.8+

安装 libnl 库

  1. 安装依赖
sudo apt install bison flex make gcc
  1. 安装 libnl
wget https://github.com/thom311/libnl/releases/download/libnl3_5_0/libnl-3.5.0.tar.gz
tar -xzf libnl-3.5.0.tar.gz
cd libnl-3.5.0
./configure --prefix=/usr     \
            --sysconfdir=/etc \
            --disable-static  &&
make
sudo make install
  1. 配置 libnl
sudo rm /lib/x86_64-linux-gnu/libnl-3.so.200.26.0
sudo rm /lib/x86_64-linux-gnu/libnl-genl-3.so.200.26.0

使用

克隆

git clone https://github.com/liang2kl/wifi-ftm.git

编译与安装

在项目根目录(wifi-ftm)下,执行:

make
sudo make install

运行

作为 initiator

sudo ftm start_measurement <接口名称> <配置文件路径> [<次数>]

作为 responder

sudo ftm start_responder <接口名称>

其他

其他文档:Wiki

调用 API 的示例程序:demo 分支

调用 API 的示例程序(配置文件):config-file-demo 分支

libftm's People

Contributors

chenyijie2016 avatar liang2kl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.