首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >主机-wpe不工作,但无线适配器支持AP模式?

主机-wpe不工作,但无线适配器支持AP模式?
EN

Ask Ubuntu用户
提问于 2016-03-11 05:16:45
回答 1查看 1.1K关注 0票数 0

对不起,如果已经问了,但我只是找不到任何问题的解决方案,实际上对我有用。

我基本上下载了hostapd,修补了它,运行了make和所有东西。我还配置了hostapd-wpe.conf,以确保接口设置为wlan0。但是,在运行./hostapd-wpe hostapd-wpe.conf时仍然会遇到以下错误:

代码语言:javascript
复制
root@kali $ ./hostapd-wpe hostapd-wpe.conf 
Configuration file: hostapd-wpe.conf
Using interface wlan0 with hwaddr 60:e3:27:0a:ba:3a and ssid "hostapd-wpe"
OpenSSL: tls_global_ca_cert - Failed to load root certificates error:02001002:system library:fopen:No such file or directory
OpenSSL: pending error: error:2006D080:BIO routines:BIO_new_file:no such file
OpenSSL: pending error: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
Failed to set TLS parameters
Interface initialization failed
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED 
wlan0: Unable to setup interface.
hostapd_free_hapd_data: Interface wlan0 wasn't started

我有点不确定为什么,因为当我运行iw list时,它会在受支持的模式下显示"AP“。

我已经尝试过运行airmon-ng check kill和类似的命令,但它仍然给我带来了困难。

如有任何其他建议,将不胜感激。我正在使用TP链接TP-WN722N无线USB适配器。

EN

回答 1

Ask Ubuntu用户

发布于 2017-01-05 22:07:25

似乎您忘记了构建hostapd所需的认证项。看看你的日志:

代码语言:javascript
复制
OpenSSL: tls_global_ca_cert - Failed to load root certificates error:02001002:system library:fopen:No such file or directory
OpenSSL: pending error: error:2006D080:BIO routines:BIO_new_file:no such file
OpenSSL: pending error: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib

由于没有证书文件,所以hostapd-wpe将不会启动!

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/744544

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档