Advertisement
Guest User

hostapd troubleshooting

a guest
Oct 29th, 2015
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.63 KB | None | 0 0
  1. iw.list
  2. ```
  3. Wiphy phy0
  4.         max # scan SSIDs: 20
  5.         max scan IEs length: 425 bytes
  6.         max # sched scan SSIDs: 20
  7.         max # match sets: 11
  8.         Retry short limit: 7
  9.         Retry long limit: 4
  10.         Coverage class: 0 (up to 0m)
  11.         Device supports RSN-IBSS.
  12.         Device supports AP-side u-APSD.
  13.         Supported Ciphers:
  14.                 * WEP40 (00-0f-ac:1)
  15.                 * WEP104 (00-0f-ac:5)
  16.                 * TKIP (00-0f-ac:2)
  17.                 * CCMP (00-0f-ac:4)
  18.                 * 00-0f-ac:10
  19.                 * GCMP (00-0f-ac:8)
  20.                 * 00-0f-ac:9
  21.                 * CMAC (00-0f-ac:6)
  22.                 * 00-0f-ac:13
  23.                 * 00-0f-ac:11
  24.                 * 00-0f-ac:12
  25.         Available Antennas: TX 0 RX 0
  26.         Supported interface modes:
  27.                  * IBSS
  28.                  * managed
  29.                  * AP
  30.                  * AP/VLAN
  31.                  * monitor
  32.                  * P2P-client
  33.                  * P2P-GO
  34.                  * P2P-device
  35.         Band 1:
  36.                 Capabilities: 0x11e2
  37.                         HT20/HT40
  38.                         Static SM Power Save
  39.                         RX HT20 SGI
  40.                         RX HT40 SGI
  41.                         TX STBC
  42.                         RX STBC 1-stream
  43.                         Max AMSDU length: 3839 bytes
  44.                         DSSS/CCK HT40
  45.                 Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
  46.                 Minimum RX AMPDU time spacing: 4 usec (0x05)
  47.                 HT Max RX data rate: 300 Mbps
  48.                 HT TX/RX MCS rate indexes supported: 0-15
  49.                 Bitrates (non-HT):
  50.                         * 1.0 Mbps
  51.                         * 2.0 Mbps (short preamble supported)
  52.                         * 5.5 Mbps (short preamble supported)
  53.                         * 11.0 Mbps (short preamble supported)
  54.                         * 6.0 Mbps
  55.                         * 9.0 Mbps
  56.                         * 12.0 Mbps
  57.                         * 18.0 Mbps
  58.                         * 24.0 Mbps
  59.                         * 36.0 Mbps
  60.                         * 48.0 Mbps
  61.                         * 54.0 Mbps
  62.                 Frequencies:
  63.                         * 2412 MHz [1] (22.0 dBm)
  64.                         * 2417 MHz [2] (22.0 dBm)
  65.                         * 2422 MHz [3] (22.0 dBm)
  66.                         * 2427 MHz [4] (22.0 dBm)
  67.                         * 2432 MHz [5] (22.0 dBm)
  68.                         * 2437 MHz [6] (22.0 dBm)
  69.                         * 2442 MHz [7] (22.0 dBm)
  70.                         * 2447 MHz [8] (22.0 dBm)
  71.                         * 2452 MHz [9] (22.0 dBm)
  72.                         * 2457 MHz [10] (22.0 dBm)
  73.                         * 2462 MHz [11] (22.0 dBm)
  74.                         * 2467 MHz [12] (disabled)
  75.                         * 2472 MHz [13] (disabled)
  76.         Band 2:
  77.                 Capabilities: 0x11e2
  78.                         HT20/HT40
  79.                         Static SM Power Save
  80.                         RX HT20 SGI
  81.                         RX HT40 SGI
  82.                         TX STBC
  83.                         RX STBC 1-stream
  84.                         Max AMSDU length: 3839 bytes
  85.                         DSSS/CCK HT40
  86.                 Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
  87.                 Minimum RX AMPDU time spacing: 4 usec (0x05)
  88.                 HT Max RX data rate: 300 Mbps
  89.                 HT TX/RX MCS rate indexes supported: 0-15
  90.                 VHT Capabilities (0x038071a0):
  91.                         Max MPDU length: 3895
  92.                         Supported Channel Width: neither 160 nor 80+80
  93.                         short GI (80 MHz)
  94.                         TX STBC
  95.                         SU Beamformee
  96.                 VHT RX MCS set:
  97.                         1 streams: MCS 0-9
  98.                         2 streams: MCS 0-9
  99.                         3 streams: not supported
  100.                         4 streams: not supported
  101.                         5 streams: not supported
  102.                         6 streams: not supported
  103.                         7 streams: not supported
  104.                         8 streams: not supported
  105.                 VHT RX highest supported: 0 Mbps
  106.                 VHT TX MCS set:
  107.                         1 streams: MCS 0-9
  108.                         2 streams: MCS 0-9
  109.                         3 streams: not supported
  110.                         4 streams: not supported
  111.                         5 streams: not supported
  112.                         6 streams: not supported
  113.                         7 streams: not supported
  114.                         8 streams: not supported
  115.                 VHT TX highest supported: 0 Mbps
  116.                 Bitrates (non-HT):
  117.                         * 6.0 Mbps
  118.                         * 9.0 Mbps
  119.                         * 12.0 Mbps
  120.                         * 18.0 Mbps
  121.                         * 24.0 Mbps
  122.                         * 36.0 Mbps
  123.                         * 48.0 Mbps
  124.                         * 54.0 Mbps
  125.                 Frequencies:
  126.                         * 5180 MHz [36] (17.0 dBm) (no IR)
  127.                         * 5200 MHz [40] (17.0 dBm) (no IR)
  128.                         * 5220 MHz [44] (17.0 dBm) (no IR)
  129.                         * 5240 MHz [48] (17.0 dBm) (no IR)
  130.                         * 5260 MHz [52] (22.0 dBm) (no IR, radar detection)
  131.                           DFS state: usable (for 988 sec)
  132.                           DFS CAC time: 60000 ms
  133.                         * 5280 MHz [56] (22.0 dBm) (no IR, radar detection)
  134.                           DFS state: usable (for 988 sec)
  135.                           DFS CAC time: 60000 ms
  136.                         * 5300 MHz [60] (22.0 dBm) (no IR, radar detection)
  137.                           DFS state: usable (for 988 sec)
  138.                           DFS CAC time: 60000 ms
  139.                         * 5320 MHz [64] (22.0 dBm) (no IR, radar detection)
  140.                           DFS state: usable (for 988 sec)
  141.                           DFS CAC time: 60000 ms
  142.                         * 5500 MHz [100] (22.0 dBm) (no IR, radar detection)
  143.                           DFS state: usable (for 988 sec)
  144.                           DFS CAC time: 60000 ms
  145.                         * 5520 MHz [104] (22.0 dBm) (no IR, radar detection)
  146.                           DFS state: usable (for 988 sec)
  147.                           DFS CAC time: 60000 ms
  148.                         * 5540 MHz [108] (22.0 dBm) (no IR, radar detection)
  149.                           DFS state: usable (for 988 sec)
  150.                           DFS CAC time: 60000 ms
  151.                         * 5560 MHz [112] (22.0 dBm) (no IR, radar detection)
  152.                           DFS state: usable (for 988 sec)
  153.                           DFS CAC time: 60000 ms
  154.                         * 5580 MHz [116] (22.0 dBm) (no IR, radar detection)
  155.                           DFS state: usable (for 988 sec)
  156.                           DFS CAC time: 60000 ms
  157.                         * 5600 MHz [120] (disabled)
  158.                         * 5620 MHz [124] (disabled)
  159.                         * 5640 MHz [128] (disabled)
  160.                         * 5660 MHz [132] (22.0 dBm) (no IR, radar detection)
  161.                           DFS state: usable (for 988 sec)
  162.                           DFS CAC time: 60000 ms
  163.                         * 5680 MHz [136] (22.0 dBm) (no IR, radar detection)
  164.                           DFS state: usable (for 988 sec)
  165.                           DFS CAC time: 60000 ms
  166.                         * 5700 MHz [140] (22.0 dBm) (no IR, radar detection)
  167.                           DFS state: usable (for 988 sec)
  168.                           DFS CAC time: 60000 ms
  169.                         * 5720 MHz [144] (disabled)
  170.                         * 5745 MHz [149] (22.0 dBm) (no IR)
  171.                         * 5765 MHz [153] (22.0 dBm) (no IR)
  172.                         * 5785 MHz [157] (22.0 dBm) (no IR)
  173.                         * 5805 MHz [161] (22.0 dBm) (no IR)
  174.                         * 5825 MHz [165] (22.0 dBm) (no IR)
  175.         Supported commands:
  176.                  * new_interface
  177.                  * set_interface
  178.                  * new_key
  179.                  * start_ap
  180.                  * new_station
  181.                  * new_mpath
  182.                  * set_mesh_config
  183.                  * set_bss
  184.                  * authenticate
  185.                  * associate
  186.                  * deauthenticate
  187.                  * disassociate
  188.                  * join_ibss
  189.                  * join_mesh
  190.                  * remain_on_channel
  191.                  * set_tx_bitrate_mask
  192.                  * frame
  193.                  * frame_wait_cancel
  194.                  * set_wiphy_netns
  195.                  * set_channel
  196.                  * set_wds_peer
  197.                  * start_sched_scan
  198.                  * probe_client
  199.                  * set_noack_map
  200.                  * register_beacons
  201.                  * start_p2p_device
  202.                  * set_mcast_rate
  203.                  * channel_switch
  204.                  * set_qos_map
  205.                  * add_tx_ts
  206.                  * connect
  207.                  * disconnect
  208.         Supported TX frame types:
  209.                  * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0
  210. 0xc0 0xd0 0xe0 0xf0
  211.                  * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
  212. 0xb0 0xc0 0xd0 0xe0 0xf0
  213.                  * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0
  214. 0xc0 0xd0 0xe0 0xf0
  215.                  * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
  216. 0xb0 0xc0 0xd0 0xe0 0xf0
  217.                  * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
  218. 0xb0 0xc0 0xd0 0xe0 0xf0
  219.                  * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
  220. 0xb0 0xc0 0xd0 0xe0 0xf0
  221.                  * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
  222. 0xb0 0xc0 0xd0 0xe0 0xf0
  223.                  * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0
  224. 0xb0 0xc0 0xd0 0xe0 0xf0
  225.         Supported RX frame types:
  226.                  * IBSS: 0x40 0xb0 0xc0 0xd0
  227.                  * managed: 0x40 0xd0
  228.                  * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
  229.                  * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
  230.                  * mesh point: 0xb0 0xc0 0xd0
  231.                  * P2P-client: 0x40 0xd0
  232.                  * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
  233.                  * P2P-device: 0x40 0xd0
  234.         WoWLAN support:
  235.                  * wake up on disconnect
  236.                  * wake up on magic packet
  237.                  * wake up on pattern match, up to 20 patterns of 16-128 bytes,
  238.                    maximum packet offset 0 bytes
  239.                  * can do GTK rekeying
  240.                  * wake up on GTK rekey failure
  241.                  * wake up on EAP identity request
  242.                  * wake up on 4-way handshake
  243.                  * wake up on rfkill release
  244.                  * wake up on network detection, up to 11 match sets
  245.                  * wake up on TCP connection
  246.         software interface modes (can always be added):
  247.                  * AP/VLAN
  248.                  * monitor
  249.         valid interface combinations:
  250.                  * #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
  251.                    total <= 3, #channels <= 2
  252.         HT Capability overrides:
  253.                  * MCS: ff ff ff ff ff ff ff ff ff ff
  254.                  * maximum A-MSDU length
  255.                  * supported channel width
  256.                  * short GI for 40 MHz
  257.                  * max A-MPDU length exponent
  258.                  * min MPDU start spacing
  259.         Device supports TX status socket option.
  260.         Device supports HT-IBSS.
  261.         Device supports SAE with AUTHENTICATE command
  262.         Device supports low priority scan.
  263.         Device supports scan flush.
  264.         Device supports per-vif TX power setting
  265.         P2P GO supports CT window setting
  266.         P2P GO supports opportunistic powersave setting
  267.         Driver supports a userspace MPM
  268.         Device supports static SMPS
  269.         Device supports dynamic SMPS
  270.         Device supports WMM-AC admission (TSPECs)
  271.         Device supports configuring vdev MAC-addr on create.
  272. ```
  273.  
  274. hostapd.log
  275. ```
  276. random: Trying to read entropy from /dev/random
  277. Configuration file: /etc/hostapd/hostapd.conf
  278. ctrl_interface_group=0
  279. rfkill: initial event: idx=0 type=2 op=0 soft=0 hard=0
  280. rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
  281. nl80211: Supported cipher 00-0f-ac:1
  282. nl80211: Supported cipher 00-0f-ac:5
  283. nl80211: Supported cipher 00-0f-ac:2
  284. nl80211: Supported cipher 00-0f-ac:4
  285. nl80211: Supported cipher 00-0f-ac:10
  286. nl80211: Supported cipher 00-0f-ac:8
  287. nl80211: Supported cipher 00-0f-ac:9
  288. nl80211: Supported cipher 00-0f-ac:6
  289. nl80211: Supported cipher 00-0f-ac:13
  290. nl80211: Supported cipher 00-0f-ac:11
  291. nl80211: Supported cipher 00-0f-ac:12
  292. nl80211: Using driver-based off-channel TX
  293. nl80211: Use separate P2P group interface (driver advertised support)
  294. nl80211: Enable multi-channel concurrent (driver advertised support)
  295. nl80211: use P2P_DEVICE support
  296. nl80211: interface wlp4s0 in phy phy0
  297. nl80211: Set mode ifindex 4 iftype 3 (AP)
  298. nl80211: Setup AP(wlp4s0) - device_ap_sme=0 use_monitor=0
  299. nl80211: Subscribe to mgmt frames with AP handle 0xcd6260
  300. nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH)
  301. nl_handle=0xcd6260 match=
  302. nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ)
  303. nl_handle=0xcd6260 match=
  304. nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ)
  305. nl_handle=0xcd6260 match=
  306. nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC)
  307. nl_handle=0xcd6260 match=
  308. nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH)
  309. nl_handle=0xcd6260 match=
  310. nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION)
  311. nl_handle=0xcd6260 match=
  312. nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ)
  313. nl_handle=0xcd6260 match=
  314. nl80211: Add own interface ifindex 4
  315. nl80211: if_indices[16]: 4
  316. phy: phy0
  317. BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
  318. wlp4s0: interface state UNINITIALIZED->COUNTRY_UPDATE
  319. Previous country code US, new country code US
  320. nl80211: Regulatory information - country=US (DFS-FCC)
  321. nl80211: 2402-2472 @ 40 MHz 30 mBm
  322. nl80211: 5170-5250 @ 80 MHz 17 mBm
  323. nl80211: 5250-5330 @ 80 MHz 23 mBm (DFS)
  324. nl80211: 5490-5600 @ 80 MHz 23 mBm (DFS)
  325. nl80211: 5650-5710 @ 40 MHz 23 mBm (DFS)
  326. nl80211: 5735-5835 @ 80 MHz 30 mBm
  327. nl80211: 57240-63720 @ 2160 MHz 40 mBm
  328. nl80211: Added 802.11b mode based on 802.11g information
  329. Disable HT capability [DSSS_CCK-40] on 5 GHz band
  330. hw vht capab: 0x38071a0, conf vht capab: 0x10a0
  331. wlp4s0: interface state COUNTRY_UPDATE->HT_SCAN
  332. Scan for neighboring BSSes prior to enabling 40 MHz channel
  333. 40 MHz affected channel range: [5650,5690] MHz
  334. wlp4s0: nl80211: scan request
  335. Scan requested (ret=0) - scan timeout 10 seconds
  336. Interface initialization will be completed in a callback
  337. ctrl_iface not configured!
  338. random: Got 20/20 bytes from /dev/random
  339. RTM_NEWLINK: ifi_index=4 ifname=wlp4s0 operstate=2 linkmode=0
  340. ifi_family=0 ifi_flags=0x1002 ()
  341. nl80211: Ignore interface down event since interface wlp4s0 is up
  342. RTM_NEWLINK: ifi_index=4 ifname=wlp4s0 operstate=2 linkmode=0
  343. ifi_family=0 ifi_flags=0x1003 ([UP])
  344. nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlp4s0
  345. wlp4s0: nl80211: Scan trigger
  346. wlp4s0: Event SCAN_STARTED (47) received
  347. Unknown event 47
  348. RTM_NEWLINK: ifi_index=4 ifname=wlp4s0 wext ifi_family=0
  349. ifi_flags=0x1003 ([UP])
  350. nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlp4s0
  351. wlp4s0: nl80211: New scan results available
  352. nl80211: Scan included frequencies: 5660 5680
  353. wlp4s0: Event SCAN_RESULTS (3) received
  354. nl80211: Received scan results (0 BSSes)
  355. HT40: control channel: 132  secondary channel: 136
  356. Completing interface initialization
  357. Mode: IEEE 802.11a  Channel: 132  Frequency: 5660 MHz
  358. DFS 0 channels required radar detection
  359. Could not set channel for kernel driver
  360. Interface initialization failed
  361. wlp4s0: interface state HT_SCAN->DISABLED
  362. wlp4s0: AP-DISABLED
  363. hostapd_interface_deinit_free(0xcd58a0)
  364. hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
  365. hostapd_interface_deinit(0xcd58a0)
  366. wlp4s0: interface state DISABLED->DISABLED
  367. hostapd_bss_deinit: deinit bss wlp4s0
  368. wlp4s0: Deauthenticate all stations
  369. nl80211: send_mlme - da= ff:ff:ff:ff:ff:ff noack=0 freq=0 no_cck=0
  370. offchanok=0 wait_time=0 fc=0xc0 (WLAN_FC_STYPE_DEAUTH) nlmode=3
  371. nl80211: send_mlme -> send_frame
  372. nl80211: send_frame - Use bss->freq=0
  373. nl80211: send_frame -> send_frame_cmd
  374. nl80211: Frame command failed: ret=-22 (Invalid argument) (freq=0 wait=0)
  375. wlp4s0: AP-DISABLED
  376. hostapd_cleanup(hapd=0xcd7b90 (wlp4s0))
  377. hostapd_free_hapd_data: Interface wlp4s0 wasn't started
  378. hostapd_interface_deinit_free: driver=0x49d0c0 drv_priv=0xcd89e0 -> hapd_deinit
  379. nl80211: deinit ifname=wlp4s0 disabled_11b_rates=0
  380. nl80211: Remove monitor interface: refcount=0
  381. nl80211: Remove beacon (ifindex=4)
  382. netlink: Operstate: ifindex=4 linkmode=0 (kernel-control), operstate=6
  383. (IF_OPER_UP)
  384. nl80211: Set mode ifindex 4 iftype 2 (STATION)
  385. nl80211: Teardown AP(wlp4s0) - device_ap_sme=0 use_monitor=0
  386. nl80211: Unsubscribe mgmt frames handle 0x888888888845eae9 (AP teardown)
  387. hostapd_interface_free(0xcd58a0)
  388. hostapd_interface_free: free hapd 0xcd7b90
  389. hostapd_cleanup_iface(0xcd58a0)
  390. hostapd_cleanup_iface_partial(0xcd58a0)
  391. hostapd_cleanup_iface: free iface=0xcd58a0
  392. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement