sudo apt-get update
sudo apt-get install hostapdinterface=wlan0
driver=nl80211
ssid=WiFi_Adı
hw_mode=g
channel=7
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=Şifre
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMPsudo systemctl start hostapd
sudo systemctl start dnsmasqsudo systemctl enable hostapd
sudo systemctl enable dnsmasq