Firefly开源社区

标题: rk3399 ubuntu环境设置无线网卡ap热点为ACS模式失败 [打印本页]

作者: 人间惆怅客    时间: 2021-8-2 16:59
标题: rk3399 ubuntu环境设置无线网卡ap热点为ACS模式失败
打印信息如下:
root@firefly:/home/firefly/hostapd-2.9/hostapd#
root@firefly:/home/firefly/hostapd-2.9/hostapd#
root@firefly:/home/firefly/hostapd-2.9/hostapd# hostapd hostapd.conf
Configuration file: 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
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
wlan0: interface state DISABLED->DISABLED
wlan0: interface state DISABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
root@firefly:/home/firefly/hostapd-2.9/hostapd#

hostapd版本为2.9,安装的时候已经在defconfig里面设置了CONFIG_ACS=y ,安装后还是启用不了。hostapd.config文件如下:

interface=wlan0
driver=nl80211

logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=xinxihuatest
hw_mode=g
channel=acs_survey
acs_num_scans=5
acs_chan_bias=1:0.8 6:0.8 11:0.8
chanlist=100 104 108 112 116
chanlist=1 6 11-13
beacon_int=100
max_num_sta=255
rts_threshold=-1
fragm_threshold=-1
macaddr_acl=0
auth_algs=3
ignore_broadcast_ssid=0
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
wpa=2
wpa_passphrase=admin123789
wpa_key_mgmt=WPA-PSK WPA-EAP
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP

有大佬遇到过类似情况吗?

































欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1