我正在尝试使用 Kernel v4.8 在 Ubuntu 16.10 中设置 Wifi 适配器(Qualcomm Atheros Sparrow 802.11ad)以在 AP 模式下工作wpa_supplicant v2.4。我执行以下步骤:
我使用从wil6210 网站/etc/wpa_supplicant.conf获取的以下配置创建一个配置文件:
ap_scan=2
network={
frequency=60480
ssid="the_ssid_string"
mode=2
key_mgmt=NONE
}
Run Code Online (Sandbox Code Playgroud)我运行以下命令来初始化wpa_supplicant:
wpa_supplicant -Dnl80211 -iwlp2s0 -c/etc/wpa_supplicant.conf
我收到一条错误,表明wpa_supplicant无法解析ap_scan,因此我省略此行进行测试,然后再次执行,并收到以下新错误:
Successfully initialized wpa_supplicant
Failed to create interface p2p-dev-wlp2s0: -22 (Invalid argument)
nl80211: Failed to create a P2P Device interface p2p-dev-wlp2s0
P2P: Failed to enable P2P Device interface
wlp2s0: Failed to start AP functionality
Run Code Online (Sandbox Code Playgroud)有任何线索如何解决这个问题吗?
这是详细的调试输出:
wpa_supplicant v2.4
random: Trying to …Run Code Online (Sandbox Code Playgroud) wireless networking wireless-access-point wpa-supplicant drivers