Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to create my wifi network using the "Create New Wireless Network" to make my network detectable to my Android device.

I typed the following after creating the network (my hostapd.conf file contains the following:

interface=wlan0 driver=nl80211 ssid=MyName hw_mode=g channel=11 wpa=1 wpa_passphrase=MyPhrase wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP CCMP wpa_ptk_rekey=600

)

I typed this after creating my hostapd.conf file: sudo hostapd hostapd.conf

After this I keep getting the following error:

Configuration file: hostapd.conf nl80211: Failed to set interface wlan0 into AP mode nl80211 driver initialization failed. ELOOP: remaining socket: sock=4 eloop_data=0x834a8f8 user_data=0x834ae98 handler=0x807c5e0 ELOOP: remaining socket: sock=6 eloop_data=0x834cd28 user_data=(nil) handler=0x8086770

What can I do to resolve it?

share|improve this question
    
Your hardware or at least the driver for the wireless card is most likely not able to do "AP mode" as you see in the error message. Please include the exact hardware information in your question. See the section "Identifying the exact hardware" in my Q&A here on how to do that: askubuntu.com/a/235280/88802 –  gertvdijk Oct 17 '13 at 21:10
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.