Phi*_*pos 8 debian wlan access-point hostapd
我在嵌入式设备上的 jessie 上,试图将 WLAN 设置为 AP 模式。当我尝试
# /usr/sbin/hostapd -P /run/hostapd.wlan0.pid /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ACS: Automatic channel selection started, this may take a bit
wlan0: interface state UNINITIALIZED->ACS
wlan0: ACS-STARTED
ACS: Unable to collect survey data
ACS: All study options have failed
Interface initialization failed
wlan0: interface state ACS->DISABLED
wlan0: AP-DISABLED
ACS: Possibly channel configuration is invalid, please report this along with your config file.
ACS: Failed to start
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started
wlan0: interface state DISABLED->DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started
Run Code Online (Sandbox Code Playgroud)
我的配置文件是:
# cat /etc/hostapd/hostapd.conf
interface=wlan0
driver=nl80211
channel=acs
hw_mode=g
wmm_enabled=0
max_num_sta=1
ssid=foobarfoo
Run Code Online (Sandbox Code Playgroud)
错误消息可以在网络搜索中找到,但解决方案不适合我:我不使用?etwork-manager,nl80211驱动程序在不同的设备上工作(手工 buildroot 系统),hostapd版本是v2.3(不是错误的v2.1)
知道如何进一步缩小问题吗?
编辑:随着channel=1它运行,所以这绝对是一个 ACS 问题,但是我可以尝试找出问题的根源吗?
| 归档时间: |
|
| 查看次数: |
4494 次 |
| 最近记录: |