То работает, то работает, но падает через какое-то время и не хочет перезапускаться
Feb 07 17:49:57 debian-home systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Feb 07 17:49:57 debian-home systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb 07 17:49:57 debian-home systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb 07 17:49:59 debian-home systemd[1]: hostapd.service: Service RestartSec=2s expired, scheduling restart.
Feb 07 17:49:59 debian-home systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 2622.
Feb 07 17:49:59 debian-home systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb 07 17:49:59 debian-home systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb 07 17:49:59 debian-home hostapd[16006]: Configuration file: /etc/hostapd/hostapd.conf
Feb 07 17:49:59 debian-home hostapd[16006]: nl80211: Could not configure driver mode
Feb 07 17:49:59 debian-home hostapd[16006]: nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
Feb 07 17:49:59 debian-home hostapd[16006]: nl80211 driver initialization failed.
Feb 07 17:49:59 debian-home hostapd[16006]: wlp3s0: interface state UNINITIALIZED->DISABLED
Feb 07 17:49:59 debian-home hostapd[16006]: wlp3s0: AP-DISABLED
Feb 07 17:49:59 debian-home hostapd[16006]: wlp3s0: CTRL-EVENT-TERMINATING
Feb 07 17:49:59 debian-home hostapd[16006]: hostapd_free_hapd_data: Interface wlp3s0 wasn't started
Feb 07 17:49:59 debian-home systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Feb 07 17:49:59 debian-home systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb 07 17:49:59 debian-home systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb 07 17:50:01 debian-home systemd[1]: hostapd.service: Service RestartSec=2s expired, scheduling restart.
Feb 07 17:50:01 debian-home systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 2623.
Feb 07 17:50:01 debian-home systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb 07 17:50:01 debian-home systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb 07 17:50:01 debian-home hostapd[16009]: Configuration file: /etc/hostapd/hostapd.conf
Feb 07 17:50:01 debian-home hostapd[16009]: nl80211: Could not configure driver mode
Feb 07 17:50:01 debian-home hostapd[16009]: nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
Feb 07 17:50:01 debian-home hostapd[16009]: nl80211 driver initialization failed.
Feb 07 17:50:01 debian-home hostapd[16009]: wlp3s0: interface state UNINITIALIZED->DISABLED
Feb 07 17:50:01 debian-home hostapd[16009]: wlp3s0: AP-DISABLED
Feb 07 17:50:01 debian-home hostapd[16009]: wlp3s0: CTRL-EVENT-TERMINATING
Feb 07 17:50:01 debian-home hostapd[16009]: hostapd_free_hapd_data: Interface wlp3s0 wasn't started
Feb 07 17:50:01 debian-home systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Feb 07 17:50:01 debian-home systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb 07 17:50:01 debian-home systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb 07 17:50:03 debian-home systemd[1]: hostapd.service: Service RestartSec=2s expired, scheduling restart.
Feb 07 17:50:03 debian-home systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 2624.
Feb 07 17:50:03 debian-home systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb 07 17:50:03 debian-home systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Feb 07 17:50:04 debian-home hostapd[16012]: Configuration file: /etc/hostapd/hostapd.conf
Feb 07 17:50:04 debian-home hostapd[16012]: nl80211: Could not configure driver mode
Feb 07 17:50:04 debian-home hostapd[16012]: nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
Feb 07 17:50:04 debian-home hostapd[16012]: nl80211 driver initialization failed.
Feb 07 17:50:04 debian-home hostapd[16012]: wlp3s0: interface state UNINITIALIZED->DISABLED
Feb 07 17:50:04 debian-home hostapd[16012]: wlp3s0: AP-DISABLED
Feb 07 17:50:04 debian-home hostapd[16012]: wlp3s0: CTRL-EVENT-TERMINATING
Feb 07 17:50:04 debian-home hostapd[16012]: hostapd_free_hapd_data: Interface wlp3s0 wasn't started
Feb 07 17:50:04 debian-home systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Feb 07 17:50:04 debian-home systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb 07 17:50:04 debian-home systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb 07 17:50:04 debian-home systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Feb 07 17:50:04 debian-home systemd[1]: hostapd.service: Start request repeated too quickly.
Feb 07 17:50:04 debian-home systemd[1]: hostapd.service: Failed with result 'exit-code'.
Feb 07 17:50:04 debian-home systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
cat /etc/hostapd/hostapd.conf
interface=wlp3s0
ssid=some
hw_mode=g
wpa=2
wpa_passphrase=some_pwd
# wpa_key_mgmt=WPA-PSK WPA-EAP WPA-PSK-SHA256 WPA-EAP-SHA256
wpa_key_mgmt=WPA-PSK
Если сделать killall -9 hostapd, то потом hostapd перезапускается и всё работает