您尚未登录。

楼主 #1 2020-05-27 11:57:44

拉轰的脚踏车
会员
注册时间: 2020-03-20
已发帖子: 288
积分: 222

我的A64 + AP6212 板子 wpa_supplicant 连 WIFI 热点正常,但是运行hostapd出错,请问这是为什么呢?

wpa_supplicant 一切正常:

# wpa_supplicant -i wlan0 -D nl80211 -c /etc/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant


# udhcpc -i wlan0
udhcpc: started, v1.31.0
[   80.342527] random: mktemp: uninitialized urandom read (6 bytes read)
udhcpc: sending discover
udhcpc: sending select for 192.168.43.14
udhcpc: lease of 192.168.43.14 obtained, lease time 3599
deleting routers

运行 hostapd 出错:

# hostapd /etc/hostapd2.conf
Configuration file: /etc/hostapd2.conf
Could not read interface wlan0            flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0            disabled_11b_rates=0
Could not read interface wlan0            flags: No such device
nl80211 driver initialization failed.
wlan0           : interface state UNINITIALIZED->DISABLED
wlan0           : AP-DISABLED
wlan0           : CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0            wasn't started

/etc/hostapd2.conf 内容:

interface=wlan0
driver=nl80211
ssid=mywifi
channel=1
wmm_enabled=0
wpa=3
wpa_passphrase=wa12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0

离线

楼主 #2 2020-05-27 11:58:17

拉轰的脚踏车
会员
注册时间: 2020-03-20
已发帖子: 288
积分: 222

Re: 我的A64 + AP6212 板子 wpa_supplicant 连 WIFI 热点正常,但是运行hostapd出错,请问这是为什么呢?

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn