Output of systemctl status hostapd.service:
β hostapd.service - Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
Loaded: loaded (/lib/systemd/system/hostapd.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2019-03-29 07:52:13 GMT; 1s
ago
Process: 2663 ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF}
(code=exited, status=1/FAILURE)
CPU: 14ms
Mar 29 07:52:13 MicroSrv-Pi3 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IE
EE 802.1X/WPA/WPA2/EAP Authenticator.
Mar 29 07:52:13 MicroSrv-Pi3 systemd[1]: hostapd.service: Unit entered failed state.
Mar 29 07:52:13 MicroSrv-Pi3 systemd[1]: hostapd.service: Failed with result 'exit-code
'.
Output of journalctl -xe
Mar 29 07:50:46 MicroSrv-Pi3 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IE
EE 802.1X/WPA/WPA2/EAP Authenticator.
-- Subject: Unit hostapd.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit hostapd.service has failed.
--
-- The result is failed.
Mar 29 07:50:46 MicroSrv-Pi3 systemd[1]: hostapd.service: Unit entered failed state.
Mar 29 07:50:46 MicroSrv-Pi3 systemd[1]: hostapd.service: Failed with result 'exit-code
'.
Mar 29 07:50:48 MicroSrv-Pi3 systemd[1]: hostapd.service: Service hold-off time over, schedulin
g restart.
Mar 29 07:50:48 MicroSrv-Pi3 systemd[1]: Stopped Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WP
A2/EAP Authenticator.
-- Subject: Unit hostapd.service has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit hostapd.service has finished shutting down.
Mar 29 07:50:48 MicroSrv-Pi3 systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/W
PA2/EAP Authenticator...
-- Subject: Unit hostapd.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit hostapd.service has begun starting up.
Mar 29 07:50:48 MicroSrv-Pi3 hostapd[2307]: Configuration file:
Mar 29 07:50:48 MicroSrv-Pi3 hostapd[2307]: Could not open configuration file '' for reading.
Mar 29 07:50:48 MicroSrv-Pi3 hostapd[2307]: Failed to set up interface with
Mar 29 07:50:48 MicroSrv-Pi3 hostapd[2307]: Failed to initialize interface
Mar 29 07:50:48 MicroSrv-Pi3 systemd[1]: hostapd.service: Control process exited, code=
exited status=1
Log file contents:
Job for hostapd.service failed because the control process exited with error code.
See "systemctl status hostapd.service" and "journalctl -xe" for details.
@DigitalLifestyleCreations
Many thanks for your report.
Will check. First quick view:
Could not open configuration file '' for reading.
Hi,
same issue on my rpi3, found the following fix, works for me
wget http://dietpi.com/downloads/binaries/all/libssl1.0.0_1.0.1t-1+deb8u7_armhf.deb -O package.deb
dpkg -i package.deb
dietpi-services restart
systemctl unmask hostapd
systemctl enable hostapd
systemctl start hostapd
@schnuckz
Many thanks for this. So my assumption:
hostapd binary denies to start.And I wonder since in many cases on Stretch WiFi Hotspot works well π€. I have to run tests...
How did you actually find this solution? Any hints from logs or such that point into the direction of libssl1.0.0 package requirement?
@MichaIng
after fresh install:
root@xxxxxx:~# service hostapd restart
Failed to restart hostapd.service: Unit hostapd.service is masked.
root@xxxxxx:~# systemctl unmask hostapd
Removed /etc/systemd/system/hostapd.service.
root@xxxxxx:~# service hostapd restart
Job for hostapd.service failed because the control process exited with error code.
See "systemctl status hostapd.service" and "journalctl -xe" for details.
root@xxxxxx:~# systemctl status hostapd.service
β hostapd.service - Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authent
icator
Loaded: loaded (/lib/systemd/system/hostapd.service; disabled; vendor preset:
enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2019-04-18 05
:19:15 CEST; 580ms ago
Process: 1588 ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid -B $DAEMON_OPTS
${DAEMON_CONF} (code=exited, status=127)
Apr 18 05:19:14 xxxxxx systemd[1]: Failed to start Advanced IEEE 802
.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Apr 18 05:19:15 xxxxxx systemd[1]: hostapd.service: Unit entered fai
led state.
Apr 18 05:19:15 xxxxxx systemd[1]: hostapd.service: Failed with resu
lt 'exit-code'.
root@xxxxxx:~# systemctl enable hostapd
Synchronizing state of hostapd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable hostapd
insserv: warning: current start runlevel(s) (empty) of script `hostapd' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `hostapd' overrides LSB defaults (0 1 6).
root@xxxxxx:~# systemctl start hostapd
Job for hostapd.service failed because the control process exited with error code.
See "systemctl status hostapd.service" and "journalctl -xe" for details.
root@xxxxxx:~# systemctl status hostapd.service
β hostapd.service - Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authent
icator
Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; vendor preset:
enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2019-04-18 05
:20:45 CEST; 1s ago
Process: 1724 ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid -B $DAEMON_OPTS
${DAEMON_CONF} (code=exited, status=127)
Apr 18 05:20:44 xxxxxx systemd[1]: Failed to start Advanced IEEE 802
.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
Apr 18 05:20:45 xxxxxx systemd[1]: hostapd.service: Unit entered fai
led state.
Apr 18 05:20:45 xxxxxx systemd[1]: hostapd.service: Failed with resu
lt 'exit-code'.
root@xxxxxx:~# hostapd -d /etc/hostapd/hostapd.conf
hostapd: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
after I tried to start hostapd, I use "google" :) and found this
https://github.com/MichaIng/DietPi/issues/1299#issuecomment-351623366
@schnuckz
Ahh I see. Now I also found where to fix has gone:
So the libssl1.0.0 package should be already installed. Will verify this is the case.
Also strange that the service is masked. Couldn't find any code where we mask this. We enable/disable/start/stop within DietPi-Config when toggle Hostspot there, but never mask it.
Testing on notebook:
π―οΈ libssl1.0.0 is installed, and is present after install ran. So no need to manually install it.
πΊ isc-dhcp-server is installed. The service start triggered by APT install fails with: dhcpcheck syslog for diagnostics. ... failed! I guess since rsyslog is not installed and I read that by default is logs to /var/log/syslog as well (besides journald). However we create a configuration with log-facility local7; which means journald (only), and then finally after install finished the service starts fine.
πΊ I recognized some info about deprecated INTERFACES variable which should be now INTERFACESv4 for IPv4 and is migrated automatically. Not urgent but I fixed this: https://github.com/MichaIng/DietPi/commit/4cf97648c2e793a8f62cccc8878724ae69eef0ee
π―οΈ Aside from that, Hotspot works perfectly here. libssl1.0.0 installed and no masked service.
When doing a fresh install, could you paste the whole dietpi-software output and check:
dpkg -l libssl1.0.0
journalctl -u hostapd
dietpi-software output:
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
DietPi v6.22.3 : 09:03 - Fri 19/04/19
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Device model : RPi 3 Model B (armv7l)
- CPU temp : 67'C : 152'F (Running hot, not recommended)
- LAN IP : 192.168.131.6 (eth0)
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
[ OK ] DietPi-Software | Free space check: path=/ | available=26050 MiB | required=500 MiB
[ OK ] DietPi-Software | DietPi-Userdata validation: /mnt/dietpi_userdata
[ OK ] DietPi-Software | Connection test: http://raspbian.raspberrypi.org/raspbian
[ OK ] NTPD: time sync | Completed
[ SUB1 ] DietPi-Services > unmask
[ OK ] DietPi-Services | unmask all: proftpd
[ OK ] DietPi-Services | unmask all: cron
[ SUB1 ] DietPi-Services > stop
[ OK ] DietPi-Services | stop : cron
[ OK ] DietPi-Services | stop : proftpd
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Mode: Update & upgrade APT
[ INFO ] DietPi-Software | APT update, please wait...
Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Hit:2 https://archive.raspberrypi.org/debian stretch InRelease
Reading package lists...
[ OK ] DietPi-Software | G_AGUP
[ INFO ] DietPi-Software | Running apt simulation to check for errors, please wait...
[ INFO ] DietPi-Software | APT installation for: bash-doc -s, please wait...
Inst bash-doc (4.4-5 Raspbian:stable [all])
Conf bash-doc (4.4-5 Raspbian:stable [all])
[ OK ] DietPi-Software | G_AGI bash-doc -s
[ INFO ] DietPi-Software | APT upgrade, please wait...
[ OK ] DietPi-Software | G_AGUG
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Mode: Checking for prerequisite software
[ SUB1 ] DietPi-Services > stop
[ OK ] DietPi-Services | stop : cron
[ OK ] DietPi-Services | stop : proftpd
[ SUB1 ] DietPi-Services > stop
[ OK ] DietPi-Services | stop : cron
[ OK ] DietPi-Services | stop : proftpd
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Mode: Installing WiFi Hotspot: turn your device into a wifi hotspot
[ OK ] DietPi-Software | Connection test: https://dietpi.com/downloads/binaries/all/hostapd_2.5_all.zip
[ INFO ] DietPi-Software | G_THREAD_START_0 | wget https://dietpi.com/downloads/binaries/all/hostapd_2.5_all.zip -O 60.zip
[ INFO ] DietPi-Software | APT installation for: hostapd isc-dhcp-server iptables libnl-3-200, please wait...
Preconfiguring packages ...
Selecting previously unselected package libnfnetlink0:armhf.
(Reading database ... 37611 files and directories currently installed.)
Preparing to unpack .../00-libnfnetlink0_1.0.1-3_armhf.deb ...
Unpacking libnfnetlink0:armhf (1.0.1-3) ...
Selecting previously unselected package libip6tc0:armhf.
Preparing to unpack .../01-libip6tc0_1.6.0+snapshot20161117-6_armhf.deb ...
Unpacking libip6tc0:armhf (1.6.0+snapshot20161117-6) ...
Selecting previously unselected package libiptc0:armhf.
Preparing to unpack .../02-libiptc0_1.6.0+snapshot20161117-6_armhf.deb ...
Unpacking libiptc0:armhf (1.6.0+snapshot20161117-6) ...
Selecting previously unselected package libxtables12:armhf.
Preparing to unpack .../03-libxtables12_1.6.0+snapshot20161117-6_armhf.deb ...
Unpacking libxtables12:armhf (1.6.0+snapshot20161117-6) ...
Selecting previously unselected package libnetfilter-conntrack3:armhf.
Preparing to unpack .../04-libnetfilter-conntrack3_1.0.6-2_armhf.deb ...
Unpacking libnetfilter-conntrack3:armhf (1.0.6-2) ...
Selecting previously unselected package iptables.
Preparing to unpack .../05-iptables_1.6.0+snapshot20161117-6_armhf.deb ...
Unpacking iptables (1.6.0+snapshot20161117-6) ...
Selecting previously unselected package libnl-route-3-200:armhf.
Preparing to unpack .../06-libnl-route-3-200_3.2.27-2_armhf.deb ...
Unpacking libnl-route-3-200:armhf (3.2.27-2) ...
Selecting previously unselected package hostapd.
Preparing to unpack .../07-hostapd_2%3a2.6-21~bpo9~rpt1_armhf.deb ...
Unpacking hostapd (2:2.6-21~bpo9~rpt1) ...
Selecting previously unselected package libisccc-export140:armhf.
Preparing to unpack .../08-libisccc-export140_1%3a9.10.3.dfsg.P4-12.3+deb9u4_armhf.deb ...
Unpacking libisccc-export140:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) ...
Selecting previously unselected package libisccfg-export140.
Preparing to unpack .../09-libisccfg-export140_1%3a9.10.3.dfsg.P4-12.3+deb9u4_armhf.deb ...
Unpacking libisccfg-export140 (1:9.10.3.dfsg.P4-12.3+deb9u4) ...
Selecting previously unselected package libirs-export141.
Preparing to unpack .../10-libirs-export141_1%3a9.10.3.dfsg.P4-12.3+deb9u4_armhf.deb ...
Unpacking libirs-export141 (1:9.10.3.dfsg.P4-12.3+deb9u4) ...
Selecting previously unselected package isc-dhcp-server.
Preparing to unpack .../11-isc-dhcp-server_4.3.5-3+deb9u1_armhf.deb ...
Unpacking isc-dhcp-server (4.3.5-3+deb9u1) ...
Setting up libisccc-export140:armhf (1:9.10.3.dfsg.P4-12.3+deb9u4) ...
Setting up libnl-route-3-200:armhf (3.2.27-2) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libxtables12:armhf (1.6.0+snapshot20161117-6) ...
Processing triggers for systemd (232-25+deb9u11) ...
Setting up libnfnetlink0:armhf (1.0.1-3) ...
Setting up libisccfg-export140 (1:9.10.3.dfsg.P4-12.3+deb9u4) ...
Setting up libip6tc0:armhf (1.6.0+snapshot20161117-6) ...
Setting up libnetfilter-conntrack3:armhf (1.0.6-2) ...
Setting up hostapd (2:2.6-21~bpo9~rpt1) ...
Created symlink /etc/systemd/system/hostapd.service β /dev/null.
Setting up libirs-export141 (1:9.10.3.dfsg.P4-12.3+deb9u4) ...
Setting up libiptc0:armhf (1.6.0+snapshot20161117-6) ...
Setting up iptables (1.6.0+snapshot20161117-6) ...
Setting up isc-dhcp-server (4.3.5-3+deb9u1) ...
Generating /etc/default/isc-dhcp-server...
Job for isc-dhcp-server.service failed because the control process exited with error code.
See "systemctl status isc-dhcp-server.service" and "journalctl -xe" for details.
invoke-rc.d: initscript isc-dhcp-server, action "start" failed.
β isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-04-19 09:04:53 CEST; 43ms ago
Docs: man:systemd-sysv-generator(8)
Process: 3133 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)
Apr 19 09:04:51 xxx-rpi02 systemd[1]: Starting LSB: DHCP server...
Apr 19 09:04:51 xxx-rpi02 isc-dhcp-server[3133]: Launching both IPv4 and IPvβ¦).
Apr 19 09:04:51 xxx-rpi02 dhcpd[3144]: Wrote 0 leases to leases file.
Apr 19 09:04:53 xxx-rpi02 isc-dhcp-server[3133]: Starting ISC DHCPv4 server:β¦d!
Apr 19 09:04:53 xxx-rpi02 isc-dhcp-server[3133]: failed!
Apr 19 09:04:53 xxx-rpi02 systemd[1]: isc-dhcp-server.service: Control proβ¦us=1
Apr 19 09:04:53 xxx-rpi02 systemd[1]: Failed to start LSB: DHCP server.
Apr 19 09:04:53 xxx-rpi02 systemd[1]: isc-dhcp-server.service: Unit entereβ¦ate.
Apr 19 09:04:53 xxx-rpi02 systemd[1]: isc-dhcp-server.service: Failed withβ¦de'.
Hint: Some lines were ellipsized, use -l to show in full.
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for systemd (232-25+deb9u11) ...
[ OK ] DietPi-Software | G_AGI hostapd isc-dhcp-server iptables libnl-3-200
[ OK ] DietPi-Software | G_THREAD: All threads finished
[ OK ] DietPi-Software | Unzipping archive
[ OK ] DietPi-Software | Cleaning download directory
[ SUB1 ] DietPi-Set_Hardware > wifimodules (enable)
[ INFO ] DietPi-Set_Hardware | Checking for pre-req APT packages: crda iw rfkill wireless-tools wpasupplicant
[ INFO ] DietPi-Set_Hardware | Pre-req APT packages were already installed
[ INFO ] DietPi-Set_Hardware | Please wait, enabling WiFi Modules...
[ OK ] wifimodules enable | Completed
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Mode: Installing Tor Hotspot: optional: route hotspot traffic through tor
[ INFO ] DietPi-Software | APT installation for: tor, please wait...
Selecting previously unselected package libevent-2.0-5:armhf.
(Reading database ... 37854 files and directories currently installed.)
Preparing to unpack .../libevent-2.0-5_2.0.21-stable-3_armhf.deb ...
Unpacking libevent-2.0-5:armhf (2.0.21-stable-3) ...
Selecting previously unselected package tor.
Preparing to unpack .../tor_0.2.9.16-1_armhf.deb ...
Unpacking tor (0.2.9.16-1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for systemd (232-25+deb9u11) ...
Setting up libevent-2.0-5:armhf (2.0.21-stable-3) ...
Setting up tor (0.2.9.16-1) ...
Something or somebody made /var/lib/tor disappear.
Creating one for you again.
Something or somebody made /var/log/tor disappear.
Creating one for you again.
Created symlink /etc/systemd/system/multi-user.target.wants/tor.service β /lib/systemd/system/tor.service.
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for systemd (232-25+deb9u11) ...
[ OK ] DietPi-Software | G_AGI tor
[ SUB1 ] DietPi-Services > stop
[ OK ] DietPi-Services | stop : cron
[ OK ] DietPi-Services | stop : hostapd
[ OK ] DietPi-Services | stop : proftpd
[ OK ] DietPi-Services | stop : isc-dhcp-server
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Mode: Optimize and configure software
[ INFO ] DietPi-Software | Applying DietPi optimizations and configurations for RPi 3 Model B (armv7l), please wait...
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Mode: Configuring WiFi Hotspot: turn your device into a wifi hotspot
[ OK ] DietPi-Software | /etc/dhcp/dhcpd.conf: backup to /etc/dhcp/dhcpd.conf.bak_190419_0
[ INFO ] DietPi-Software | For a full list of backup items, please see /var/tmp/dietpi/logs/G_BACKUP_FP.db
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.default.forwarding = 1
[ OK ] DietPi-Software | Added setting ieee80211n=1 to end of file /etc/hostapd/hostapd.conf
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Mode: Configuring Tor Hotspot: optional: route hotspot traffic through tor
[ SUB1 ] DietPi-Services > dietpi_controlled
[ OK ] DietPi-Services | dietpi_controlled : isc-dhcp-server
[ OK ] DietPi-Services | dietpi_controlled : proftpd
[ OK ] DietPi-Services | dietpi_controlled : hostapd
[ OK ] DietPi-Services | dietpi_controlled : cron
[ .... ] DietPi-Survey | (1/3) Testing connection to ssh.dietpi.com, please wait[ OK ] DietPi-Survey | Connection test: ssh.dietpi.com
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Mode: Installation completed
root@xxx-rpi02:~# dpkg -l libssl1.0.0
dpkg-query: no packages found matching libssl1.0.0
root@xxx-rpi02:~# journalctl -u hostapd
-- No entries --
root@xxx-rpi02:~#
@schnuckz
Ah found the reason why libssl1.0.0 is not installed in your case. When installing Tor Hotspot we mark WiFi Hotspot base install while install looks are already running, AFTER pre-requirements are marked. Will switch that.
It works after installing libssl1.0.0 manually, right?
Fixed with: https://github.com/MichaIng/DietPi/pull/2723
@MichaIng
Yes, after manual install it works.
root@xxxx-rpi02:~# wget http://dietpi.com/downloads/binaries/all/libssl1.0.0_1.0.1t-1+deb8u7_armhf.deb -O package.deb
--2019-04-21 13:24:07-- http://dietpi.com/downloads/binaries/all/libssl1.0.0_1.0.1t-1+deb8u7_armhf.deb
Resolving dietpi.com (dietpi.com)... 104.27.179.199, 104.27.178.199, 2606:4700:30::681b:b2c7, ...
Connecting to dietpi.com (dietpi.com)|104.27.179.199|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://dietpi.com/downloads/binaries/all/libssl1.0.0_1.0.1t-1+deb8u7_armhf.deb [following]
--2019-04-21 13:24:07-- https://dietpi.com/downloads/binaries/all/libssl1.0.0_1.0.1t-1+deb8u7_armhf.deb
Connecting to dietpi.com (dietpi.com)|104.27.179.199|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 867176 (847K) [application/x-debian-package]
Saving to: βpackage.debβ
package.deb 100%[===================>] 846.85K 4.27MB/s in 0.2s
2019-04-21 13:24:08 (4.27 MB/s) - βpackage.debβ saved [867176/867176]
root@xxxx-rpi02:~# dpkg -i package.deb
Selecting previously unselected package libssl1.0.0:armhf.
(Reading database ... 37903 files and directories currently installed.)
Preparing to unpack package.deb ...
Unpacking libssl1.0.0:armhf (1.0.1t-1+deb8u7) ...
Setting up libssl1.0.0:armhf (1.0.1t-1+deb8u7) ...
root@xxxx-rpi02:~# dietpi-services restart
[ OK ] DietPi-Services | Root access verified.
DietPi-Services
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Mode: restart
[ OK ] DietPi-Services | restart : isc-dhcp-server
[ OK ] DietPi-Services | restart : proftpd
[FAILED] DietPi-Services | restart : hostapd
[ OK ] DietPi-Services | restart : cron
[ SUB1 ] DietPi-Process_tool > Apply
[ OK ] DietPi-Process_tool | Cron (5803) : Nice 0
[ OK ] DietPi-Process_tool | Cron (5803) : Affinity 0-3
[ OK ] DietPi-Process_tool | Cron (5803) : Scheduler SCHED_OTHER 0
[ OK ] DietPi-Process_tool | DHCP Server (5739) : Nice 0
[ OK ] DietPi-Process_tool | DHCP Server (5739) : Affinity 0-3
[ OK ] DietPi-Process_tool | DHCP Server (5739) : Scheduler SCHED_OTHER 0
[ OK ] DietPi-Process_tool | Dropbear (765) : Nice 0
[ OK ] DietPi-Process_tool | Dropbear (765) : Affinity 0-3
[ OK ] DietPi-Process_tool | Dropbear (765) : Scheduler SCHED_OTHER 0
[ OK ] DietPi-Process_tool | Dropbear (5472) : Nice 0
[ OK ] DietPi-Process_tool | Dropbear (5472) : Affinity 0-3
[ OK ] DietPi-Process_tool | Dropbear (5472) : Scheduler SCHED_OTHER 0
[ OK ] DietPi-Process_tool | ProFTP (5784) : Nice 0
[ OK ] DietPi-Process_tool | ProFTP (5784) : Affinity 0-3
[ OK ] DietPi-Process_tool | ProFTP (5784) : Scheduler SCHED_OTHER 0
[ OK ] DietPi-Process_tool | Completed
root@xxxx-rpi02:~# systemctl start hostapd
Failed to start hostapd.service: Unit hostapd.service is masked.
root@xxxx-rpi02:~# systemctl unmask hostapd
Removed /etc/systemd/system/hostapd.service.
root@xxxx-rpi02:~# systemctl enable hostapd
Synchronizing state of hostapd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable hostapd
insserv: warning: current start runlevel(s) (empty) of script `hostapd' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `hostapd' overrides LSB defaults (0 1 6).
root@xxxx-rpi02:~# systemctl start hostapd
root@xxxx-rpi02:~#
@schnuckz
Okay perfect, then this issue is fixed.
Most helpful comment
@MichaIng
Yes, after manual install it works.