cat /etc/hostapd/hostapd.conf
interface=wlan0
### Set your bridge name ###
#bridge=br0
#driver
#driver=8192cu
country_code=IT
ssid=bblack_iot
channel=7
hw_mode=g
# # Static WPA2 key configuration
# #1=wpa1, 2=wpa2, 3=both
wpa=2
wpa_passphrase=*********
## Key management algorithms ##
wpa_key_mgmt=WPA-PSK
#
## Set cipher suites (encryption algorithms) ##
## TKIP = Temporal Key Integrity Protocol
## CCMP = AES in Counter mode with CBC-MAC
wpa_pairwise=TKIP
#rsn_pairwise=CCMP
#
## Shared Key Authentication ##
auth_algs=1
## Accept all MAC address ###
macaddr_acl=0
#enables/disables broadcasting the ssid
ignore_broadcast_ssid=0
# Needed for Windows clients
eapol_key_index_workaround=0
I tried bridging wlan0 and eth0 but in that case I should assign static IP to br0, and I can't, I need the network interface connected to my home router to have a dynamic IP address..