安装第三方包
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
阅读(538) | 评论(0) | 转发(0) |