【转】wpa_supplicant和hostapd的定义和区别

转自:http://www.javashuo.com/article/p-wjqtuqka-m.htmlhtml

1、hostapd 和 wap_supplicant

hostapd : user space daemon for access points, including, e.g., IEEE 802.1X/WPA/EAP Authenticator for number of Linux and BSD drivers, RADIUS client, integrated EAP server, and RADIUS authentication serverlinux

直译为: AP侧进程,包含:如 linux和BSD 驱动中的802.1x/WPA/EAP认证功能,RADIUS客户端,整合了EAP服务器和RADIUS认证服务器。segmentfault

也就是说,hostapd是一个AP侧使用的进程,它的功能包含了802.1x、RADIUS认证等的处理。服务器

 

wpa_supplicant:  user space IEEE 802.1X/WPA supplicant (wireless client) for number of Linux, BSD, and Windows drivers网络

直译为: 用户空间802.1x/WPA请求者(无线client端),适用于linux /BSD/Windows驱动app

也就是说,wpa_supplicant是一个client侧使用的进程,它包含了802.1x、WPA的请求工做。less

 

wpad is a hostapd + wpa_supplicant multicall binaryspa

wpad是 包含了hostapd 和 wpa_supplicant 的合体。wpad 的使用以下:.net

root@hbg:/# wpad -h
Invalid command.
Usage: wpad wpa_supplicant|hostapd [<arguments>]server

后面先加 wpa_supplicant 或 hostapd,而后再跟参数。

抄自:https://www.cnblogs.com/rohens-hbg/p/7422828.html

 

2、hostapd相关

hostapd使用

http://w1.fi/hostapd/

hostapd源代码分析(一):网络接口和BSS的初始化

hostapd源代码分析(二):hostapd的工做机制

hostapd源代码分析(三):管理帧的收发和处理

 

3、wpa_supplicant相关

http://w1.fi/wpa_supplicant/devel/

wpa_supplicant及wpa_cli使用方法

相关文章
相关标签/搜索