Configuration for Hostapd:
ssid=SSIDNAME
interface=wlan0
hw_mode=g
channel=10
ieee80211d=1
country_code=NL
ieee80211n=1
wmm_enabled=1
auth_algs=1
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wpa_passphrase=atleast8chars
Configuration for dnsmasq, just the end of the file, with these lines added:
# disables dnsmasq reading any other files like /etc/resolv.conf for nameservers
no-resolv
# Interface to bind to
interface=wlxd0374547933f
# Specify starting_range,end_range,lease_time
dhcp-range=10.0.10.3,10.0.10.20,12h
# dns addresses to send to the clients
server=8.8.8.8
server=8.8.4.4