# create ap ### ubuntu netplan ```bash sudo apt install hostapd sudo systemctl unmask hostapd sudo systemctl enable hostapd sudo vim /etc/hostapd/hostapd.conf ``` ```yaml interface=wlan0 driver=nl80211 hw_mode=g channel=1 ieee80211d=1 country_code=DE ieee80211n=1 wmm_enabled=1 macaddr_acl=0 auth_algs=1 ignore_broadcast_ssid=0 wpa=2 wpa_key_mgmt=WPA-PSK rsn_pairwise=CCMP ssid=yourSSID wpa_passphrase=yourpassphrase ``` ```bash sudo vim /etc/default/hostapd # DAEMON_CONF="/etc/hostapd/hostapd.conf" ```