I have followed this guide
https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/install-software
to set up my pi as a AP. I only changed drivers since I'm using a TP Link usd wifi. I'm using Jessie.
Everything work fine but I'm not able to start the deamon everytime I reboot the system. I think the problem is the hostapd; when I run
sudo service hostapd status -l
I get
hostapd.service - LSB: Advanced IEEE 802.11 management daemon
Loaded: loaded (/etc/init.d/hostapd)Active: active (exited) since Fri 2016-04-08 14:22:49 UTC; 2s ago
Process: 1505 ExecStop=/etc/init.d/hostapd stop (code=exited, status=0/SUCCESS)
Process: 1542 ExecStart=/etc/init.d/hostapd start (code=exited, status=0/SUCCESS)
Apr 08 14:22:49 raspberrypi hostapd[1542]: Starting advanced IEEE 802.11 management: hostapd failed!
Apr 08 14:22:49 raspberrypi systemd[1]: Started LSB: Advanced IEEE 802.11 management daemon.
EDIT: for now I solved it reloading hostapd with this:
sleep 5 sudo service hostapd start
I made a script that runs at boot.