<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I am getting the following error on trying to run hostapd --<br>
    Can you suggest how to fix this<br>
    <br>
    <br>
    root:/tmp/cdcs/etc# hostapd -B hostapd.conf -dddd<br>
    random: Trying to read entropy from /dev/urandom<br>
    Configuration file: hostapd.conf<br>
    ctrl_interface_group=0<br>
    rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0<br>
    nl80211: Supported cipher 00-0f-ac:1<br>
    nl80211: Supported cipher 00-0f-ac:5<br>
    nl80211: Supported cipher 00-0f-ac:2<br>
    nl80211: Supported cipher 00-0f-ac:4<br>
    nl80211: Using driver-based off-channel TX<br>
    nl80211: interface wlan0 in phy phy0<br>
    nl80211: Set mode ifindex 9 iftype 3 (AP)<br>
    nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=1<br>
    nl80211: Create interface iftype 6 (MONITOR)<br>
    nl80211: New interface mon.wlan0 created: ifindex=173<br>
    nl80211: Add own interface ifindex 173<br>
    nl80211: if_indices[16]: 173<br>
    nl80211: Add own interface ifindex 7<br>
    nl80211: if_indices[16]: 173 7<br>
    nl80211: Add own interface ifindex 9<br>
    nl80211: if_indices[16]: 173 7 9<br>
    phy: phy0<br>
    BSS count 2, BSSID mask 00:00:00:00:00:02 (1 bits)<br>
    wlan0: interface state UNINITIALIZED-&gt;COUNTRY_UPDATE<br>
    Previous country code AU, new country code AU <br>
    nl80211: Regulatory information - country=AU<br>
    nl80211: 2402-2482 @ 40 MHz 0 mBm<br>
    nl80211: 5170-5250 @ 80 MHz 0 mBm<br>
    nl80211: 5250-5330 @ 80 MHz 0 mBm<br>
    nl80211: 5490-5710 @ 80 MHz 0 mBm<br>
    nl80211: 5735-5835 @ 80 MHz 0 mBm<br>
    nl80211: Added 802.11b mode based on 802.11g information<br>
    Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=1 chan=12 freq=2467 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=1 chan=13 freq=2472 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=0 chan=12 freq=2467 MHz max_tx_power=0 dBm<br>
    Allowed channel: mode=0 chan=13 freq=2472 MHz max_tx_power=0 dBm<br>
    HT40: control channel: 11&nbsp; secondary channel: 7<br>
    Completing interface initialization<br>
    Mode: IEEE 802.11g&nbsp; Channel: 11&nbsp; Frequency: 2462 MHz<br>
    DFS 0 channels required radar detection<br>
    nl80211: Set freq 2462 (ht_enabled=1, vht_enabled=0, bandwidth=40
    MHz, cf1=2452 MHz, cf2=0 MHz)<br>
    RATE[0] rate=10 flags=0x1<br>
    RATE[1] rate=20 flags=0x1<br>
    RATE[2] rate=55 flags=0x1<br>
    RATE[3] rate=110 flags=0x1<br>
    RATE[4] rate=60 flags=0x0<br>
    RATE[5] rate=90 flags=0x0<br>
    RATE[6] rate=120 flags=0x0<br>
    RATE[7] rate=180 flags=0x0<br>
    RATE[8] rate=240 flags=0x0<br>
    RATE[9] rate=360 flags=0x0<br>
    RATE[10] rate=480 flags=0x0<br>
    RATE[11] rate=540 flags=0x0<br>
    hostapd_setup_bss(hapd=0x95690 (wlan0), first=1)<br>
    wlan0: Flushing old station entries<br>
    nl80211: flush -&gt; DEL_STATION wlan0 (all)<br>
    wlan0: Deauthenticate all stations<br>
    nl80211: send_mlme - noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0
    fc=0xc0 nlmode=3<br>
    nl80211: send_mlme -&gt; send_frame<br>
    nl80211: send_frame - Use bss-&gt;freq=2462<br>
    nl80211: send_frame(freq=2462 bss-&gt;freq=2462) -&gt; send_mntr<br>
    wpa_driver_nl80211_set_key: ifindex=9 (wlan0) alg=0 addr=(nil)
    key_idx=0 set_tx=0 seq_len=0 key_len=0<br>
    wpa_driver_nl80211_set_key: ifindex=9 (wlan0) alg=0 addr=(nil)
    key_idx=1 set_tx=0 seq_len=0 key_len=0<br>
    wpa_driver_nl80211_set_key: ifindex=9 (wlan0) alg=0 addr=(nil)
    key_idx=2 set_tx=0 seq_len=0 key_len=0<br>
    wpa_driver_nl80211_set_key: ifindex=9 (wlan0) alg=0 addr=(nil)
    key_idx=3 set_tx=0 seq_len=0 key_len=0<br>
    Using interface wlan0 with hwaddr 00:60:64:e7:e9:60 and ssid
    "NetComm 2500"<br>
    Deriving WPA PSK based on passphrase<br>
    SSID - hexdump_ascii(len=12):<br>
    &nbsp;&nbsp;&nbsp;&nbsp; 4e 65 74 43 6f 6d 6d 20 32 35 30 30&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NetComm
    2500&nbsp;&nbsp;&nbsp; <br>
    PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]<br>
    PSK (from passphrase) - hexdump(len=32): [REMOVED]<br>
    random: Got 20/20 bytes from /dev/urandom<br>
    Get randomness: len=32 entropy=0<br>
    random from os_get_random - hexdump(len=32): [REMOVED]<br>
    random_mix_pool - hexdump(len=20): [REMOVED]<br>
    random from internal pool - hexdump(len=16): [REMOVED]<br>
    random_mix_pool - hexdump(len=20): [REMOVED]<br>
    random from internal pool - hexdump(len=16): [REMOVED]<br>
    mixed random - hexdump(len=32): [REMOVED]<br>
    GMK - hexdump(len=32): [REMOVED]<br>
    Get randomness: len=32 entropy=0<br>
    random from os_get_random - hexdump(len=32): [REMOVED]<br>
    random_mix_pool - hexdump(len=20): [REMOVED]<br>
    random from internal pool - hexdump(len=16): [REMOVED]<br>
    random_mix_pool - hexdump(len=20): [REMOVED]<br>
    random from internal pool - hexdump(len=16): [REMOVED]<br>
    mixed random - hexdump(len=32): [REMOVED]<br>
    Key Counter - hexdump(len=32): [REMOVED]<br>
    WPA: Delay group state machine start until Beacon frames have been
    configured<br>
    nl80211: Set beacon (beacon_set=0)<br>
    nl80211: Beacon head - hexdump(len=63): 80 00 00 00 ff ff ff ff ff
    ff 00 60 64 e7 e9 60 00 60 64 e7 e9 60 00 00 00 00 00 00 00 00 00 00
    64 00 11 04 00 0c 4e 65 74 43 6f 6d 6d 20 32 35 30 30 01 08 82 84 8b
    96 0c 12 18 24 03 01 0b<br>
    nl80211: Beacon tail - hexdump(len=119): 2a 01 04 32 04 30 48 60 6c
    30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00 2d
    1a ee 02 13 ff ff 00 00 01 00 00 00 00 00 00 00 07 00 00 00 00 00 00
    00 00 00 00 3d 16 0b 07 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 dd 18 00 50 f2 02 01 01
    00 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00<br>
    nl80211: ifindex=9<br>
    nl80211: beacon_int=100<br>
    nl80211: dtim_period=2<br>
    nl80211: ssid - hexdump_ascii(len=12):<br>
    &nbsp;&nbsp;&nbsp;&nbsp; 4e 65 74 43 6f 6d 6d 20 32 35 30 30&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NetComm
    2500&nbsp;&nbsp;&nbsp; <br>
    nl80211: hidden SSID not in use<br>
    nl80211: privacy=1<br>
    nl80211: auth_algs=0x1<br>
    nl80211: wpa_version=0x2<br>
    nl80211: key_mgmt_suites=0x2<br>
    nl80211: pairwise_ciphers=0x10<br>
    nl80211: group_cipher=0x10<br>
    nl80211: beacon_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00 40<br>
    nl80211: proberesp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00
    40<br>
    nl80211: assocresp_ies - hexdump(len=10): 7f 08 00 00 00 00 00 00 00
    40<br>
    <b>nl80211: Beacon set failed: -16 (Device or resource busy)</b><br>
    Failed to set beacon parameters<br>
    Interface initialization failed<br>
    wlan0: interface state COUNTRY_UPDATE-&gt;DISABLED<br>
    wlan0: AP-DISABLED <br>
    wlan0: Unable to setup interface.<br>
    hostapd_interface_deinit_free(0x932c8)<br>
    hostapd_interface_deinit_free: num_bss=2 conf-&gt;num_bss=2<br>
    hostapd_interface_deinit(0x932c8)<br>
    hostapd_bss_deinit: deinit bss wlan1<br>
    wlan0: Deauthenticate all stations<br>
    nl80211: send_mlme - noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0
    fc=0xc0 nlmode=3<br>
    nl80211: send_mlme -&gt; send_frame<br>
    nl80211: send_frame - Use bss-&gt;freq=2462<br>
    nl80211: send_frame(freq=2462 bss-&gt;freq=2462) -&gt; send_mntr<br>
    hostapd_cleanup(hapd=0x95ca0 (wlan1))<br>
    hostapd_free_hapd_data: Interface wlan1 wasn't started<br>
    hostapd_bss_deinit: deinit bss wlan0<br>
    wlan0: Deauthenticate all stations<br>
    nl80211: send_mlme - noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0
    fc=0xc0 nlmode=3<br>
    nl80211: send_mlme -&gt; send_frame<br>
    nl80211: send_frame - Use bss-&gt;freq=2462<br>
    nl80211: send_frame(freq=2462 bss-&gt;freq=2462) -&gt; send_mntr<br>
    hostapd_cleanup(hapd=0x95690 (wlan0))<br>
    hostapd_free_hapd_data(wlan0)<br>
    hostapd_interface_deinit_free: driver=0x769c4 drv_priv=0x964c8 -&gt;
    hapd_deinit<br>
    nl80211: Remove monitor interface: refcount=0<br>
    nl80211: Remove interface ifindex=173<br>
    nl80211: if_indices[16]: 7 9<br>
    nl80211: Remove beacon (ifindex=9)<br>
    netlink: Operstate: ifindex=9 linkmode=0 (kernel-control),
    operstate=6 (IF_OPER_UP)<br>
    hostapd_interface_free(0x932c8)<br>
    hostapd_interface_free: free hapd 0x95690<br>
    hostapd_interface_free: free hapd 0x95ca0<br>
    hostapd_cleanup_iface(0x932c8)<br>
    hostapd_cleanup_iface_partial(0x932c8)<br>
    hostapd_cleanup_iface: free iface=0x932c8<br>
    root:/tmp/cdcs/etc# <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Warm Regards,
Sourav</pre>
  <br clear="both">
______________________________________________________________________<BR>
This communication contains information which may be confidential or privileged. The information is intended solely for the use of the individual or entity named above.  If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited.  If you have received this communication in error, please notify me by telephone immediately.<BR>
______________________________________________________________________<BR>
</body>
</html>