Wifi Hotspot stops working multiple times daily. hostapd will fail restart

Creating a bug report/issue

Required Information

  • DietPi version | cat /boot/dietpi/.version
    G_DIETPI_VERSION_CORE=8
    G_DIETPI_VERSION_SUB=10
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    bullseye 1

  • Kernel version | uname -a

  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)

  • Power supply used | (EG: 5V 1A RAVpower)

  • SD card used | (EG: SanDisk ultra)
    Linux DietPi 5.15.61-v7+ #1579 SMP Fri Aug 26 11:10:59 BST 2022 armv7l GNU/Linux

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
  • Was the software title installed freshly or updated/migrated?
    Installed Hotspot in Browse Software
  • Can this issue be replicated on a fresh installation of DietPi?
    ??
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

Hotspot stops working 0 to 10 times daily. Connected clients are disconnected
Restart hostapd fails to restart
I can only resolve it by a reboot of the Pi

Expected behaviour

Actual behaviour

  • …Hotspot stops working 0 to 10 times daily. Connected clients are disconnected
    Restart hostapd fails to restart
    I can only resolve it by a reboot of the Pi

Extra details

root@DietPi:~# sudo systemctl stop isc-dhcp-server
root@DietPi:~# sudo systemctl start isc-dhcp-server
root@DietPi:~#
root@DietPi:~# sudo systemctl start hostapd
Job for hostapd.service failed because a timeout was exceeded.
See "systemctl status hostapd.service" and "journalctl -xe" for details.
root@DietPi:~# systemctl status hostapd.service
● hostapd.service - Access point and authentication server for Wi-Fi and Ethernet
     Loaded: loaded (/lib/systemd/system/hostapd.service; disabled; vendor preset: enabled)
     Active: activating (start) since Fri 2022-11-11 11:19:44 PST; 12s ago
       Docs: man:hostapd(8)
Cntrl PID: 23587 (hostapd)
      Tasks: 1 (limit: 1596)
        CPU: 25ms
     CGroup: /system.slice/hostapd.service
             └─23587 /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hostapd.conf

After a failed restart attempt, can you share journalctl -u hostapd.service please.

Thank you for your reply. After searching for the error for a long time I gave up and have done now an all new Pi installation. I hope the problem is resolved. Else I will send you the requested journal.

Manfred