Hotspot application installation failure

Hello

Hardware Old laptop CPU 32bit

YunoHost version Laste
I have access to my server : direct access via keyboard, Through SSH

I am trying to install the hotspot application:
yunohost app install hotspot

Here are the errors

Info: Installing hotspot...
Info: [+...................] > Validating installation parameters...
Info: [#++.................] > Storing installation settings...
Info: [###+................] > Configuring firewall...
Info: [####++..............] > Installing firmware...
Info: [######+.............] > Installing dependencies...
Warning: Job for hostapd.service failed because the control process exited with error code.
Warning: See "systemctl status hostapd.service" and "journalctl -xe" for details.
Info: [#######++...........] > Configuring system user...
Info: [#########+..........] > Configuring hotspot...
Info: [##########++........] > Copying configuration files...
Info: [############+.......] > Configuring hostapd...
Info: [#############++.....] > Configuring a systemd service...
Info: [###############+....] > Integrating service in YunoHost...
Info: [################++..] > Starting a systemd service...
Warning: Job for ynh-hotspot.service failed because the control process exited with error code.
Warning: See "systemctl status ynh-hotspot.service" and "journalctl -xe" for details.
Warning: [Error] Nov 15 18:26:28 systemd[1]: Starting YunoHost Wifi Hotspot...
Warning: Nov 15 18:26:28 ynh-hotspot[6058]: Retrieving Yunohost settings... OK
Warning: Nov 15 18:26:30 ynh-hotspot[6058]: [hotspot] Starting...
Warning: Nov 15 18:26:31 ynh-hotspot[6058]: Set NAT
Warning: Nov 15 18:26:31 ynh-hotspot[6058]: Set forwarding
Warning: Nov 15 18:26:31 ynh-hotspot[6058]: Run hostapd
Warning: Nov 15 18:26:31 ynh-hotspot[6058]: Job for hostapd.service failed because the control process exited with error code.
Warning: Nov 15 18:26:31 ynh-hotspot[6058]: See "systemctl status hostapd.service" and "journalctl -xe" for details.
Warning: Nov 15 18:26:31 systemd[1]: ynh-hotspot.service: Main process exited, code=exited, status=1/FAILURE
Warning: Nov 15 18:26:31 systemd[1]: ynh-hotspot.service: Failed with result 'exit-code'.
Warning: Nov 15 18:26:31 systemd[1]: Failed to start YunoHost Wifi Hotspot.
Error: Unable to install hotspot: An error occurred inside the app installation script
Info: The operation 'Install the 'hotspot' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20211115-172511-app_install-hotspot' to get help
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - Nov 15 18:26:31 ynh-hotspot[6058]: See "systemctl status hostapd.service" and "journalctl -xe" for details.
Info: DEBUG - Nov 15 18:26:31 systemd[1]: ynh-hotspot.service: Main process exited, code=exited, status=1/FAILURE
Info: DEBUG - Nov 15 18:26:31 systemd[1]: ynh-hotspot.service: Failed with result '\''exit-code'\''.
Info: DEBUG - Nov 15 18:26:31 systemd[1]: Failed to start YunoHost Wifi Hotspot.'
Info: DEBUG - + '[' -e systemd ']'
Info: DEBUG - + ynh_clean_check_starting
Info: DEBUG - + '[' -n '' ']'
Info: DEBUG - + '[' -n '' ']'
Info: DEBUG - + return 1
Info: WARNING - [Error] Nov 15 18:26:28 systemd[1]: Starting YunoHost Wifi Hotspot...
Info: WARNING - Nov 15 18:26:28 ynh-hotspot[6058]: Retrieving Yunohost settings... OK
Info: WARNING - Nov 15 18:26:30 ynh-hotspot[6058]: [hotspot] Starting...
Info: WARNING - Nov 15 18:26:31 ynh-hotspot[6058]: Set NAT
Info: WARNING - Nov 15 18:26:31 ynh-hotspot[6058]: Set forwarding
Info: WARNING - Nov 15 18:26:31 ynh-hotspot[6058]: Run hostapd
Info: WARNING - Nov 15 18:26:31 ynh-hotspot[6058]: Job for hostapd.service failed because the control process exited with error code.
Info: WARNING - Nov 15 18:26:31 ynh-hotspot[6058]: See "systemctl status hostapd.service" and "journalctl -xe" for details.
Info: WARNING - Nov 15 18:26:31 systemd[1]: ynh-hotspot.service: Main process exited, code=exited, status=1/FAILURE
Info: WARNING - Nov 15 18:26:31 systemd[1]: ynh-hotspot.service: Failed with result 'exit-code'.
Info: WARNING - Nov 15 18:26:31 systemd[1]: Failed to start YunoHost Wifi Hotspot.
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app following the installation failure...
Info: [++..................] > Loading installation settings...
Info: [##++................] > Removing hotspot service
Info: [####++..............] > Stopping and removing the systemd service...
Info: [######++............] > Removing dependencies...
Warning: Removed /etc/systemd/system/hostapd.service.
Info: [########+++.........] > Removing app main directory...
Info: [###########++.......] > Closing port 547
Info: [#############++.....] > Closing port 67
Info: [###############++...] > Removing the dedicated system user...
Info: [#################+++] > Removal of hotspot completed
Error: The operation 'Install the 'hotspot' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20211115-172511-app_install-hotspot' to get help

Can you share the output of journalctl -u hostapd -n 100 --no-hostname --no-pager

-- Logs begin at Mon 2021-11-15 18:06:38 CET, end at Mon 2021-11-15 19:38:03 CET. --
Nov 15 18:26:33 hostapd[6207]: nl80211: deinit ifname=wlp2s0 disabled_11b_rates=0
Nov 15 18:26:33 systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Nov 15 18:26:33 systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 15 18:26:33 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 18:26:35 systemd[1]: hostapd.service: Service RestartSec=2s expired, scheduling restart.
Nov 15 18:26:35 systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 2.
Nov 15 18:26:35 systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 18:26:35 systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Nov 15 18:26:36 hostapd[6304]: Configuration file: /etc/hostapd/hostapd.conf
Nov 15 18:26:36 hostapd[6304]: rfkill: WLAN soft blocked
Nov 15 18:26:36 hostapd[6304]: Could not set channel for kernel driver
Nov 15 18:26:36 hostapd[6304]: Interface initialization failed
Nov 15 18:26:36 hostapd[6304]: wlp2s0: interface state UNINITIALIZED->DISABLED
Nov 15 18:26:36 hostapd[6304]: wlp2s0: AP-DISABLED
Nov 15 18:26:36 hostapd[6304]: wlp2s0: Unable to setup interface.
Nov 15 18:26:36 hostapd[6304]: wlp2s0: interface state DISABLED->DISABLED
Nov 15 18:26:36 hostapd[6304]: wlp2s0: AP-DISABLED
Nov 15 18:26:36 hostapd[6304]: wlp2s0: CTRL-EVENT-TERMINATING
Nov 15 18:26:36 hostapd[6304]: hostapd_free_hapd_data: Interface wlp2s0 wasn't started
Nov 15 18:26:36 hostapd[6304]: nl80211: deinit ifname=wlp2s0 disabled_11b_rates=0
Nov 15 18:26:36 systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Nov 15 18:26:36 systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 15 18:26:36 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 18:26:38 systemd[1]: hostapd.service: Service RestartSec=2s expired, scheduling restart.
Nov 15 18:26:38 systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 3.
Nov 15 18:26:38 systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 18:26:38 systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Nov 15 18:26:38 hostapd[6348]: Configuration file: /etc/hostapd/hostapd.conf
Nov 15 18:26:38 hostapd[6348]: rfkill: WLAN soft blocked
Nov 15 18:26:38 hostapd[6348]: Could not set channel for kernel driver
Nov 15 18:26:38 hostapd[6348]: Interface initialization failed
Nov 15 18:26:38 hostapd[6348]: wlp2s0: interface state UNINITIALIZED->DISABLED
Nov 15 18:26:38 hostapd[6348]: wlp2s0: AP-DISABLED
Nov 15 18:26:38 hostapd[6348]: wlp2s0: Unable to setup interface.
Nov 15 18:26:38 hostapd[6348]: wlp2s0: interface state DISABLED->DISABLED
Nov 15 18:26:38 hostapd[6348]: wlp2s0: AP-DISABLED
Nov 15 18:26:38 hostapd[6348]: wlp2s0: CTRL-EVENT-TERMINATING
Nov 15 18:26:38 hostapd[6348]: hostapd_free_hapd_data: Interface wlp2s0 wasn't started
Nov 15 18:26:38 hostapd[6348]: nl80211: deinit ifname=wlp2s0 disabled_11b_rates=0
Nov 15 18:26:38 systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Nov 15 18:26:38 systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 15 18:26:38 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 18:26:40 systemd[1]: hostapd.service: Service RestartSec=2s expired, scheduling restart.
Nov 15 18:26:40 systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 4.
Nov 15 18:26:40 systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 18:26:40 systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Nov 15 18:26:40 hostapd[6516]: Configuration file: /etc/hostapd/hostapd.conf
Nov 15 18:26:40 hostapd[6516]: rfkill: WLAN soft blocked
Nov 15 18:26:40 hostapd[6516]: Could not set channel for kernel driver
Nov 15 18:26:40 hostapd[6516]: Interface initialization failed
Nov 15 18:26:40 hostapd[6516]: wlp2s0: interface state UNINITIALIZED->DISABLED
Nov 15 18:26:40 hostapd[6516]: wlp2s0: AP-DISABLED
Nov 15 18:26:40 hostapd[6516]: wlp2s0: Unable to setup interface.
Nov 15 18:26:40 hostapd[6516]: wlp2s0: interface state DISABLED->DISABLED
Nov 15 18:26:40 hostapd[6516]: wlp2s0: AP-DISABLED
Nov 15 18:26:40 hostapd[6516]: wlp2s0: CTRL-EVENT-TERMINATING
Nov 15 18:26:40 hostapd[6516]: hostapd_free_hapd_data: Interface wlp2s0 wasn't started
Nov 15 18:26:40 hostapd[6516]: nl80211: deinit ifname=wlp2s0 disabled_11b_rates=0
Nov 15 18:26:41 systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Nov 15 18:26:41 systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 15 18:26:41 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 18:26:43 systemd[1]: hostapd.service: Service RestartSec=2s expired, scheduling restart.
Nov 15 18:26:43 systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 5.
Nov 15 18:26:43 systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 18:26:43 systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Nov 15 18:26:43 hostapd[6603]: Configuration file: /etc/hostapd/hostapd.conf
Nov 15 18:26:43 hostapd[6603]: rfkill: WLAN soft blocked
Nov 15 18:26:43 hostapd[6603]: Could not set channel for kernel driver
Nov 15 18:26:43 hostapd[6603]: Interface initialization failed
Nov 15 18:26:43 hostapd[6603]: wlp2s0: interface state UNINITIALIZED->DISABLED
Nov 15 18:26:43 hostapd[6603]: wlp2s0: AP-DISABLED
Nov 15 18:26:43 hostapd[6603]: wlp2s0: Unable to setup interface.
Nov 15 18:26:43 hostapd[6603]: wlp2s0: interface state DISABLED->DISABLED
Nov 15 18:26:43 hostapd[6603]: wlp2s0: AP-DISABLED
Nov 15 18:26:43 hostapd[6603]: wlp2s0: CTRL-EVENT-TERMINATING
Nov 15 18:26:43 hostapd[6603]: hostapd_free_hapd_data: Interface wlp2s0 wasn't started
Nov 15 18:26:43 hostapd[6603]: nl80211: deinit ifname=wlp2s0 disabled_11b_rates=0
Nov 15 18:26:43 systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Nov 15 18:26:43 systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 15 18:26:43 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 18:26:45 systemd[1]: hostapd.service: Service RestartSec=2s expired, scheduling restart.
Nov 15 18:26:45 systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 6.
Nov 15 18:26:45 systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 18:26:45 systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Nov 15 18:26:46 hostapd[6607]: Configuration file: /etc/hostapd/hostapd.conf
Nov 15 18:26:46 hostapd[6607]: rfkill: WLAN soft blocked
Nov 15 18:26:46 hostapd[6607]: Could not set channel for kernel driver
Nov 15 18:26:46 hostapd[6607]: Interface initialization failed
Nov 15 18:26:46 hostapd[6607]: wlp2s0: interface state UNINITIALIZED->DISABLED
Nov 15 18:26:46 hostapd[6607]: wlp2s0: AP-DISABLED
Nov 15 18:26:46 hostapd[6607]: wlp2s0: Unable to setup interface.
Nov 15 18:26:46 hostapd[6607]: wlp2s0: interface state DISABLED->DISABLED
Nov 15 18:26:46 hostapd[6607]: wlp2s0: AP-DISABLED
Nov 15 18:26:46 hostapd[6607]: wlp2s0: CTRL-EVENT-TERMINATING
Nov 15 18:26:46 hostapd[6607]: hostapd_free_hapd_data: Interface wlp2s0 wasn't started
Nov 15 18:26:46 hostapd[6607]: nl80211: deinit ifname=wlp2s0 disabled_11b_rates=0
Nov 15 18:26:46 systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Nov 15 18:26:46 systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 15 18:26:46 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 18:26:47 systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.

rfkill: WLAN soft blocked

I try again !

unlocked
rfkill unblock all

Same error

Warning: Job for hostapd.service failed because the control process exited with error code.

- Logs begin at Mon 2021-11-15 18:06:38 CET, end at Mon 2021-11-15 19:47:37 CET. --
Nov 15 19:44:40 hostapd[15445]: wlp2s0: Unable to setup interface.
Nov 15 19:44:40 hostapd[15445]: wlp2s0: interface state DISABLED->DISABLED
Nov 15 19:44:40 hostapd[15445]: wlp2s0: AP-DISABLED
Nov 15 19:44:40 hostapd[15445]: wlp2s0: CTRL-EVENT-TERMINATING
Nov 15 19:44:40 hostapd[15445]: hostapd_free_hapd_data: Interface wlp2s0 wasn't started
Nov 15 19:44:40 hostapd[15445]: nl80211: deinit ifname=wlp2s0 disabled_11b_rates=0
Nov 15 19:44:40 systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Nov 15 19:44:40 systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 15 19:44:40 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 19:44:42 systemd[1]: hostapd.service: Service RestartSec=2s expired, scheduling restart.
Nov 15 19:44:42 systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 2.
Nov 15 19:44:42 systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 19:44:42 systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Nov 15 19:44:42 hostapd[15560]: Configuration file: /etc/hostapd/hostapd.conf
Nov 15 19:44:42 hostapd[15560]: Could not set channel for kernel driver
Nov 15 19:44:42 hostapd[15560]: Interface initialization failed
Nov 15 19:44:42 hostapd[15560]: wlp2s0: interface state UNINITIALIZED->DISABLED
Nov 15 19:44:42 hostapd[15560]: wlp2s0: AP-DISABLED
Nov 15 19:44:42 hostapd[15560]: wlp2s0: Unable to setup interface.
Nov 15 19:44:42 hostapd[15560]: wlp2s0: interface state DISABLED->DISABLED
Nov 15 19:44:42 hostapd[15560]: wlp2s0: AP-DISABLED
Nov 15 19:44:42 hostapd[15560]: wlp2s0: CTRL-EVENT-TERMINATING
Nov 15 19:44:42 hostapd[15560]: hostapd_free_hapd_data: Interface wlp2s0 wasn't started
Nov 15 19:44:42 hostapd[15560]: nl80211: deinit ifname=wlp2s0 disabled_11b_rates=0
Nov 15 19:44:42 systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Nov 15 19:44:42 systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 15 19:44:42 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 19:44:44 systemd[1]: hostapd.service: Service RestartSec=2s expired, scheduling restart.
Nov 15 19:44:44 systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 3.
Nov 15 19:44:44 systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 19:44:44 systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Nov 15 19:44:44 hostapd[15604]: Configuration file: /etc/hostapd/hostapd.conf
Nov 15 19:44:44 hostapd[15604]: Could not set channel for kernel driver
Nov 15 19:44:44 hostapd[15604]: Interface initialization failed
Nov 15 19:44:44 hostapd[15604]: wlp2s0: interface state UNINITIALIZED->DISABLED
Nov 15 19:44:44 hostapd[15604]: wlp2s0: AP-DISABLED
Nov 15 19:44:44 hostapd[15604]: wlp2s0: Unable to setup interface.
Nov 15 19:44:44 hostapd[15604]: wlp2s0: interface state DISABLED->DISABLED
Nov 15 19:44:44 hostapd[15604]: wlp2s0: AP-DISABLED
Nov 15 19:44:44 hostapd[15604]: wlp2s0: CTRL-EVENT-TERMINATING
Nov 15 19:44:44 hostapd[15604]: hostapd_free_hapd_data: Interface wlp2s0 wasn't started
Nov 15 19:44:44 hostapd[15604]: nl80211: deinit ifname=wlp2s0 disabled_11b_rates=0
Nov 15 19:44:44 systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Nov 15 19:44:44 systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 15 19:44:44 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 19:44:46 systemd[1]: hostapd.service: Service RestartSec=2s expired, scheduling restart.
Nov 15 19:44:46 systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 4.
Nov 15 19:44:46 systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 19:44:46 systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Nov 15 19:44:46 hostapd[15771]: Configuration file: /etc/hostapd/hostapd.conf
Nov 15 19:44:46 hostapd[15771]: Could not set channel for kernel driver
Nov 15 19:44:46 hostapd[15771]: Interface initialization failed
Nov 15 19:44:46 hostapd[15771]: wlp2s0: interface state UNINITIALIZED->DISABLED
Nov 15 19:44:46 hostapd[15771]: wlp2s0: AP-DISABLED
Nov 15 19:44:46 hostapd[15771]: wlp2s0: Unable to setup interface.
Nov 15 19:44:46 hostapd[15771]: wlp2s0: interface state DISABLED->DISABLED
Nov 15 19:44:46 hostapd[15771]: wlp2s0: AP-DISABLED
Nov 15 19:44:46 hostapd[15771]: wlp2s0: CTRL-EVENT-TERMINATING
Nov 15 19:44:46 hostapd[15771]: hostapd_free_hapd_data: Interface wlp2s0 wasn't started
Nov 15 19:44:46 hostapd[15771]: nl80211: deinit ifname=wlp2s0 disabled_11b_rates=0
Nov 15 19:44:47 systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Nov 15 19:44:47 systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 15 19:44:47 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 19:44:49 systemd[1]: hostapd.service: Service RestartSec=2s expired, scheduling restart.
Nov 15 19:44:49 systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 5.
Nov 15 19:44:49 systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 19:44:49 systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Nov 15 19:44:50 hostapd[15858]: Configuration file: /etc/hostapd/hostapd.conf
Nov 15 19:44:50 hostapd[15858]: Could not set channel for kernel driver
Nov 15 19:44:50 hostapd[15858]: Interface initialization failed
Nov 15 19:44:50 hostapd[15858]: wlp2s0: interface state UNINITIALIZED->DISABLED
Nov 15 19:44:50 hostapd[15858]: wlp2s0: AP-DISABLED
Nov 15 19:44:50 hostapd[15858]: wlp2s0: Unable to setup interface.
Nov 15 19:44:50 hostapd[15858]: wlp2s0: interface state DISABLED->DISABLED
Nov 15 19:44:50 hostapd[15858]: wlp2s0: AP-DISABLED
Nov 15 19:44:50 hostapd[15858]: wlp2s0: CTRL-EVENT-TERMINATING
Nov 15 19:44:50 hostapd[15858]: hostapd_free_hapd_data: Interface wlp2s0 wasn't started
Nov 15 19:44:50 hostapd[15858]: nl80211: deinit ifname=wlp2s0 disabled_11b_rates=0
Nov 15 19:44:50 systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Nov 15 19:44:50 systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 15 19:44:50 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 19:44:52 systemd[1]: hostapd.service: Service RestartSec=2s expired, scheduling restart.
Nov 15 19:44:52 systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 6.
Nov 15 19:44:52 systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 19:44:52 systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Nov 15 19:44:52 hostapd[15864]: Configuration file: /etc/hostapd/hostapd.conf
Nov 15 19:44:52 hostapd[15864]: Could not set channel for kernel driver
Nov 15 19:44:52 hostapd[15864]: Interface initialization failed
Nov 15 19:44:52 hostapd[15864]: wlp2s0: interface state UNINITIALIZED->DISABLED
Nov 15 19:44:52 hostapd[15864]: wlp2s0: AP-DISABLED
Nov 15 19:44:52 hostapd[15864]: wlp2s0: Unable to setup interface.
Nov 15 19:44:52 hostapd[15864]: wlp2s0: interface state DISABLED->DISABLED
Nov 15 19:44:52 hostapd[15864]: wlp2s0: AP-DISABLED
Nov 15 19:44:52 hostapd[15864]: wlp2s0: CTRL-EVENT-TERMINATING
Nov 15 19:44:52 hostapd[15864]: hostapd_free_hapd_data: Interface wlp2s0 wasn't started
Nov 15 19:44:52 hostapd[15864]: nl80211: deinit ifname=wlp2s0 disabled_11b_rates=0
Nov 15 19:44:52 systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Nov 15 19:44:52 systemd[1]: hostapd.service: Failed with result 'exit-code'.
Nov 15 19:44:52 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Nov 15 19:44:53 systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Could not set channel for kernel driver

Naively this looks like a driver issue … Can you elaborate on what kind of wifi device you have ? Did you try installing the non-free drivers ?

It is a
Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
It’s an old laptop I didn’t need a non-free driver when I used it as a laptop

same error

Install non-free WiFi firmwares ? (Only needed if you're using a proprietary WiFi antenna/dongle) [yes | no]: yes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.