Skip to content

Instantly share code, notes, and snippets.

@cmoulliard

cmoulliard/- Secret

Created June 23, 2014 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmoulliard/81aa9c7dc60c366f4724 to your computer and use it in GitHub Desktop.
Save cmoulliard/81aa9c7dc60c366f4724 to your computer and use it in GitHub Desktop.
sudo ./hostapd -dd config_test.conf
random: Trying to read entropy from /dev/random
Configuration file: config_test.conf
rfkill: initial event: idx=0 type=2 op=0 soft=0 hard=0
rfkill: initial event: idx=1 type=2 op=0 soft=0 hard=0
rfkill: initial event: idx=2 type=1 op=0 soft=0 hard=0
rfkill: initial event: idx=7 type=1 op=0 soft=0 hard=0
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: Using driver-based off-channel TX
nl80211: interface wlp0s20u2 in phy phy5
nl80211: Set mode ifindex 8 iftype 3 (AP)
nl80211: Setup AP(wlp0s20u2) - device_ap_sme=1 use_monitor=1
nl80211: Enable Probe Request reporting nl_preq=0x22144c0
nl80211: Register frame type=0x40 nl_handle=0x22144c0 match=
nl80211: Register frame command failed (type=64): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Failed to enable Probe Request frame reporting in AP mode
nl80211: Add own interface ifindex 8
nl80211: if_indices[16]: 8
phy: phy5
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Regulatory information - country=BE
nl80211: 2402-2482 @ 40 MHz 20 mBm
nl80211: 5170-5250 @ 80 MHz 20 mBm
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS)
nl80211: 5490-5710 @ 80 MHz 27 mBm (DFS)
nl80211: 57240-65880 @ 2160 MHz 40 mBm (no outdoor)
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=12 freq=2467 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=13 freq=2472 MHz max_tx_power=20 dBm
Allowed channel: mode=2 chan=36 freq=5180 MHz max_tx_power=20 dBm
Allowed channel: mode=2 chan=38 freq=5190 MHz max_tx_power=20 dBm
Allowed channel: mode=2 chan=40 freq=5200 MHz max_tx_power=20 dBm
Allowed channel: mode=2 chan=42 freq=5210 MHz max_tx_power=20 dBm
Allowed channel: mode=2 chan=44 freq=5220 MHz max_tx_power=20 dBm
Allowed channel: mode=2 chan=46 freq=5230 MHz max_tx_power=20 dBm
Allowed channel: mode=2 chan=48 freq=5240 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=12 freq=2467 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=13 freq=2472 MHz max_tx_power=20 dBm
channel [11] (64) is disabled for use in AP mode, flags: 0x169 RADAR
wlp0s20u2: IEEE 802.11 Configured channel (64) not found from the channel list of current mode (2) IEEE 802.11a
wlp0s20u2: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-3)
wlp0s20u2: interface state UNINITIALIZED->DISABLED
wlp0s20u2: AP-DISABLED
wlp0s20u2: Unable to setup interface.
hostapd_interface_deinit_free(0x22127f0)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x22127f0)
hostapd_bss_deinit: deinit bss wlp0s20u2
wlp0s20u2: Deauthenticate all stations
nl80211: sta_remove -> DEL_STATION wlp0s20u2 ff:ff:ff:ff:ff:ff --> -22 (Invalid argument)
hostapd_cleanup(hapd=0x2213a10 (wlp0s20u2))
hostapd_free_hapd_data: Interface wlp0s20u2 wasn't started
hostapd_interface_deinit_free: driver=0x47b960 drv_priv=0x2214840 -> hapd_deinit
nl80211: Remove monitor interface: refcount=0
nl80211: Remove beacon (ifindex=8)
netlink: Operstate: ifindex=8 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
hostapd_interface_free(0x22127f0)
hostapd_interface_free: free hapd 0x2213a10
hostapd_cleanup_iface(0x22127f0)
hostapd_cleanup_iface_partial(0x22127f0)
hostapd_cleanup_iface: free iface=0x22127f0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment