【轉】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使用方法

相關文章
相關標籤/搜索