RaspAP / raspap-webgui

Simple wireless AP setup & management for Debian-based devices
https://raspap.com/
GNU General Public License v3.0
4.43k stars 786 forks source link

[Bug]: #1625

Closed Drizzt321 closed 2 months ago

Drizzt321 commented 2 months ago

Code of Conduct

Issue reporting checklist

Operating System

Raspberry Pi OS (32-bit) Lite Bookworm

Quick install or Manual setup?

Quick install

Onboard wireless chipset or external adapter?

Onboard wireless chipset

Hardware

Raspberry Pi Zero W

RaspAP version

3.1.3 (Latest)

Other software or services running with RaspAP?

No other software

Contact details (optional)

drizzt321@gmail.com

Bug description

I'm trying to install on a RPi Zero W that I've had laying around. I have an 64GB mSD card, did a fresh install of 32-bit Bookworm Lite Raspian. Updated/full-upgrade, and then followed https://docs.raspap.com/ap-sta/#installation instructions for RPi Zero W installation.

After the install via the Quick Install script, the uap0 interface was there, but down. When I would try and bring it up via the Start uap0 button on the Dashboard page. That wouldn't work, in fact got an error in journalctl log saying no permissions. Even when I tried ip link set uap0 up as root, it kept showing as down. And no WiFi network with the chosen network name appears to clients.

Steps to reproduce

Unsure if anything specific, but fresh Raspian Lite 32-bit on RPi Zero W v1.1, then follow install instructions at https://docs.raspap.com/ap-sta/#installation including not rebooting until after I had tried everything on that installation page, even checked

Screenshots

My /etc/raspap/hostapd.ini is

WifiInterface = uap0
LogEnable = 1
WifiAPEnable = 1
BridgedEnable = 0
WifiManaged = wlan0

Additional context

No response

Relevant log output

journalctl after hitting Start Hotspot before Reboot:

Jul 19 19:26:28 playapologies sudo[8788]:     root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/mv /var/www/html/installers/restapi.service /lib/systemd/system/
Jul 19 19:26:28 playapologies sudo[8788]: pam_unix(sudo:session): session opened for user root(uid=0) by drizzt(uid=0)
Jul 19 19:26:28 playapologies sudo[8788]: pam_unix(sudo:session): session closed for user root
Jul 19 19:26:28 playapologies sudo[8791]:     root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/systemctl daemon-reload
Jul 19 19:26:28 playapologies sudo[8791]: pam_unix(sudo:session): session opened for user root(uid=0) by drizzt(uid=0)
Jul 19 19:26:28 playapologies systemd[1]: Reloading.
Jul 19 19:26:35 playapologies sudo[8791]: pam_unix(sudo:session): session closed for user root
Jul 19 19:26:36 playapologies sudo[8813]:     root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/systemctl enable restapi.service
Jul 19 19:26:36 playapologies sudo[8813]: pam_unix(sudo:session): session opened for user root(uid=0) by drizzt(uid=0)
Jul 19 19:26:36 playapologies systemd[1]: Reloading.
Jul 19 19:26:42 playapologies sudo[8813]: pam_unix(sudo:session): session closed for user root
Jul 19 19:26:43 playapologies sudo[8834]:     root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/sed -i 's/\\(\'RASPI_RESTAPI_ENABLED\', \\)false/\\1true/g' /var/www/html/includes/config.php
Jul 19 19:26:43 playapologies sudo[8834]: pam_unix(sudo:session): session opened for user root(uid=0) by drizzt(uid=0)
Jul 19 19:26:43 playapologies sudo[8834]: pam_unix(sudo:session): session closed for user root
Jul 19 19:27:52 playapologies sudo[8837]:     root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/cp /var/www/html/installers/raspap.sudoers /etc/sudoers.d/090_raspap
Jul 19 19:27:52 playapologies sudo[8837]: pam_unix(sudo:session): session opened for user root(uid=0) by drizzt(uid=0)
Jul 19 19:27:52 playapologies sudo[8837]: pam_unix(sudo:session): session closed for user root
Jul 19 19:27:52 playapologies sudo[8840]:     root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/chmod 0440 /etc/sudoers.d/090_raspap
Jul 19 19:27:52 playapologies sudo[8840]: pam_unix(sudo:session): session opened for user root(uid=0) by drizzt(uid=0)
Jul 19 19:27:52 playapologies sudo[8840]: pam_unix(sudo:session): session closed for user root
Jul 19 19:27:52 playapologies sudo[8843]:     root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/mkdir /etc/raspap/system
Jul 19 19:27:52 playapologies sudo[8843]: pam_unix(sudo:session): session opened for user root(uid=0) by drizzt(uid=0)
Jul 19 19:27:52 playapologies sudo[8843]: pam_unix(sudo:session): session closed for user root
Jul 19 19:27:52 playapologies sudo[8846]:     root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/cp /var/www/html/installers/debuglog.sh /etc/raspap/system
Jul 19 19:27:52 playapologies sudo[8846]: pam_unix(sudo:session): session opened for user root(uid=0) by drizzt(uid=0)
Jul 19 19:27:52 playapologies sudo[8846]: pam_unix(sudo:session): session closed for user root
Jul 19 19:27:52 playapologies sudo[8849]:     root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/cp /var/www/html/installers/raspbian.sh /etc/raspap/system
Jul 19 19:27:52 playapologies sudo[8849]: pam_unix(sudo:session): session opened for user root(uid=0) by drizzt(uid=0)
Jul 19 19:27:52 playapologies sudo[8849]: pam_unix(sudo:session): session closed for user root
Jul 19 19:27:52 playapologies sudo[8852]:     root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/chown -c root:root /etc/raspap/system/debuglog.sh /etc/raspap/system/raspbian.sh
Jul 19 19:27:52 playapologies sudo[8852]: pam_unix(sudo:session): session opened for user root(uid=0) by drizzt(uid=0)
Jul 19 19:27:52 playapologies sudo[8852]: pam_unix(sudo:session): session closed for user root
Jul 19 19:27:52 playapologies sudo[8855]:     root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/chmod 750 /etc/raspap/system/debuglog.sh /etc/raspap/system/raspbian.sh
Jul 19 19:27:52 playapologies sudo[8855]: pam_unix(sudo:session): session opened for user root(uid=0) by drizzt(uid=0)
Jul 19 19:27:52 playapologies sudo[8855]: pam_unix(sudo:session): session closed for user root
Jul 19 19:28:04 playapologies lighttpd[8903]: cat: /var/lib/misc/dnsmasq.leases: No such file or directory
Jul 19 19:28:18 playapologies kernel: warning: `iwgetid' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
Jul 19 19:28:18 playapologies sudo[8963]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/chmod o+r /tmp/hostapd.log
Jul 19 19:28:18 playapologies sudo[8963]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:28:18 playapologies lighttpd[8964]: /bin/chmod: cannot access '/tmp/hostapd.log': No such file or directory
Jul 19 19:28:18 playapologies sudo[8963]: pam_unix(sudo:session): session closed for user root
Jul 19 19:28:36 playapologies sudo[9053]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/etc/raspap/hostapd/disablelog.sh
Jul 19 19:28:36 playapologies sudo[9053]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:28:36 playapologies sudo[9053]: pam_unix(sudo:session): session closed for user root
Jul 19 19:28:36 playapologies sudo[9057]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf
Jul 19 19:28:36 playapologies sudo[9057]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:28:36 playapologies sudo[9057]: pam_unix(sudo:session): session closed for user root
Jul 19 19:28:36 playapologies sudo[9060]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/rm /etc/dnsmasq.d/090_raspap.conf
Jul 19 19:28:36 playapologies sudo[9060]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:28:36 playapologies sudo[9060]: pam_unix(sudo:session): session closed for user root
Jul 19 19:28:36 playapologies sudo[9063]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/rm /etc/dnsmasq.d/090_wlan0.conf
Jul 19 19:28:36 playapologies sudo[9063]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:28:36 playapologies sudo[9063]: pam_unix(sudo:session): session closed for user root
Jul 19 19:28:36 playapologies sudo[9066]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/cp /tmp/dnsmasqdata /etc/dnsmasq.d/090_uap0.conf
Jul 19 19:28:36 playapologies sudo[9066]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:28:36 playapologies sudo[9066]: pam_unix(sudo:session): session closed for user root
Jul 19 19:28:36 playapologies sudo[9069]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/cp /tmp/dhcpddata /etc/dhcpcd.conf
Jul 19 19:28:36 playapologies sudo[9069]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:28:37 playapologies sudo[9069]: pam_unix(sudo:session): session closed for user root
Jul 19 19:28:37 playapologies sudo[9079]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/sbin/iw dev wlan0 set txpower auto
Jul 19 19:28:37 playapologies sudo[9079]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:28:37 playapologies sudo[9079]: pam_unix(sudo:session): session closed for user root
Jul 19 19:28:37 playapologies sudo[9082]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/chmod o+r /tmp/hostapd.log
Jul 19 19:28:37 playapologies sudo[9082]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:28:37 playapologies lighttpd[9083]: /bin/chmod: cannot access '/tmp/hostapd.log': No such file or directory
Jul 19 19:28:37 playapologies sudo[9082]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:04 playapologies lighttpd[9158]: command failed: No such device (-19)
Jul 19 19:29:04 playapologies sudo[9161]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/etc/raspap/hostapd/enablelog.sh
Jul 19 19:29:04 playapologies sudo[9161]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:04 playapologies sudo[9161]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:04 playapologies sudo[9166]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf
Jul 19 19:29:04 playapologies sudo[9166]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:04 playapologies sudo[9166]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:04 playapologies sudo[9169]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/cp /tmp/dnsmasqdata /etc/dnsmasq.d/090_uap0.conf
Jul 19 19:29:04 playapologies sudo[9169]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:04 playapologies sudo[9169]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:04 playapologies sudo[9172]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/cp /tmp/dhcpddata /etc/dhcpcd.conf
Jul 19 19:29:04 playapologies sudo[9172]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:04 playapologies sudo[9172]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:04 playapologies sudo[9182]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/sbin/iw dev wlan0 set txpower auto
Jul 19 19:29:04 playapologies sudo[9182]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:04 playapologies sudo[9182]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:04 playapologies sudo[9185]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/chmod o+r /tmp/hostapd.log
Jul 19 19:29:04 playapologies sudo[9185]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:04 playapologies sudo[9185]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:31 playapologies lighttpd[9245]: Device "uap0" does not exist.
Jul 19 19:29:31 playapologies lighttpd[9247]: cat: /sys/class/net/uap0/statistics/rx_packets: No such file or directory
Jul 19 19:29:31 playapologies lighttpd[9249]: cat: /sys/class/net/uap0/statistics/tx_packets: No such file or directory
Jul 19 19:29:31 playapologies lighttpd[9251]: cat: /sys/class/net/uap0/statistics/rx_bytes: No such file or directory
Jul 19 19:29:31 playapologies lighttpd[9253]: cat: /sys/class/net/uap0/statistics/tx_bytes: No such file or directory
Jul 19 19:29:31 playapologies sudo[9257]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/usr/bin/vnstat --add --iface uap0
Jul 19 19:29:31 playapologies sudo[9257]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:31 playapologies sudo[9257]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:31 playapologies lighttpd[9264]: cat: /var/lib/misc/dnsmasq.leases: No such file or directory
Jul 19 19:29:31 playapologies lighttpd[9267]: command failed: No such device (-19)
Jul 19 19:29:31 playapologies lighttpd[9265]: Usage: grep [OPTION]... PATTERNS [FILE]...
Jul 19 19:29:31 playapologies lighttpd[9265]: Try 'grep --help' for more information.
Jul 19 19:29:34 playapologies lighttpd[9314]: command failed: No such device (-19)
Jul 19 19:29:34 playapologies sudo[9324]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/chmod o+r /tmp/hostapd.log
Jul 19 19:29:34 playapologies sudo[9324]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:34 playapologies sudo[9324]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:42 playapologies lighttpd[9402]: command failed: No such device (-19)
Jul 19 19:29:42 playapologies sudo[9405]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/etc/raspap/hostapd/enablelog.sh
Jul 19 19:29:42 playapologies sudo[9405]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:43 playapologies sudo[9405]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:43 playapologies sudo[9410]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf
Jul 19 19:29:43 playapologies sudo[9410]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:43 playapologies sudo[9410]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:43 playapologies sudo[9413]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/cp /tmp/dnsmasqdata /etc/dnsmasq.d/090_uap0.conf
Jul 19 19:29:43 playapologies sudo[9413]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:43 playapologies sudo[9413]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:43 playapologies sudo[9416]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/cp /tmp/dhcpddata /etc/dhcpcd.conf
Jul 19 19:29:43 playapologies sudo[9416]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:43 playapologies sudo[9416]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:43 playapologies sudo[9426]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/sbin/iw dev wlan0 set txpower fixed 0
Jul 19 19:29:43 playapologies sudo[9426]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:43 playapologies sudo[9426]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:43 playapologies sudo[9429]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/chmod o+r /tmp/hostapd.log
Jul 19 19:29:43 playapologies sudo[9429]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:43 playapologies sudo[9429]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:47 playapologies lighttpd[9494]: command failed: No such device (-19)
Jul 19 19:29:48 playapologies sudo[9504]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/chmod o+r /tmp/hostapd.log
Jul 19 19:29:48 playapologies sudo[9504]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:48 playapologies sudo[9504]: pam_unix(sudo:session): session closed for user root
Jul 19 19:29:49 playapologies lighttpd[9569]: command failed: No such device (-19)
Jul 19 19:29:49 playapologies sudo[9579]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/chmod o+r /tmp/hostapd.log
Jul 19 19:29:49 playapologies sudo[9579]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:29:50 playapologies sudo[9579]: pam_unix(sudo:session): session closed for user root
Jul 19 19:30:30 playapologies lighttpd[9661]: command failed: No such device (-19)
Jul 19 19:30:30 playapologies sudo[9664]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/etc/raspap/hostapd/servicestart.sh --interface uap0 --seconds 2
Jul 19 19:30:30 playapologies sudo[9664]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:30:31 playapologies systemd[1]: Stopping dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server...
Jul 19 19:30:31 playapologies dnsmasq[6095]: exiting on receipt of SIGTERM
Jul 19 19:30:31 playapologies systemd[1]: dnsmasq.service: Deactivated successfully.
Jul 19 19:30:31 playapologies systemd[1]: Stopped dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server.
Jul 19 19:30:31 playapologies systemd[1]: Reloading.
Jul 19 19:30:38 playapologies NetworkManager[372]: <info>  [1721442638.8813] device (uap0): driver supports Access Point (AP) mode
Jul 19 19:30:38 playapologies NetworkManager[372]: <info>  [1721442638.9537] manager: (uap0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/4)
Jul 19 19:30:39 playapologies systemd[1]: Starting hostapd.service - Access point and authentication server for Wi-Fi and Ethernet...
Jul 19 19:30:39 playapologies systemd[1]: Started hostapd.service - Access point and authentication server for Wi-Fi and Ethernet.
Jul 19 19:30:40 playapologies NetworkManager[372]: <info>  [1721442640.0470] device (uap0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Jul 19 19:30:40 playapologies kernel: ieee80211 phy0: brcmf_cfg80211_stop_ap: setting AP mode failed -52
Jul 19 19:30:40 playapologies kernel: ieee80211 phy0: brcmf_link_down: WLC_DISASSOC failed (-52)
Jul 19 19:30:40 playapologies wpa_supplicant[373]: wlan0: CTRL-EVENT-DISCONNECTED bssid=74:83:c2:7a:be:c6 reason=0 locally_generated=1
Jul 19 19:30:41 playapologies kernel: brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
Jul 19 19:30:41 playapologies wpa_supplicant[373]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Jul 19 19:30:41 playapologies wpa_supplicant[373]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
Jul 19 19:30:41 playapologies NetworkManager[372]: <info>  [1721442641.2983] device (wlan0): supplicant interface state: completed -> scanning
Jul 19 19:30:41 playapologies NetworkManager[372]: <info>  [1721442641.3023] device (p2p-dev-wlan0): supplicant management interface state: completed -> scanning
Jul 19 19:30:41 playapologies NetworkManager[372]: <info>  [1721442641.4485] device (uap0): supplicant interface state: internal-starting -> disconnected
Jul 19 19:30:41 playapologies NetworkManager[372]: <info>  [1721442641.4495] Wi-Fi P2P device controlled by interface uap0 created
Jul 19 19:30:41 playapologies NetworkManager[372]: <info>  [1721442641.4709] manager: (p2p-dev-uap0): new 802.11 Wi-Fi P2P device (/org/freedesktop/NetworkManager/Devices/5)
Jul 19 19:30:41 playapologies NetworkManager[372]: <info>  [1721442641.4938] device (p2p-dev-uap0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Jul 19 19:30:41 playapologies NetworkManager[372]: <info>  [1721442641.5189] device (uap0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Jul 19 19:30:41 playapologies NetworkManager[372]: <info>  [1721442641.5404] device (p2p-dev-uap0): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
Jul 19 19:30:42 playapologies systemd[1]: Starting dhcpcd.service - DHCP Client Daemon...
Jul 19 19:30:42 playapologies wpa_supplicant[373]: wlan0: Trying to associate with SSID 'darkwireless'
Jul 19 19:30:42 playapologies dhcpcd[9722]: dhcpcd-9.4.1 starting
Jul 19 19:30:42 playapologies ModemManager[377]: <info>  [base-manager] couldn't check support for device '/sys/devices/platform/soc/20300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1': not supported by any plugin
Jul 19 19:30:42 playapologies dhcpcd[9725]: dev: loaded udev
Jul 19 19:30:42 playapologies kernel: 8021q: 802.1Q VLAN Support v1.8
Jul 19 19:30:42 playapologies systemd[1]: Started dhcpcd.service - DHCP Client Daemon.
Jul 19 19:30:42 playapologies wpa_supplicant[373]: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16
Jul 19 19:30:43 playapologies NetworkManager[372]: <info>  [1721442643.4431] device (wlan0): supplicant interface state: scanning -> associating
Jul 19 19:30:43 playapologies NetworkManager[372]: <info>  [1721442643.4526] device (p2p-dev-wlan0): supplicant management interface state: scanning -> associating
Jul 19 19:30:43 playapologies dhcpcd[9725]: wlan0: waiting for carrier
Jul 19 19:30:43 playapologies dhcpcd[9725]: uap0: waiting for carrier
Jul 19 19:30:44 playapologies NetworkManager[372]: <info>  [1721442644.1995] device (wlan0): supplicant interface state: associating -> disconnected
Jul 19 19:30:44 playapologies NetworkManager[372]: <info>  [1721442644.2048] device (p2p-dev-wlan0): supplicant management interface state: associating -> disconnected
Jul 19 19:30:44 playapologies NetworkManager[372]: <info>  [1721442644.4317] device (wlan0): supplicant interface state: disconnected -> scanning
Jul 19 19:30:44 playapologies NetworkManager[372]: <info>  [1721442644.4466] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
Jul 19 19:30:44 playapologies wpa_supplicant[373]: wlan0: Trying to associate with SSID 'darkwireless'
Jul 19 19:30:45 playapologies wpa_supplicant[373]: wlan0: Associated with 74:83:c2:7a:be:c6
Jul 19 19:30:45 playapologies wpa_supplicant[373]: wlan0: CTRL-EVENT-CONNECTED - Connection to 74:83:c2:7a:be:c6 completed [id=0 id_str=]
Jul 19 19:30:45 playapologies dhcpcd[9725]: wlan0: carrier acquired
Jul 19 19:30:45 playapologies dhcpcd[9725]: wlan0: connected to Access Point: darkwireless
Jul 19 19:30:45 playapologies wpa_supplicant[373]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jul 19 19:30:45 playapologies wpa_supplicant[373]: uap0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=US
Jul 19 19:30:45 playapologies systemd[1]: Starting dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server...
Jul 19 19:30:45 playapologies audit[9724]: SECCOMP auid=4294967295 uid=106 gid=65534 ses=4294967295 pid=9724 comm="dhcpcd" exe="/usr/sbin/dhcpcd" sig=31 arch=40000028 syscall=384 compat=0 ip=0xb6e2d330 code=0x0
Jul 19 19:30:45 playapologies dhcpcd[9725]: DUID 00:01:00:01:2e:2d:dd:d5:b8:27:eb:98:e0:89
Jul 19 19:30:45 playapologies dhcpcd[9725]: wlan0: IAID eb:98:e0:89
Jul 19 19:30:45 playapologies kernel: audit: type=1326 audit(1721442645.300:2): auid=4294967295 uid=106 gid=65534 ses=4294967295 pid=9724 comm="dhcpcd" exe="/usr/sbin/dhcpcd" sig=31 arch=40000028 syscall=384 compat=0 ip=0xb6e2d330 code=0x0
Jul 19 19:30:45 playapologies systemd[1]: dhcpcd.service: Main process exited, code=killed, status=31/SYS
Jul 19 19:30:45 playapologies dhcpcd[9725]: ps_ctl_listen: read: Success
Jul 19 19:30:45 playapologies NetworkManager[372]: <info>  [1721442645.6711] device (wlan0): supplicant interface state: scanning -> associating
Jul 19 19:30:45 playapologies NetworkManager[372]: <info>  [1721442645.6937] device (p2p-dev-wlan0): supplicant management interface state: scanning -> associating
Jul 19 19:30:46 playapologies NetworkManager[372]: <info>  [1721442646.1149] device (wlan0): supplicant interface state: associating -> completed
Jul 19 19:30:46 playapologies NetworkManager[372]: <info>  [1721442646.1673] device (p2p-dev-wlan0): supplicant management interface state: associating -> completed
Jul 19 19:30:46 playapologies NetworkManager[372]: <info>  [1721442646.1677] device (wlan0): ip:dhcp4: restarting
Jul 19 19:30:46 playapologies NetworkManager[372]: <info>  [1721442646.1682] dhcp4 (wlan0): canceled DHCP transaction
Jul 19 19:30:46 playapologies NetworkManager[372]: <info>  [1721442646.1684] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Jul 19 19:30:46 playapologies NetworkManager[372]: <info>  [1721442646.1686] dhcp4 (wlan0): state changed no lease
Jul 19 19:30:46 playapologies NetworkManager[372]: <info>  [1721442646.1693] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Jul 19 19:30:46 playapologies dhcpcd[9725]: ps_sendcmdmsg: Connection refused
Jul 19 19:30:46 playapologies NetworkManager[372]: <info>  [1721442646.3247] dhcp4 (wlan0): state changed new lease, address=192.168.10.157
Jul 19 19:30:46 playapologies dhcpcd[9725]: ps_inet_recvbootp: Connection refused
Jul 19 19:30:46 playapologies dnsmasq[9765]: started, version 2.89 cachesize 150
Jul 19 19:30:46 playapologies dnsmasq[9765]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
Jul 19 19:30:46 playapologies dnsmasq[9765]: warning: interface uap0 does not currently exist
Jul 19 19:30:46 playapologies dnsmasq-dhcp[9765]: DHCP, IP range 192.168.50.50 -- 192.168.50.150, lease time 12h
Jul 19 19:30:46 playapologies dnsmasq[9765]: using nameserver 8.8.8.8#53
Jul 19 19:30:46 playapologies dnsmasq[9765]: no servers found in /etc/resolv.conf, will retry
Jul 19 19:30:46 playapologies dnsmasq[9765]: read /etc/hosts - 7 names
Jul 19 19:30:46 playapologies dbus-daemon[307]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.7' (uid=0 pid=372 comm="/usr/sbin/NetworkManager --no-daemon")
Jul 19 19:30:46 playapologies systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
Jul 19 19:30:47 playapologies systemd[1]: Started dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server.
Jul 19 19:30:47 playapologies dbus-daemon[307]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul 19 19:30:47 playapologies systemd[1]: Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service.
Jul 19 19:30:49 playapologies wpa_supplicant[373]: wlan0: Trying to associate with SSID 'darkwireless'
Jul 19 19:30:49 playapologies sudo[9664]: pam_unix(sudo:session): session closed for user root
Jul 19 19:30:49 playapologies NetworkManager[372]: <info>  [1721442649.6709] device (wlan0): supplicant interface state: completed -> associating
Jul 19 19:30:49 playapologies NetworkManager[372]: <info>  [1721442649.6739] device (p2p-dev-wlan0): supplicant management interface state: completed -> associating
Jul 19 19:30:49 playapologies wpa_supplicant[373]: wlan0: Associated with 74:83:c2:7a:be:c6
Jul 19 19:30:49 playapologies wpa_supplicant[373]: wlan0: CTRL-EVENT-CONNECTED - Connection to 74:83:c2:7a:be:c6 completed [id=0 id_str=]
Jul 19 19:30:49 playapologies wpa_supplicant[373]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jul 19 19:30:49 playapologies NetworkManager[372]: <info>  [1721442649.7893] device (wlan0): supplicant interface state: associating -> completed
Jul 19 19:30:49 playapologies NetworkManager[372]: <info>  [1721442649.8045] device (p2p-dev-wlan0): supplicant management interface state: associating -> completed
Jul 19 19:30:49 playapologies sudo[9788]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/sbin/iw dev wlan0 set txpower fixed 0
Jul 19 19:30:49 playapologies sudo[9788]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:30:49 playapologies sudo[9788]: pam_unix(sudo:session): session closed for user root
Jul 19 19:30:49 playapologies sudo[9791]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/chmod o+r /tmp/hostapd.log
Jul 19 19:30:49 playapologies sudo[9791]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:30:49 playapologies sudo[9791]: pam_unix(sudo:session): session closed for user root
Jul 19 19:30:57 playapologies systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Jul 19 19:30:59 playapologies sudo[9852]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/usr/bin/vnstat --add --iface uap0
Jul 19 19:30:59 playapologies sudo[9852]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:30:59 playapologies sudo[9852]: pam_unix(sudo:session): session closed for user root
Jul 19 19:30:59 playapologies lighttpd[9860]: Usage: grep [OPTION]... PATTERNS [FILE]...
Jul 19 19:30:59 playapologies lighttpd[9860]: Try 'grep --help' for more information.

hotspot log after Start Hotspot before Reboot:

uap0: interface state UNINITIALIZED->COUNTRY_UPDATE
uap0: interface state COUNTRY_UPDATE->ENABLED
uap0: AP-ENABLED 
uap0: INTERFACE-DISABLED 
uap0: INTERFACE-ENABLED 
nl80211: kernel reports: key not allowed
Failed to set beacon parameters

Interfaces after Start Hotspot before Reboot:
root@playapologies:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b8:27:eb:98:e0:89 brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.157/24 brd 192.168.10.255 scope global dynamic noprefixroute wlan0
       valid_lft 6064sec preferred_lft 6064sec
    inet6 fe80::cc95:2a52:697d:ebc2/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: uap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether ba:27:eb:38:e0:89 brd ff:ff:ff:ff:ff:ff

Debug Log after Start Hotspot before Reboot:

   888888ba                              .d888888   888888ba
   88     8b                            d8     88   88     8b
  a88aaaa8P' .d8888b. .d8888b. 88d888b. 88aaaaa88a a88aaaa8P
   88    8b. 88    88 Y8ooooo. 88    88 88     88   88
   88     88 88.  .88       88 88.  .88 88     88   88
   dP     dP  88888P8  88888P  88Y888P  88     88   dP
                               88
                               dP     Debug Log Generator 1.0

This process collects debug and troubleshooting information about your RaspAP installation.
It is intended to assist users with a self-diagnosis of their installations, as well as
provide useful information as a starting point for others to assist with troubleshooting.
Debug log information contains the RaspAP version, current state and configuration of AP
related services, relevant installed package versions, Linux kernel version and local
networking configuration details.

If you wish to share your debug info, paste the output to one of the following:
  https://pastebin.com/
  https://paste.ubuntu.com/

Please do NOT paste the log in its entirety to RaspAP's discussions, issues or other
support channels. Use one of the above links instead.

DISCLAIMER: This log DOES contain details about your system, including networking
settings. However, NO passwords or other sensitive data are included in the debug output.
========================================================================================

Debug log generation started at Fri Jul 19 19:33:12 PDT 2024

System Info
===========
Hardware: Raspberry Pi Zero W Rev 1.1
Detected OS: Raspbian GNU/Linux 12 (bookworm) 32-bit
Kernel: Linux playapologies 6.6.31+rpt-rpi-v6 #1 Raspbian 1:6.6.31-1+rpt1 (2024-05-29) armv6l GNU/Linux
System Uptime: 0 days, 0 hours, 22 minutes
Memory Usage: 27.4005%

Installed Packages
==================
PHP Version: 8.2.7 (cli) (built: Jul 20 2023 18:02:54) (NTS)
Dnsmasq Version: 2.89
dhcpcd Version: 9.4.1
lighttpd Version: 1.4.69
vnStat Version: 2.10

RaspAP Install
==============
RaspAP Version: 3.1.4
RaspAP Installation Directory: /var/www/html
RaspAP hostapd.ini contents:
WifiInterface = uap0
LogEnable = 1
WifiAPEnable = 1
BridgedEnable = 0
WifiManaged = wlan0
RaspAP provider.ini: Not present

USB Devices
===========
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

rfkill
======
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

WPA Supplicant
==============
Selected interface 'wlan0'
bssid=74:83:c2:7a:be:c6
freq=2412
ssid=darkwireless
id=0
mode=station
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
ip_address=192.168.10.157
p2p_device_address=ba:27:eb:98:e0:89
address=b8:27:eb:98:e0:89
uuid=073d2025-f4f2-54f7-95d7-6d7d9044a591

Dnsmasq Contents
================
/etc/dnsmasq.d/090_uap0.conf

/etc/dnsmasq.d/090_uap0.conf contents:
# RaspAP uap0 configuration
interface=lo,uap0               # Enable uap0 interface for wireless client AP mode
bind-dynamic                    # Hybrid between --bind-interfaces and default
server=8.8.8.8                  # Forward DNS requests to Google DNS
domain-needed                   # Don't forward short names
bogus-priv                      # Never forward addresses in the non-routed address spaces
dhcp-range=192.168.50.50,192.168.50.150,12h$

Dhcpcd Contents
===============
# RaspAP default configuration
hostname
clientid
persistent
option rapid_commit
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option ntp_servers
require dhcp_server_identifier
slaac private
nohook lookup-hostname

# RaspAP uap0 configuration
interface uap0
static ip_address=192.168.50.1/24
nohook wpa_supplicant

Interfaces
==========
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether b8:27:eb:98:e0:89 brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.157/24 brd 192.168.10.255 scope global dynamic noprefixroute wlan0
       valid_lft 5936sec preferred_lft 5936sec
    inet6 fe80::cc95:2a52:697d:ebc2/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
3: uap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether ba:27:eb:38:e0:89 brd ff:ff:ff:ff:ff:ff

Routing Table
=============
default via 192.168.10.1 dev wlan0 proto dhcp src 192.168.10.157 metric 600
192.168.10.0/24 dev wlan0 proto kernel scope link src 192.168.10.157 metric 600

IW Device Info
==============
phy#0
    Interface uap0
        ifindex 3
        wdev 0x3
        addr ba:27:eb:38:e0:89
        type managed
        channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
        txpower 0.00 dBm
    Unnamed/non-netdev interface
        wdev 0x2
        addr ba:27:eb:98:e0:89
        type P2P-device
        txpower 0.00 dBm
    Interface wlan0
        ifindex 2
        wdev 0x1
        addr b8:27:eb:98:e0:89
        ssid darkwireless
        type managed
        channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
        txpower 0.00 dBm

IW Regulatory Info
==================
global
country US: DFS-FCC
    (902 - 904 @ 2), (N/A, 30), (N/A)
    (904 - 920 @ 16), (N/A, 30), (N/A)
    (920 - 928 @ 8), (N/A, 30), (N/A)
    (2400 - 2472 @ 40), (N/A, 30), (N/A)
    (5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
    (5250 - 5350 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
    (5470 - 5730 @ 160), (N/A, 24), (0 ms), DFS
    (5730 - 5850 @ 80), (N/A, 30), (N/A), AUTO-BW
    (5850 - 5895 @ 40), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW, PASSIVE-SCAN
    (5925 - 7125 @ 320), (N/A, 12), (N/A), NO-OUTDOOR, PASSIVE-SCAN
    (57240 - 71000 @ 2160), (N/A, 40), (N/A)

phy#0
country 99: DFS-UNSET
    (2402 - 2482 @ 40), (6, 20), (N/A)
    (2474 - 2494 @ 20), (6, 20), (N/A)
    (5140 - 5360 @ 160), (6, 20), (N/A)
    (5460 - 5860 @ 160), (6, 20), (N/A)

Systemd Services
================
hostapd status:
● hostapd.service - Access point and authentication server for Wi-Fi and Ethernet
     Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-07-19 19:30:39 PDT; 2min 33s ago
       Docs: man:hostapd(8)
    Process: 9706 ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=0/SUCCESS)
   Main PID: 9714 (hostapd)
      Tasks: 1 (limit: 387)
        CPU: 281ms
     CGroup: /system.slice/hostapd.service
             └─9714 /usr/sbin/hostapd -B -P /run/hostapd.pid -f /tmp/hostapd.log /etc/hostapd/hostapd.conf

Jul 19 19:30:39 playapologies systemd[1]: Starting hostapd.service - Access point and authentication server for Wi-Fi and Ethernet...
Jul 19 19:30:39 playapologies systemd[1]: Started hostapd.service - Access point and authentication server for Wi-Fi and Ethernet.

dnsmasq status:
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
     Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-07-19 19:30:47 PDT; 2min 26s ago
    Process: 9751 ExecStartPre=/etc/init.d/dnsmasq checkconfig (code=exited, status=0/SUCCESS)
    Process: 9758 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS)
    Process: 9766 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS)
   Main PID: 9765 (dnsmasq)
      Tasks: 1 (limit: 387)
        CPU: 505ms
     CGroup: /system.slice/dnsmasq.service
             └─9765 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,20326,8,2,e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d

Jul 19 19:30:45 playapologies systemd[1]: Starting dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server...
Jul 19 19:30:46 playapologies dnsmasq[9765]: started, version 2.89 cachesize 150
Jul 19 19:30:46 playapologies dnsmasq[9765]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
Jul 19 19:30:46 playapologies dnsmasq[9765]: warning: interface uap0 does not currently exist
Jul 19 19:30:46 playapologies dnsmasq-dhcp[9765]: DHCP, IP range 192.168.50.50 -- 192.168.50.150, lease time 12h
Jul 19 19:30:46 playapologies dnsmasq[9765]: using nameserver 8.8.8.8#53
Jul 19 19:30:46 playapologies dnsmasq[9765]: no servers found in /etc/resolv.conf, will retry
Jul 19 19:30:46 playapologies dnsmasq[9765]: read /etc/hosts - 7 names
Jul 19 19:30:47 playapologies systemd[1]: Started dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server.

dhcpcd status:
● dhcpcd.service - DHCP Client Daemon
     Loaded: loaded (/lib/systemd/system/dhcpcd.service; enabled; preset: enabled)
     Active: deactivating (stop-sigterm) (Result: signal) since Fri 2024-07-19 19:32:16 PDT; 57s ago
       Docs: man:dhcpcd(8)
    Process: 10024 ExecStart=/usr/sbin/dhcpcd -b -q (code=exited, status=0/SUCCESS)
   Main PID: 10026 (code=killed, signal=SYS)
      Tasks: 2 (limit: 387)
        CPU: 176ms
     CGroup: /system.slice/dhcpcd.service
             ├─10027 "dhcpcd: [privileged proxy]"
             └─10028 "dhcpcd: [network proxy]"

Jul 19 19:32:15 playapologies dhcpcd[10024]: main: control_open: Connection refused
Jul 19 19:32:15 playapologies dhcpcd[10024]: dhcpcd-9.4.1 starting
Jul 19 19:32:15 playapologies dhcpcd[10027]: dev: loaded udev
Jul 19 19:32:15 playapologies dhcpcd[10027]: DUID 00:01:00:01:2e:2d:dd:d5:b8:27:eb:98:e0:89
Jul 19 19:32:15 playapologies systemd[1]: Started dhcpcd.service - DHCP Client Daemon.
Jul 19 19:32:16 playapologies dhcpcd[10027]: wlan0: connected to Access Point: darkwireless
Jul 19 19:32:16 playapologies dhcpcd[10027]: wlan0: IAID eb:98:e0:89
Jul 19 19:32:16 playapologies systemd[1]: dhcpcd.service: Main process exited, code=killed, status=31/SYS
Jul 19 19:32:16 playapologies dhcpcd[10027]: ps_ctl_listen: read: Success
Jul 19 19:32:16 playapologies dhcpcd[10027]: ps_ctl_recv: read: Success

systemd-networkd status:
○ systemd-networkd.service - Network Configuration
     Loaded: loaded (/lib/systemd/system/systemd-networkd.service; disabled; preset: enabled)
     Active: inactive (dead)
TriggeredBy: ○ systemd-networkd.socket
       Docs: man:systemd-networkd.service(8)
             man:org.freedesktop.network1(5)

wg-quick@wg0 status:

openvpn-client@client status:

lighttpd status:
● lighttpd.service - Lighttpd Daemon
     Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-07-19 19:21:01 PDT; 12min ago
   Main PID: 8100 (lighttpd)
      Tasks: 11 (limit: 387)
        CPU: 33.177s
     CGroup: /system.slice/lighttpd.service
             ├─ 8100 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
             ├─ 8723 /usr/bin/php-cgi
             ├─ 8724 /usr/bin/php-cgi
             ├─ 8725 /usr/bin/php-cgi
             ├─ 8726 /usr/bin/php-cgi
             ├─ 8727 /usr/bin/php-cgi
             ├─10176 sh -c "sudo /etc/raspap/system/debuglog.sh -i /var/www/html"
             ├─10177 sudo /etc/raspap/system/debuglog.sh -i /var/www/html
             ├─10178 /bin/bash /etc/raspap/system/debuglog.sh -i /var/www/html
             ├─10301 /bin/bash /etc/raspap/system/debuglog.sh -i /var/www/html
             └─10302 systemctl status lighttpd

Jul 19 19:31:45 playapologies sudo[9926]: pam_unix(sudo:session): session closed for user root
Jul 19 19:32:14 playapologies sudo[10001]: www-data : PWD=/var/www/html ; USER=root ; COMMAND=/bin/chmod o+r /tmp/hostapd.log
Jul 19 19:32:14 playapologies sudo[10001]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:32:14 playapologies sudo[10001]: pam_unix(sudo:session): session closed for user root
Jul 19 19:32:16 playapologies lighttpd[10081]: Usage: grep [OPTION]... PATTERNS [FILE]...
Jul 19 19:32:16 playapologies lighttpd[10081]: Try 'grep --help' for more information.
Jul 19 19:33:12 playapologies sudo[10177]: www-data : PWD=/var/www/html/ajax/system ; USER=root ; COMMAND=/etc/raspap/system/debuglog.sh -i /var/www/html
Jul 19 19:33:12 playapologies sudo[10177]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Jul 19 19:33:14 playapologies lighttpd[10298]: Unit wg-quick@wg0.service could not be found.
Jul 19 19:33:14 playapologies lighttpd[10300]: Unit openvpn-client@client.service could not be found.

RaspAP debug log generation complete.
Drizzt321 commented 2 months ago

Ok, interesting. After much trying many things, I've changed a few bits.

First, in the /etc/raspap/hostapd/servicestartstop.sh I've added the following line where it creates the uap0 interface:

ip address add 192.168.55.1/24 dev uap0 (I modified the DHCP server settings to use 192.168.55.0).

And in /etc/network/interfaces add

auto uap0
iface uap0 inet static
        address 192.168.55.1/24
        pre-up iw dev wlan0 interface add uap0 type __ap
        pre-up ifconfig uap0 up
        up ip address add 192.168.55.1/24 dev uap0

After doing those 2 things, it boots, and then takes another minute or two, and then seems the raspapd.service runs again, and restarts the bits, hostapd, etc, and it's up and running and available to use.

billz commented 2 months ago

As stated in the docs, this mode is experimental and completely unsupported

Drizzt321 commented 2 months ago

@billz you're referring to the AP-STA mode docs https://docs.raspap.com/ap-sta ? And just because it's marked as experimental means there's no bug fixes/support at all? I'd think the project would want to move towards it being fully supported eventually.

billz commented 2 months ago

Won't happen. Many users failed to follow the steps and reported bugs like this one when AP-STA didn't work for them. For this reason, there's absolutely zero support.