hostapd WI-FI
-
/etc/network/interfacesauto uap0iface uap0 inet staticaddress 192.168.55.1/24broadcast 192.168.55.255pre-up iptables-restore < /etc/network/iptables.rulestunctl -t uap0 -u pihwaddress ether a0:b1:c2:d3:e4:f5 uap0pre-up iw phy phy0 interface add uap0 type __ap || trueup ifup uap0 || true/etc/dnsmasq.confpid-file=/var/run/dnsmasq/dnsmasq.pidlog-facility=/var/log/dnsmasq.loguser=dnsmasqgroup=dnsmasqno-resolvno-pollstop-dns-rebindclear-on-reloadbind-interfacesdomain-neededbogus-privinterface=uap0no-dhcp-interface=lo,wlan0listen-address=127.0.0.1,192.168.0.1,192.168.1.1,192.168.4.1dhcp-range=192.168.55.10,192.168.55.100,255.255.255.0,12hdhcp-option=3,192.168.55.1# /etc/hostapd/hostapd.confinterface=uap0driver=nl80211ssid=my_ssidhw_mode=gieee80211n=1 ht_capab=[HT40-][SHORT-GI-40] channel=6# macaddr_acl=0macaddr_acl=1accept_mac_file=/etc/hostapd/hostapd.acceptwmm_enabled=1auth_algs=1ignore_broadcast_ssid=0# ignore_broadcast_ssid=1 # hiddenwpa=2wpa_psk_file=/etc/hostapd/hostapd.wpa_psk# wpa_passphrase=##**###wpa_key_mgmt=WPA-PSKwpa_pairwise=TKIPrsn_pairwise=CCMP