0%
/etc/hostapd.conf1 2 3 4 5 6 7 8 9 10 11
| ctrl_interface=/var/run/hostapd interface=wlan0 ssid=ssid_name_here wpa_passphrase=password_here channel=7 wpa=2 wpa_key_mgmt=WPA-PSK rsn_pairwise=TKIP CCMP hw_mode=g ieee80211n=1 driver=nl80211
|
Start service
1
| hostapd -B /etc/hostapd.conf
|
/etc/hostapd.conf1 2 3 4 5
| ctrl_interface=/var/run/hostapd interface=wlan0 hw_mode=g ieee80211n=1 driver=nl80211
|
Start service
1 2 3 4 5 6 7 8 9 10
| hostapd -B /etc/hostapd.conf hostapd_cli -i wlan0 set ssid "SSID_HERE" hostapd_cli -i wlan0 set wpa_passphrase "PASSWORD_HERE" hostapd_cli -i wlan0 set channel 11 hostapd_cli -i wlan0 set wpa 2 hostapd_cli -i wlan0 set wpa_key_mgmt WPA-PSK hostapd_cli -i wlan0 set rsn_pairwise "TKIP CCMP" hostapd_cli -i wlan0 set ignore_broadcast_ssid 0 hostapd_cli -i wlan0 disable hostapd_cli -i wlan0 enable
|
1 2 3 4 5 6
| hostapd -B /etc/hostapd.conf hostapd_cli -i wlan0 set ssid "SSID_HERE" hostapd_cli -i wlan0 set channel 11 hostapd_cli -i wlan0 set ignore_broadcast_ssid 0 hostapd_cli -i wlan0 disable hostapd_cli -i wlan0 enable
|