title: hostapd nl80211 driver initialization failed
body: <p>I'm trying to set up my computer as a wireless access point. I followed this guide <a href="https://askubuntu.com/questions/105217/how-do-i-create-a-non-adhoc-wifi-hotspot">https://askubuntu.com/questions/105217/how-do-i-create-a-non-adhoc-wifi-hotspot</a> When I try to run hostapd, I get the following error message:</p>
  
  <blockquote>
    <p>alex@ozymandias ~ $ sudo hostapd -dd -B /etc/hostapd/hostapd.conf<br>
    random: Trying to read entropy from /dev/random<br>
    Configuration file: /etc/hostapd/hostapd.conf<br>
    Could not open file /sys/class/net/wlan0/phy80211/name: No such file or directory<br>
    rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0<br>
    netlink: Operstate: linkmode=0, operstate=6<br>
    nl80211: Set mode ifindex 3 iftype 2 (STATION)<br>
    nl80211: Failed to set interface 3 to mode 2: -19 (No such device)<br>
    nl80211: Try mode change after setting interface down<br>
    nl80211: Set mode ifindex 3 iftype 2 (STATION)<br>
    nl80211: Failed to set interface 3 to mode 2: -19 (No such device)<br>
    nl80211: Interface mode change to 2 from 0 failed<br>
    nl80211 driver initialization failed.  </p>
  </blockquote>
  
  <p>I am running Mint 16.</p>
  
  <p>Edit: the wireless adapted did not have AP capabilities.</p>