hostapd 调试信息

2024-02-12 04:08
文章标签 调试信息 hostapd

本文主要是介绍hostapd 调试信息,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

如果路由器配置为AP模式的时候,通过ps -w 可以看到,运行的进程如下:

17920 root      1844 S    /usr/sbin/hostapd -P /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.conf
17940 root      1840 S    /usr/sbin/hostapd -P /var/run/wifi-phy1.pid -B /var/run/hostapd-phy1.conf

18593 root      1368 S    {mwan3track} /bin/sh /usr/sbin/mwan3track wan eth0 2 1 2 5 3 8 208.67.220.220 208.67.222.222 8.8.8.8 8.8.
18715 root       788 S    /usr/sbin/autossh -M 20000    -i /etc/dropbear/id_rsa -N -T -R 2222:localhost:22 user@host
20731 root      6724 S    radiusd -i 192.168.3.1 -p 1812,1813 -Xx  这个是radius认证服务器的进程

由上面的信息可以知道,当前系统上面运行了radius服务器。

可以看看AP模式,hostapd中的内容是什么?:AP的配置信息如下:
root@OpenWrt:~# cat /var/run/hostapd-phy0.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=1
logger_stdout=127
logger_stdout_level=1
country_code=US
ieee80211d=1
hw_mode=g
channel=acs_survey
noscan=1
interface=wlan0
ctrl_interface=/var/run/hostapd
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
auth_server_addr=192.168.3.1
auth_server_port=1812
auth_server_shared_secret=testing123
acct_server_addr=192.168.3.1
acct_server_port=1813
acct_server_shared_secret=testing123
nas_identifier=
eapol_key_index_workaround=1
ieee8021x=1
wpa_key_mgmt=WPA-EAP
auth_algs=1
wpa=2
wpa_pairwise=TKIP
ssid=OpenWrt_2.4G_xue_2015
bridge=br-lan
okc=0
disable_pmksa_caching=1
bssid=aa:cc:bb:09:08:14


下面是一个基本的AP模式的配置信息:



下面的信息中有很多有用的信息,值得看看。下面是将hostapd运行在调试模式,其中记录了整个station接入的过程。

oot@OpenWrt:/etc# hostapd /etc/hostapd-phy1.conf -dd &

root@OpenWrt:/etc# Configuration file: /etc/hostapd-phy1.conf
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Using driver-based off-channel TX
nl80211: interface wlan1 in phy phy1
nl80211: Set mode ifindex 5 iftype 3 (AP)
nl80211: Setup AP(wlan1) - device_ap_sme=0 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x801508
nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x801508 match=
nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0x801508 match=
nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0x801508 match=
nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0x801508 match=
nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0x801508 match=
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x801508 match=
nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x801508 match=
nl80211: Add own interface ifindex 6
nl80211: if_indices[16]: 6
nl80211: Add own interface ifindex 5
nl80211: if_indices[16]: 6 5
nl80211: Adding interface wlan1 into bridge br-lan
phy: phy1
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Regulatory information - country=US (DFS-FCC)
nl80211: 2402-2472 @ 40 MHz 30 mBm
nl80211: 5170-5250 @ 80 MHz 17 mBm
nl80211: 5250-5330 @ 80 MHz 23 mBm (DFS)
nl80211: 5735-5835 @ 80 MHz 30 mBm
nl80211: 57240-63720 @ 2160 MHz 40 mBm
ACS: Automatic channel selection started, this may take a bit
ACS: Scanning 1 / 5
wlan1: nl80211: scan request
Scan requested (ret=0) - scan timeout 10 seconds
wlan1: interface state UNINITIALIZED->ACS
wlan1: ACS-STARTED 
Interface initialization will be completed in a callback (ACS)
RTM_NEWLINK: ifi_index=5 ifname=wlan1 operstate=33554432 linkmode=0 ifi_family=0 ifi_flags=0x1002 ()
nl80211: Ignore interface down event since interface wlan1 is up
RTM_NEWLINK: ifi_index=5 ifname=wlan1 operstate=33554432 linkmode=0 ifi_family=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK: ifi_index=5 ifname=wlan1 operstate=33554432 linkmode=0 master=6 ifi_family=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK: ifi_index=5 ifname=wlan1 operstate=33554432 linkmode=0 master=6 ifi_family=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK: ifi_index=5 ifname=wlan1 master=6 operstate=33554432 ifi_family=7 ifi_flags=0x1003 ([UP])
nl80211: Add ifindex 6 for bridge br-lan
nl80211: Add own interface ifindex 6
nl80211: ifindex 6 already in the list
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan1
wlan1: nl80211: Scan trigger
RTM_NEWLINK: ifi_index=5 ifname=wlan1 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan1
wlan1: nl80211: New scan results available
nl80211: Scan included frequencies: 5180 5200 5220 5240 5745 5765 5785 5805 5825
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=5180 MHz noise=-111 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5200 MHz noise=-110 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5220 MHz noise=-109 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5240 MHz noise=-108 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5260 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5280 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5300 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5320 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5745 MHz noise=-107 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5765 MHz noise=-108 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5785 MHz noise=-109 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5805 MHz noise=-108 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5825 MHz noise=-107 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
ACS: Scanning 2 / 5
wlan1: nl80211: scan request
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan1
wlan1: nl80211: Scan trigger
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan1
wlan1: nl80211: New scan results available
nl80211: Scan included frequencies: 5180 5200 5220 5240 5745 5765 5785 5805 5825
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=5180 MHz noise=-111 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5200 MHz noise=-111 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5220 MHz noise=-110 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5240 MHz noise=-109 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5260 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5280 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5300 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5320 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5745 MHz noise=-107 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5765 MHz noise=-105 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5785 MHz noise=-107 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5805 MHz noise=-108 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5825 MHz noise=-108 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
ACS: Scanning 3 / 5
wlan1: nl80211: scan request
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan1
wlan1: nl80211: Scan trigger
RTM_NEWLINK: ifi_index=5 ifname=wlan1 wext ifi_family=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK: ifi_index=5 ifname=wlan1 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan1
wlan1: nl80211: New scan results available
nl80211: Scan included frequencies: 5180 5200 5220 5240 5745 5765 5785 5805 5825
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=5180 MHz noise=-111 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5200 MHz noise=-111 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5220 MHz noise=-110 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5240 MHz noise=-109 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5260 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5280 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5300 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5320 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5745 MHz noise=-108 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5765 MHz noise=-109 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5785 MHz noise=-107 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5805 MHz noise=-108 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5825 MHz noise=-107 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
ACS: Scanning 4 / 5
wlan1: nl80211: scan request
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan1
wlan1: nl80211: Scan trigger
RTM_NEWLINK: ifi_index=5 ifname=wlan1 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan1
wlan1: nl80211: New scan results available
nl80211: Scan included frequencies: 5180 5200 5220 5240 5745 5765 5785 5805 5825
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=5180 MHz noise=-111 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5200 MHz noise=-111 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5220 MHz noise=-110 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5240 MHz noise=-108 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5260 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5280 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5300 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5320 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5745 MHz noise=-107 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5765 MHz noise=-107 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5785 MHz noise=-108 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5805 MHz noise=-108 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5825 MHz noise=-108 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
ACS: Scanning 5 / 5
wlan1: nl80211: scan request
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan1
wlan1: nl80211: Scan trigger
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan1
wlan1: nl80211: New scan results available
nl80211: Scan included frequencies: 5180 5200 5220 5240 5745 5765 5785 5805 5825
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=5180 MHz noise=-111 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5200 MHz noise=-110 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5220 MHz noise=-110 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5240 MHz noise=-109 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5260 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5280 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5300 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5320 MHz noise=0 channel_time=0 busy_time=0 tx_time=0 rx_time=0 filled=0000)
nl80211: Freq survey dump event (freq=5745 MHz noise=-106 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5765 MHz noise=-106 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5785 MHz noise=-109 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5805 MHz noise=-108 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
nl80211: Freq survey dump event (freq=5825 MHz noise=-108 channel_time=167 busy_time=0 tx_time=0 rx_time=0 filled=000b)
ACS: Trying survey-based ACS
ACS: Survey analysis for channel 36 (5180 MHz)
ACS: 1: min_nf=-111 interference_factor=6.30957e-23 nf=-111 time=167 busy=0 rx=0
ACS: 2: min_nf=-111 interference_factor=6.30957e-23 nf=-111 time=167 busy=0 rx=0
ACS: 3: min_nf=-111 interference_factor=6.30957e-23 nf=-111 time=167 busy=0 rx=0
ACS: 4: min_nf=-111 interference_factor=6.30957e-23 nf=-111 time=167 busy=0 rx=0
ACS: 5: min_nf=-111 interference_factor=6.30957e-23 nf=-111 time=167 busy=0 rx=0
ACS:  * interference factor average: 6.30957e-23
ACS: Survey analysis for channel 40 (5200 MHz)
ACS: 1: min_nf=-111 interference_factor=1e-22 nf=-110 time=167 busy=0 rx=0
ACS: 2: min_nf=-111 interference_factor=6.30957e-23 nf=-111 time=167 busy=0 rx=0
ACS: 3: min_nf=-111 interference_factor=6.30957e-23 nf=-111 time=167 busy=0 rx=0
ACS: 4: min_nf=-111 interference_factor=6.30957e-23 nf=-111 time=167 busy=0 rx=0
ACS: 5: min_nf=-111 interference_factor=1e-22 nf=-110 time=167 busy=0 rx=0
ACS:  * interference factor average: 7.78574e-23
ACS: Survey analysis for channel 44 (5220 MHz)
ACS: 1: min_nf=-110 interference_factor=1.58489e-22 nf=-109 time=167 busy=0 rx=0
ACS: 2: min_nf=-110 interference_factor=1e-22 nf=-110 time=167 busy=0 rx=0
ACS: 3: min_nf=-110 interference_factor=1e-22 nf=-110 time=167 busy=0 rx=0
ACS: 4: min_nf=-110 interference_factor=1e-22 nf=-110 time=167 busy=0 rx=0
ACS: 5: min_nf=-110 interference_factor=1e-22 nf=-110 time=167 busy=0 rx=0
ACS:  * interference factor average: 1.11698e-22
ACS: Survey analysis for channel 48 (5240 MHz)
ACS: 1: min_nf=-109 interference_factor=2.51189e-22 nf=-108 time=167 busy=0 rx=0
ACS: 2: min_nf=-109 interference_factor=1.58489e-22 nf=-109 time=167 busy=0 rx=0
ACS: 3: min_nf=-109 interference_factor=1.58489e-22 nf=-109 time=167 busy=0 rx=0
ACS: 4: min_nf=-109 interference_factor=2.51189e-22 nf=-108 time=167 busy=0 rx=0
ACS: 5: min_nf=-109 interference_factor=1.58489e-22 nf=-109 time=167 busy=0 rx=0
ACS:  * interference factor average: 1.95569e-22
ACS: Survey analysis for channel 149 (5745 MHz)
ACS: 1: min_nf=-108 interference_factor=3.98107e-22 nf=-107 time=167 busy=0 rx=0
ACS: 2: min_nf=-108 interference_factor=3.98107e-22 nf=-107 time=167 busy=0 rx=0
ACS: 3: min_nf=-108 interference_factor=2.51189e-22 nf=-108 time=167 busy=0 rx=0
ACS: 4: min_nf=-108 interference_factor=3.98107e-22 nf=-107 time=167 busy=0 rx=0
ACS: 5: min_nf=-108 interference_factor=6.30957e-22 nf=-106 time=167 busy=0 rx=0
ACS:  * interference factor average: 4.15293e-22
ACS: Survey analysis for channel 153 (5765 MHz)
ACS: 1: min_nf=-109 interference_factor=2.51189e-22 nf=-108 time=167 busy=0 rx=0
ACS: 2: min_nf=-109 interference_factor=1e-21 nf=-105 time=167 busy=0 rx=0
ACS: 3: min_nf=-109 interference_factor=1.58489e-22 nf=-109 time=167 busy=0 rx=0
ACS: 4: min_nf=-109 interference_factor=3.98107e-22 nf=-107 time=167 busy=0 rx=0
ACS: 5: min_nf=-109 interference_factor=6.30957e-22 nf=-106 time=167 busy=0 rx=0
ACS:  * interference factor average: 4.87748e-22
ACS: Survey analysis for channel 157 (5785 MHz)
ACS: 1: min_nf=-109 interference_factor=1.58489e-22 nf=-109 time=167 busy=0 rx=0
ACS: 2: min_nf=-109 interference_factor=3.98107e-22 nf=-107 time=167 busy=0 rx=0
ACS: 3: min_nf=-109 interference_factor=3.98107e-22 nf=-107 time=167 busy=0 rx=0
ACS: 4: min_nf=-109 interference_factor=2.51189e-22 nf=-108 time=167 busy=0 rx=0
ACS: 5: min_nf=-109 interference_factor=1.58489e-22 nf=-109 time=167 busy=0 rx=0
ACS:  * interference factor average: 2.72876e-22
ACS: Survey analysis for channel 161 (5805 MHz)
ACS: 1: min_nf=-108 interference_factor=2.51189e-22 nf=-108 time=167 busy=0 rx=0
ACS: 2: min_nf=-108 interference_factor=2.51189e-22 nf=-108 time=167 busy=0 rx=0
ACS: 3: min_nf=-108 interference_factor=2.51189e-22 nf=-108 time=167 busy=0 rx=0
ACS: 4: min_nf=-108 interference_factor=2.51189e-22 nf=-108 time=167 busy=0 rx=0
ACS: 5: min_nf=-108 interference_factor=2.51189e-22 nf=-108 time=167 busy=0 rx=0
ACS:  * interference factor average: 2.51189e-22
ACS: Survey analysis for channel 165 (5825 MHz)
ACS: 1: min_nf=-108 interference_factor=3.98107e-22 nf=-107 time=167 busy=0 rx=0
ACS: 2: min_nf=-108 interference_factor=2.51189e-22 nf=-108 time=167 busy=0 rx=0
ACS: 3: min_nf=-108 interference_factor=3.98107e-22 nf=-107 time=167 busy=0 rx=0
ACS: 4: min_nf=-108 interference_factor=2.51189e-22 nf=-108 time=167 busy=0 rx=0
ACS: 5: min_nf=-108 interference_factor=2.51189e-22 nf=-108 time=167 busy=0 rx=0
ACS:  * interference factor average: 3.09956e-22
ACS: Survey analysis for selected bandwidth 80 MHz
ACS:  * channel 36: total interference = 4.4822e-22
ACS: Channel 40: not allowed as primary channel for HT40
ACS: Channel 44: not allowed as primary channel for VHT80
ACS: Channel 48: not allowed as primary channel for HT40
ACS:  * channel 149: total interference = 1.42711e-21
ACS: Channel 153: not allowed as primary channel for HT40
ACS: Channel 157: not allowed as primary channel for VHT80
ACS: Channel 161: not allowed as primary channel for HT40
ACS: Channel 165: not allowed as primary channel for HT40
ACS: Ideal channel is 36 (5180 MHz) with total interference factor of 4.4822e-22
ACS: Adjusting VHT center frequency
wlan1: ACS-COMPLETED freq=5180 channel=36
wlan1: interface state ACS->HT_SCAN
wlan1: nl80211: scan request
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: ifi_index=5 ifname=wlan1 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan1
wlan1: nl80211: Scan trigger
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan1
wlan1: nl80211: New scan results available
nl80211: Scan included frequencies: 5180 5200
nl80211: Received scan results (1 BSSes)
Completing interface initializationMode: IEEE 802.11a  Channel: 36  Frequency: 5180 MHz========hostapd_set_freq_params=8888888=============
8888888nl80211: Set freq 5180 (ht_enabled=1, vht_enabled=1, bandwidth=80 MHz, cf1=5210 MHz, cf2=0 MHz)hostapd_setup_bss(hapd=0x8007f8 (wlan1), first=1)
wlan1: Flushing old station entries
nl80211: flush -> DEL_STATION wlan1 (all)
wlan1: Deauthenticate all stations
nl80211: send_mlme - da= ff:ff:ff:ff:ff:ff noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0xc0 (WLAN_FC_STYPE_DEAUTH) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: Frame command failed: ret=-16 (Device or resource busy) (freq=5180 wait=0)
wpa_driver_nl80211_set_key: ifindex=5 (wlan1) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan1) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan1) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=5 (wlan1) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan1 with hwaddr 00:aa:bb:22:44:8b and ssid "OpenWrt_5.8G-xue-2015"
========hostapd_set_freq_params=8888888=============
8888888nl80211: Set beacon (beacon_set=0)
nl80211: Beacon head - hexdump(len=72): 80 00 00 00 ff ff ff ff ff ff 00 aa bb 22 44 8b 00 aa bb 22 44 8b 00 00 00 00 00 00 00 00 00 00 64 00 21 00 00 15 4f 70 65 6e 57 72 74 5f 35 2e 38 47 2d 78 75 65 2d 32 30 31 35 01 08 8c 12 98 24 b0 48 60 6c 03 01 24
nl80211: Beacon tail - hexdump(len=109): 2d 1a ef 19 1b ff ff ff 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 3d 16 24 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 08 00 00 00 00 00 00 00 40 bf 0c b2 00 80 33 ea ff 00 00 ea ff 00 00 c0 05 01 2a 00 fc ff dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
nl80211: ifindex=5
nl80211: beacon_int=100
nl80211: dtim_period=2
nl80211: ssid - hexdump_ascii(len=21):
     4f 70 65 6e 57 72 74 5f 35 2e 38 47 2d 78 75 65   OpenWrt_5.8G-xue
     2d 32 30 31 35                                    -2015           
nl80211: hidden SSID not in use
nl80211: privacy=0
nl80211: auth_algs=0x1
nl80211: wpa_version=0x0
nl80211: key_mgmt_suites=0x2
nl80211: pairwise_ciphers=0x1
nl80211: group_cipher=0x1
nl80211: SMPS mode - off
nl80211: beacon_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: proberesp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: assocresp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: Set wlan1 operstate 0->1 (UP)
wlan1: interface state HT_SCAN->ENABLED
wlan1: AP-ENABLED 
wlan1: Setup of interface done.
RTM_NEWLINK: ifi_index=5 ifname=wlan1 wext ifi_family=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK: ifi_index=5 ifname=wlan1 master=6 operstate=100663296 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
nl80211: Add ifindex 6 for bridge br-lan
nl80211: Add own interface ifindex 6
nl80211: ifindex 6 already in the list
RTM_NEWLINK: ifi_index=5 ifname=wlan1 master=6 operstate=100663296 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
nl80211: Add ifindex 6 for bridge br-lan
nl80211: Add own interface ifindex 6
nl80211: ifindex 6 already in the list
RTM_NEWLINK: ifi_index=5 ifname=wlan1 master=6 operstate=100663296 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
nl80211: Add ifindex 6 for bridge br-lan
nl80211: Add own interface ifindex 6
nl80211: ifindex 6 already in the list
RTM_NEWLINK: ifi_index=5 ifname=wlan1 operstate=100663296 linkmode=0 master=6 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK: ifi_index=5 ifname=wlan1 master=6 operstate=100663296 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
nl80211: Add ifindex 6 for bridge br-lan
nl80211: Add own interface ifindex 6
nl80211: ifindex 6 already in the list


root@OpenWrt:/etc# iw dev
phy#1
        Interface wlan1
                ifindex 5
                wdev 0x100000001
                addr 00:aa:bb:22:44:8b
                ssid OpenWrt_5.8G-xue-2015
                type AP
                channel 36 (5180 MHz), width: 80 MHz, center1: 5210 MHz
phy#0
        Interface wlan0
                ifindex 4
                wdev 0x1
                addr 00:aa:bb:22:44:8a
                type managed
root@OpenWrt:/etc# nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-75 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=134
nl80211: send_mlme - da= 6c:b0:ce:40:e3:63 noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-76 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=134
nl80211: send_mlme - da= 6c:b0:ce:40:e3:63 noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-75 stype=11 (WLAN_FC_STYPE_AUTH) len=41
wlan1: STA 6c:b0:ce:40:e3:63 IEEE 802.11: authentication OK (open system)
wlan1: STA 6c:b0:ce:40:e3:63 MLME: MLME-AUTHENTICATE.indication(6c:b0:ce:40:e3:63, OPEN_SYSTEM)
wlan1: STA 6c:b0:ce:40:e3:63 MLME: MLME-DELETEKEYS.request(6c:b0:ce:40:e3:63)
nl80211: send_mlme - da= 6c:b0:ce:40:e3:63 noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0xb0 (WLAN_FC_STYPE_AUTH) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: Drv Event 60 (NL80211_CMD_FRAME_TX_STATUS) received for wlan1
nl80211: Frame TX status event
wlan1: STA 6c:b0:ce:40:e3:63 IEEE 802.11: authenticated
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-76 stype=0 (WLAN_FC_STYPE_ASSOC_REQ) len=177
========hostapd_set_freq_params=8888888=============
8888888nl80211: Set beacon (beacon_set=1)
nl80211: Beacon head - hexdump(len=72): 80 00 00 00 ff ff ff ff ff ff 00 aa bb 22 44 8b 00 aa bb 22 44 8b 00 00 00 00 00 00 00 00 00 00 64 00 01 00 00 15 4f 70 65 6e 57 72 74 5f 35 2e 38 47 2d 78 75 65 2d 32 30 31 35 01 08 8c 12 98 24 b0 48 60 6c 03 01 24
nl80211: Beacon tail - hexdump(len=109): 2d 1a ef 19 1b ff ff ff 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 3d 16 24 05 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 08 00 00 00 00 00 00 00 40 bf 0c b2 00 80 33 ea ff 00 00 ea ff 00 00 c0 05 01 2a 00 fc ff dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
nl80211: ifindex=5
nl80211: beacon_int=100
nl80211: dtim_period=2
nl80211: ssid - hexdump_ascii(len=21):
     4f 70 65 6e 57 72 74 5f 35 2e 38 47 2d 78 75 65   OpenWrt_5.8G-xue
     2d 32 30 31 35                                    -2015           
nl80211: hidden SSID not in use
nl80211: privacy=0
nl80211: auth_algs=0x1
nl80211: wpa_version=0x0
nl80211: key_mgmt_suites=0x2
nl80211: pairwise_ciphers=0x1
nl80211: group_cipher=0x1
nl80211: SMPS mode - off
nl80211: beacon_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: proberesp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: assocresp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
wlan1: STA 6c:b0:ce:40:e3:63 IEEE 802.11: association OK (aid 1)
nl80211: send_mlme - da= 6c:b0:ce:40:e3:63 noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x10 (WLAN_FC_STYPE_ASSOC_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: Drv Event 60 (NL80211_CMD_FRAME_TX_STATUS) received for wlan1
nl80211: Frame TX status event
wlan1: STA 6c:b0:ce:40:e3:63 IEEE 802.11: associated (aid 1)
wlan1: AP-STA-CONNECTED 6c:b0:ce:40:e3:63
wlan1: STA 6c:b0:ce:40:e3:63 MLME: MLME-ASSOCIATE.indication(6c:b0:ce:40:e3:63)
wlan1: STA 6c:b0:ce:40:e3:63 MLME: MLME-DELETEKEYS.request(6c:b0:ce:40:e3:63)
nl80211: sta_remove -> DEL_STATION wlan1 6c:b0:ce:40:e3:63 --> -2 (No such file or directory)
nl80211: Add STA 6c:b0:ce:40:e3:63
  * supported rates - hexdump(len=8): 8c 12 98 24 b0 48 60 6c
  * aid=1
  * listen_interval=10
  * ht_capabilities - hexdump(len=26): 6f 08 1e ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  * vht_capabilities - hexdump(len=12): 32 00 80 0f fa ff 00 00 fa ff 00 00
  * capability=0x1
  * flags set=0xa mask=0xa
  * qosinfo=0x0
nl80211: Set STA flags - ifname=wlan1 addr=6c:b0:ce:40:e3:63 total_flags=0x3 flags_or=0x3 flags_and=0xfffffff3 authorized=1
wlan1: STA 6c:b0:ce:40:e3:63 RADIUS: starting accounting session 554C8F7E-00000000
hostapd_new_assoc_sta: reschedule ap_handle_timer timeout for 6c:b0:ce:40:e3:63 (300 seconds - ap_max_inactivity)
nl80211: Drv Event 19 (NL80211_CMD_NEW_STATION) received for wlan1
nl80211: New station 6c:b0:ce:40:e3:63
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=04:5f:a7:04:c4:22 freq=5180 ssi_signal=-77 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=78
nl80211: send_mlme - da= 04:5f:a7:04:c4:22 noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=04:5f:a7:04:c4:22 freq=5180 ssi_signal=-77 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=78
nl80211: send_mlme - da= 04:5f:a7:04:c4:22 noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=b0:ee:45:59:d8:8f freq=5180 ssi_signal=-84 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=253
nl80211: send_mlme - da= b0:ee:45:59:d8:8f noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=b0:ee:45:59:d8:8f freq=5180 ssi_signal=-84 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=253
nl80211: send_mlme - da= b0:ee:45:59:d8:8f noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-73 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=131
nl80211: send_mlme - da= 6c:b0:ce:40:e3:63 noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-73 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=131
nl80211: send_mlme - da= 6c:b0:ce:40:e3:63 noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-73 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=152
nl80211: send_mlme - da= 6c:b0:ce:40:e3:63 noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: Drv Event 60 (NL80211_CMD_FRAME_TX_STATUS) received for wlan1
nl80211: Frame TX status event
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-72 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=152
nl80211: send_mlme - da= 6c:b0:ce:40:e3:63 noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: Drv Event 60 (NL80211_CMD_FRAME_TX_STATUS) received for wlan1
nl80211: Frame TX status event
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-76 stype=10 (WLAN_FC_STYPE_DISASSOC) len=26
wlan1: AP-STA-DISCONNECTED 6c:b0:ce:40:e3:63
wlan1: STA 6c:b0:ce:40:e3:63 IEEE 802.11: disassociated
nl80211: sta_remove -> DEL_STATION wlan1 6c:b0:ce:40:e3:63 --> 0 (Success)
wlan1: STA 6c:b0:ce:40:e3:63 MLME: MLME-DISASSOCIATE.indication(6c:b0:ce:40:e3:63, 8)
wlan1: STA 6c:b0:ce:40:e3:63 MLME: MLME-DELETEKEYS.request(6c:b0:ce:40:e3:63)
nl80211: Drv Event 20 (NL80211_CMD_DEL_STATION) received for wlan1
nl80211: Delete station 6c:b0:ce:40:e3:63
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-75 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=131
nl80211: send_mlme - da= 6c:b0:ce:40:e3:63 noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-73 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=131
nl80211: send_mlme - da= 6c:b0:ce:40:e3:63 noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
nl80211: send_mlme - da= 6c:b0:ce:40:e3:63 noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0xc0 (WLAN_FC_STYPE_DEAUTH) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=5180
nl80211: send_frame -> send_frame_cmd
wlan1: STA 6c:b0:ce:40:e3:63 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
wlan1: STA 6c:b0:ce:40:e3:63 MLME: MLME-DEAUTHENTICATE.indication(6c:b0:ce:40:e3:63, 2)
wlan1: STA 6c:b0:ce:40:e3:63 MLME: MLME-DELETEKEYS.request(6c:b0:ce:40:e3:63)
nl80211: sta_remove -> DEL_STATION wlan1 6c:b0:ce:40:e3:63 --> -2 (No such file or directory)
========hostapd_set_freq_params=8888888=============
8888888nl80211: Set beacon (beacon_set=1)
nl80211: Beacon head - hexdump(len=72): 80 00 00 00 ff ff ff ff ff ff 00 aa bb 22 44 8b 00 aa bb 22 44 8b 00 00 00 00 00 00 00 00 00 00 64 00 21 00 00 15 4f 70 65 6e 57 72 74 5f 35 2e 38 47 2d 78 75 65 2d 32 30 31 35 01 08 8c 12 98 24 b0 48 60 6c 03 01 24
nl80211: Beacon tail - hexdump(len=109): 2d 1a ef 19 1b ff ff ff 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 3d 16 24 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 08 00 00 00 00 00 00 00 40 bf 0c b2 00 80 33 ea ff 00 00 ea ff 00 00 c0 05 01 2a 00 fc ff dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
nl80211: ifindex=5
nl80211: beacon_int=100
nl80211: dtim_period=2
nl80211: ssid - hexdump_ascii(len=21):
     4f 70 65 6e 57 72 74 5f 35 2e 38 47 2d 78 75 65   OpenWrt_5.8G-xue
     2d 32 30 31 35                                    -2015           
nl80211: hidden SSID not in use
nl80211: privacy=0
nl80211: auth_algs=0x1
nl80211: wpa_version=0x0
nl80211: key_mgmt_suites=0x2
nl80211: pairwise_ciphers=0x1
nl80211: group_cipher=0x1
nl80211: SMPS mode - off
nl80211: beacon_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: proberesp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: assocresp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40
nl80211: Drv Event 60 (NL80211_CMD_FRAME_TX_STATUS) received for wlan1
nl80211: Frame TX status event
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-78 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=136
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-78 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=136
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-78 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=150
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-78 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=150
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-78 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=143
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-79 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=143
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-79 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=148
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-78 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=148
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-78 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=148
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-78 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=148
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-79 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=142
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-78 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=142
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-77 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=150
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-77 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=150
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-78 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=146
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-77 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=146
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-79 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=150
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-78 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=150
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-78 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=150
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlan1
nl80211: RX frame sa=6c:b0:ce:40:e3:63 freq=5180 ssi_signal=-78 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=150

这篇关于hostapd 调试信息的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/701621

相关文章

学习记录-Qt将调试信息保存到文件

如果能将调试信息打印到文件,那软件发布到其他机器运行时,就可以记录软件运行的异常情况了。 查看手册,Qt 的QtMsgHandler qInstallMsgHandler ( QtMsgHandler handler )函数可以安装一个自定义的消息处理函数,自带的例子如下: #include <qapplication.h>#include <stdio.h>#include <stdl

让linux下无线网卡变身随身wifi----hostapd移植-Nazgul

有了前面的检测,确定了我们的网卡是能够拥有热点共享功能的,但是如何让它共享出来呢? 于是有了这篇文章的诞生,hostapd移植 hostapd    可以让我们的网线网卡变成热点 1、下载     git clone git://w1.fi/srv/git/hostap.git   得到hostap目录,但是里面wpa_supplicant and hostapd的结合在

QT-Dump工具,软件奔溃自动生成本地调试信息

QT-Dump工具,软件奔溃自动生成本地调试信息 一、演示效果 二、关键代码 1.Release Vs配置 2.测试代码 代码如下(示例): InitDumpTool();QMessageBox::information(this, u8"提示", u8"触发一个崩溃", QMessageBox::Yes);// 这里触发一个崩溃QLabel *pLabel = nullpt

C/C++|如何使用GDB调试不带调试信息的可执行程序

release 和 debug 版本的区别 编译器优化 • release 版本:通常启用编译器优化(例如 -O2 或 -O3 标志),以最大化性能。编译器会尝试进行代码优化,比如内联函数、消除死代码、优化循环、减少函数调用等,从而生成运行效率更高的代码。 • debug 版本:通常禁用编译器优化(使用 -O0),以便于调试。这样可以确保生成的机器代码与源代码尽可能保持一致,使得调试器能够准确映

VS2022 - 制作自己的C#类库dll,并输出Unity识别的pdb调试信息文件

然后编写库代码,设置dll生成目录 *** 输出unity可以识别的pdb调试信息文件 *** 右键项目-属性-生成-高级-调试信息:可移植(Portable PDB) 这是因为Unity只能识别MDB和Portable PDB文件 这样设置后,把dll和pdb文件放入到Unity中同文件夹下,就可以在Unity中断点调试dll中的代码了

嵌入式开发输出调试信息的常用方法

嵌入式开发为什么需要输出调试信息? 稳严文:因为输出调试信息是嵌入式开发中一项非常重要的实践,它有助于保证软件的可靠性、稳定性和性能,也是故障排查的关键工具之一。 白话文:程序猿想知道自己敲的代码是否正确、是否按照要求运行,但是代码跑起来看不见、摸不着,那么就可以通过输出调试信息可以自由看到结果。 嵌入式开发输出调试信息主要有以下作用: 错误排查与问题定位 输出调试信息可以帮助你在代码中发现

其他开发-MFC关联控制台用于显示调试信息

//关联一个控制台     AllocConsole();     //取得控制台句柄     HANDLE m_hdlWrite = GetStdHandle(STD_OUTPUT_HANDLE);     //输出的字符串     CString inforCStr = _T("读取结果为:******!\n");     //输出字符串到控制台窗口里     WriteConsole

SSH如何实时查看调试信息

cat /var/log/*.log 如果日志在更新,如何实时查看 tail -f /var/log/messages 还可以使用 watch -d -n 1 cat /var/log/messages -d表示高亮不同的地方,-n表示多少秒刷新一次。 该指令,不会直接返回命令行,而是实时打印日志文件中新增加的内容,这一特性,对于查看日志是非常有效的。如果想终止输出,按 Ctrl+C 即可。 Q

adb打印内核调试信息dmsg和kmsg说明

Android的log信息分为内核空间和用户空间中LOG,查看用户空间(也就是app等上层的log)的log直接用logcat就可以了,如果想过滤一些信息就用adb shell “logcat | grep -E ‘log_xxx|log_aaa’”命令,这样log只会显示含有log_aaa和log_xxx的log信息了。上层的log信息大家基本都会查看,我们这里就只说用adb查看内核的log信息

Ubuntu 下用hostapd创建AP热点

由于手机流量很容易就用完了,而且在学校又是用的校园网,笔记本共享无线wifi是非常普遍的事,对于windows平台,除去windows自带的,各种软件简直是漫天飞, 但是到了Linux上面,软件就比较少了,而Ubuntu自带的是Ad-hoc热点,很多安卓手机并不支持,在网上挖了两天的资料,终于找出一些靠谱的方案,下面就是其中一个 方法。 我的电脑是Ubuntu13.10,网卡是athe