2026-10-20, 10:36 PM
I've been trying to get Openplotter to work on my pi5 for months with little success. The issue is the wifi it just won't connect. I've been using google antigravity to try and solve it. It seems to finally managed to get it to connect, but i am still struggling to get it to see some wifi networks. It really should not be this difficult or buggy. I am using stock everything, pi5 with the standard openplotter images. It works fine on my pi400 with the same network. Here is the summary from Antigravity:
Hardware / OS:
Raspberry Pi 5
OpenPlotter v4 Touchscreen Edition (Debian Bookworm 64-bit, Wayland/labwc)
MacArthur HAT
Router: 4G/LTE WebPocket (WPA2-Personal, 2.4 GHz)
Symptoms:
When attempting to connect to an existing Wi-Fi network (hotspot/router) via the desktop GUI or nmcli, the connection repeatedly fails with a continuous password prompt loop, despite entering the correct PSK.
The Pi often falls back to an open or previously saved AP, but will not authenticate with the primary router.
If the root filesystem is expanded post-install or rebooted, GUI network profiles fail to negotiate the WPA2 handshake.
Root Causes Identified:
hostapd / openplotter-networkd contention: OpenPlotter's background daemon attempts to manage access point mode on wlan0. When trying to use client Wi-Fi mode, the AP service continues to bind or interfere with the interface, interrupting NetworkManager's 4-way authentication handshake.
MAC Address Randomization: Debian Bookworm / NetworkManager defaults to scanning and connecting with randomized MAC addresses. Many mobile routers / pocket hotspots (e.g. ZTE, Huawei, WebPocket) drop DHCP or reject associations from randomized MACs.
PMF (Protected Management Frames) Mismatch: The default NetworkManager GUI profile on Bookworm can enforce PMF requirements (pmf=2 / required or strict negotiation) that legacy 802.11n routers do not support, causing silent handshake timeouts that surface as "incorrect password".
Regulatory Domain (cfg80211): A mismatch between the router's broadcast regulatory country code and the Pi's Wi-Fi country code causes kernel-level rejection of bonded 20MHz/40MHz channels.
Resolution / Workaround:
Disable MAC randomization in NetworkManager: /etc/NetworkManager/conf.d/80-no-random-mac.conf:
ini
[device]
wifi.scan-rand-mac-address=no
[connection]
wifi.cloned-mac-address=preserve
Disable/mask conflicting OpenPlotter AP services when running purely in client mode:
bash
sudo systemctl stop hostapd openplotter-network openplotter-networkd
sudo systemctl disable hostapd openplotter-network openplotter-networkd
sudo systemctl mask hostapd openplotter-network openplotter-networkd
Set PMF to optional (pmf=1) in the connection keyfile: In /etc/NetworkManager/system-connections/<SSID>.nmconnection:
ini
[wifi-security]
key-mgmt=wpa-psk
psk=<PASSWORD>
pmf=1
Align Wi-Fi country code in raspi-config (do_wifi_country) with the router's broadcast domain.
Hardware / OS:
Raspberry Pi 5
OpenPlotter v4 Touchscreen Edition (Debian Bookworm 64-bit, Wayland/labwc)
MacArthur HAT
Router: 4G/LTE WebPocket (WPA2-Personal, 2.4 GHz)
Symptoms:
When attempting to connect to an existing Wi-Fi network (hotspot/router) via the desktop GUI or nmcli, the connection repeatedly fails with a continuous password prompt loop, despite entering the correct PSK.
The Pi often falls back to an open or previously saved AP, but will not authenticate with the primary router.
If the root filesystem is expanded post-install or rebooted, GUI network profiles fail to negotiate the WPA2 handshake.
Root Causes Identified:
hostapd / openplotter-networkd contention: OpenPlotter's background daemon attempts to manage access point mode on wlan0. When trying to use client Wi-Fi mode, the AP service continues to bind or interfere with the interface, interrupting NetworkManager's 4-way authentication handshake.
MAC Address Randomization: Debian Bookworm / NetworkManager defaults to scanning and connecting with randomized MAC addresses. Many mobile routers / pocket hotspots (e.g. ZTE, Huawei, WebPocket) drop DHCP or reject associations from randomized MACs.
PMF (Protected Management Frames) Mismatch: The default NetworkManager GUI profile on Bookworm can enforce PMF requirements (pmf=2 / required or strict negotiation) that legacy 802.11n routers do not support, causing silent handshake timeouts that surface as "incorrect password".
Regulatory Domain (cfg80211): A mismatch between the router's broadcast regulatory country code and the Pi's Wi-Fi country code causes kernel-level rejection of bonded 20MHz/40MHz channels.
Resolution / Workaround:
Disable MAC randomization in NetworkManager: /etc/NetworkManager/conf.d/80-no-random-mac.conf:
ini
[device]
wifi.scan-rand-mac-address=no
[connection]
wifi.cloned-mac-address=preserve
Disable/mask conflicting OpenPlotter AP services when running purely in client mode:
bash
sudo systemctl stop hostapd openplotter-network openplotter-networkd
sudo systemctl disable hostapd openplotter-network openplotter-networkd
sudo systemctl mask hostapd openplotter-network openplotter-networkd
Set PMF to optional (pmf=1) in the connection keyfile: In /etc/NetworkManager/system-connections/<SSID>.nmconnection:
ini
[wifi-security]
key-mgmt=wpa-psk
psk=<PASSWORD>
pmf=1
Align Wi-Fi country code in raspi-config (do_wifi_country) with the router's broadcast domain.

