Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4165514
  • 博文数量: 447
  • 博客积分: 1241
  • 博客等级: 中尉
  • 技术积分: 5786
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-27 06:48
个人简介

读好书,交益友

文章分类

全部博文(447)

文章存档

2023年(6)

2022年(29)

2021年(49)

2020年(16)

2019年(15)

2018年(23)

2017年(67)

2016年(42)

2015年(51)

2014年(57)

2013年(52)

2012年(35)

2011年(5)

分类: C/C++

2022-08-18 18:42:38

安装第三方包
 sudo apt-get install libnl-route-3-dev
sudo apt-get install libnl-genl-3-dev
sudo apt-get install libnl-3-dev


下载源码



解压缩
cp defconfig .config
vim .config
//去掉 “#CONFIG_EAPOL_TEST=y” 前的注释
//去掉 "#CONFIG_LIBNL32=y" 前的注释
因为wpa_supplicant和openssl3不兼容,所以使用编译好的openssl-1.1.1p
# Uncomment following two lines and fix the paths if you have installed OpenSSL
# or GnuTLS in non-default location
CFLAGS += -I/learning/openssl-1.1.1p/include
LIBS += -L/learning/openssl-1.1.1p
然后
make
make eapol_test

阅读(474) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~