0x01前言概述
0x02 实现过程
TP-LINK TL-WN821NKali 1.1.0复制代码
wget https://github.com/brad-anton/freeradius-wpe/raw/master/freeradius-server-wpe_2.1.12-1_i386.debdpkg --install freeradius-server-wpe_2.1.12-1_i386.debldconfigcd /usr/local/etc/raddb/certs./bootstrap && ldconfig复制代码
git clone https://github.com/brad-anton/freeradius-wpe.gitwget ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-2.1.12.tar.bz2tar jxvf freeradius-server-2.1.12.tar.bz2patch -p1 < ../freeradius-wpe.patch./configuremake install复制代码
Failed binding to /usr/local/var/run/radiusd/radiusd.sock: No such file or directory复制代码
[email protected]:/usr/local/etc/raddb/certs# mkdir -p /usr/local/var/run/radiusd/复制代码
wget http://hostap.epitest.fi/releases/hostapd-2.0.tar.gztar zxvf hostapd-2.0.tar.gzcd hostapd-2.0/hostapd/cp defconfig .configmake复制代码
../src/drivers/driver_nl80211.c:19:31: fatal error: netlink/genl/genl.h: No such file or directorycompilation terminated.make: *** [../src/drivers/driver_nl80211.o] Error 1复制代码
[email protected]:/hostapd-2.0/hostapd# sudo apt-get install libnl1 libnl-dev复制代码
interface=wlan0driver=nl80211ssid=corp-lobbycountry_code=DElogger_stdout=-1logger_stdout_level=0dump_file=/tmp/hostapd.dumpieee8021x=1eapol_key_index_workaround=0own_ip_addr=127.0.0.1auth_server_addr=127.0.0.1auth_server_port=1812auth_server_shared_secret=testing123auth_algs=3wpa=2wpa_key_mgmt=WPA-EAPchannel=1wpa_pairwise=CCMPrsn_pairwise=CCMP复制代码
tail -f /usr/local/var/log/radius/freeradius-server-wpe.log复制代码
0x03 参考文章
本文链接:https://www.kinber.cn/post/2242.html 转载需授权!
推荐本站淘宝优惠价购买喜欢的宝贝: