-
-
Save cmoulliard/a246bc7c52240acbd309 to your computer and use it in GitHub Desktop.
https://gist.github.com/anonymous/a1953a817a7ae6374b9a |
cmoulliard
commented
Jun 24, 2014
sudo ./run_hotspot.sh wlp0s20u2 em1
net.ipv4.ip_forward = 1
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
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=10 type=2 op=0 soft=0 hard=0
rfkill: initial event: idx=11 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 phy7
nl80211: Set mode ifindex 10 iftype 3 (AP)
nl80211: Setup AP(wlp0s20u2) - device_ap_sme=1 use_monitor=1
nl80211: Enable Probe Request reporting nl_preq=0x112e4d0
nl80211: Register frame type=0x40 nl_handle=0x112e4d0 match=
nl80211: Add own interface ifindex 10
nl80211: if_indices[16]: 10
phy: phy7
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
wlp0s20u2: interface state UNINITIALIZED->COUNTRY_UPDATE
Previous country code 00, new country code BE
Continue interface setup after channel list update
ctrl_iface not configured!
random: Got 20/20 bytes from /dev/random
Channel list update timeout - try to continue anyway
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 160 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
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=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
channel 7 is disabled for use in AP mode, flags: 0x77 NO-IBSS PASSIVE-SCAN
wlp0s20u2: IEEE 802.11 Configured channel (48) 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 COUNTRY_UPDATE->DISABLED
wlp0s20u2: AP-DISABLED
hostapd_interface_deinit_free(0x112c7f0)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x112c7f0)
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=0x112da20 (wlp0s20u2))
hostapd_free_hapd_data: Interface wlp0s20u2 wasn't started
hostapd_interface_deinit_free: driver=0x47b960 drv_priv=0x112e850 -> hapd_deinit
nl80211: Skip disabling of Probe Request reporting nl_preq=0x88888888899a6c59 while in AP mode
nl80211: Remove monitor interface: refcount=0
nl80211: Remove beacon (ifindex=10)
netlink: Operstate: ifindex=10 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 10 iftype 2 (STATION)
nl80211: Teardown AP(wlp0s20u2) - device_ap_sme=1 use_monitor=1
nl80211: Disable Probe Request reporting nl_preq=0x88888888899a6c59
hostapd_interface_free(0x112c7f0)
hostapd_interface_free: free hapd 0x112da20
hostapd_cleanup_iface(0x112c7f0)
hostapd_cleanup_iface_partial(0x112c7f0)
hostapd_cleanup_iface: free iface=0x112c7f0
dabou@localhost Temp$ iw list
Wiphy phy7
max # scan SSIDs: 9
max scan IEs length: 2304 bytes
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP (00-0f-ac:4)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* monitor
* P2P-client
* P2P-GO
Band 1:
Capabilities: 0x1862
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT TX/RX MCS rate indexes supported: 0-15, 32
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps
* 5.5 Mbps
* 11.0 Mbps
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm) (no IR)
* 2472 MHz [13] (20.0 dBm) (no IR)
* 2484 MHz [14] (20.0 dBm) (no IR)
Band 2:
Capabilities: 0x1862
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT TX/RX MCS rate indexes supported: 0-15, 32
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 5170 MHz [34] (disabled)
* 5180 MHz [36] (20.0 dBm) (no IR)
* 5190 MHz [38] (20.0 dBm) (no IR)
* 5200 MHz [40] (20.0 dBm) (no IR)
* 5210 MHz [42] (20.0 dBm) (no IR)
* 5220 MHz [44] (20.0 dBm) (no IR)
* 5230 MHz [46] (20.0 dBm) (no IR)
* 5240 MHz [48] (20.0 dBm) (no IR)
* 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5500 MHz [100] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5520 MHz [104] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5540 MHz [108] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5560 MHz [112] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5580 MHz [116] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5600 MHz [120] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5620 MHz [124] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5640 MHz [128] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5660 MHz [132] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5680 MHz [136] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5700 MHz [140] (20.0 dBm) (no IR, radar detection)
DFS state: usable (for 1908 sec)
* 5745 MHz [149] (disabled)
* 5765 MHz [153] (disabled)
* 5785 MHz [157] (disabled)
* 5805 MHz [161] (disabled)
* 5825 MHz [165] (disabled)
* 5920 MHz [184] (disabled)
* 5940 MHz [188] (disabled)
* 5960 MHz [192] (disabled)
* 5980 MHz [196] (disabled)
* 6000 MHz [200] (disabled)
* 6020 MHz [204] (disabled)
* 6040 MHz [208] (disabled)
* 6060 MHz [212] (disabled)
* 6080 MHz [216] (disabled)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* set_bss
* join_ibss
* set_pmksa
* del_pmksa
* flush_pmksa
* remain_on_channel
* frame
* set_channel
* connect
* disconnect
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0xd0
* managed: 0x40 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
software interface modes (can always be added):
* monitor
interface combinations are not supported
Device supports scan flush.