конфиг dnsmasq
interface=wlan0
dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,24h
interface=wlan0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=wifi
hw_mode=g
channel=11
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
#macaddr_acl=1
#accept_mac_file=/etc/hostapd/accept
wpa=2
wpa_passphrase=:-P
wpa_pairwise=CCMP