prerequisite : have a functionnal raspberry with ssh access configured see here
- install dependencies
sudo apt install hostapd hostap-utils iw bridge-utils rfkill
- set file
/etc/hostapd/hostapd.conf
as in this gist. Don't forget to set the SSID, channel, country and passphrase following your requirement - set file
/etc/network/interfaces
as in this gist - set file
/etc/default/hostapd
as in this gist - reboot
sudo reboot
- Have Fun