1.首先需要介绍一下什么是wpa_supplicant,请看维基百科的词条。
2.下面是3篇不错的文章:
(1)《wpa_supplicant无线网络配置》(链接)。
(2)《wpa_supplicant 移植及 linux 命令行模式配置无线上网》(链接)。
(3)《 Linux无线网络设置(wpa_supplicant的使用)》(链接)。
3.下面这篇文章(出处在这里)比较简介,正符合我这种“伸手懒人”的口味!:P
WPS Linux documentation page
WPS, Wi-Fi Protected Setup is a standard created by Wi-Fi Alliance for easier installation of a secure wireless home network. Using WPS a user can configure a connection between a station and an access point without knowledge of the network password or other wireless settings.
Station side
WPS PBC
wpa_cli wps_pbc [BSSID]
WPS PIN
wpa_cli wps_pin <BSSID | any> [pin_number]
AP side
WPS PBC
hostapd_cli wps_pbc
WPS PIN
hostapd_cli wps_pin <UUID | any> <pin>