Add Hostapd Configuration File
Follow the steps to create the hotsapd.conf file:
- Create the hostapd.conf configuration file manually or use
/etc/hostapd.conf
. - Add the following content to the configuration file.
AP Hotpot Settings
The following are 2 examples to add AP hotpot for your
hostapd.conf file:
- Open system without
encryption:
interface=wlan0 driver=nl80211 ctrl_interface=/var/run/hostapd ssid=AndroidAP channel=6 ieee80211n=1 hw_mode=g ignore_broadcast_ssid=0
- WPA2-PSK authentication with AES
encryption:
interface=wlan0 driver=nl80211 ctrl_interface=/var/run/hostapd ssid=AndroidAP channel=6 ieee80211n=1 hw_mode=g ignore_broadcast_ssid=0 wpa=2 wpa_key_mgmt=WPA-PSK wpa_passphrase=12345678