Hostapd keeps giving me this error:
nl80211: Could not configure driver mode
nl80211 driver initialization
failed. hostapd_free_hapd_data: Interface wlan0 wasn't started
I'm on Debian 8. I googled for hours and can't find a fix that works with Jessie.
Best Answer
I had the same issue on my raspberry-PI. I could not find any proper solution but I did come up with a slightly dirty way to solve the issue:
slightly modified solution from "adrianTNT" here on Ask Ubuntu
and the process I needed to kill was
wpa_supplicant
soI had to run this command to successfully start hostapd
instead of the more common way
service hostapd start
which always failed.